imprint.php 454 B

12345678910111213141516171819202122
  1. <?php
  2. include("header.php");
  3. $config = parse_ini_file('../config.ini',true);
  4. ?>
  5. <main id="main">
  6. <article id="article">
  7. <h2><?=_('Imprint')?></h2>
  8. <?php
  9. if(file_exists("../config/imprint.txt")) {
  10. $imprint = explode("\n",file_get_contents("../config/imprint.txt"));
  11. $imprint[0] = "<b>".$imprint[0]."</b>";
  12. $imprint = implode("\n",$imprint);
  13. echo nl2br($imprint);
  14. }
  15. else {
  16. echo _("Imprint not set!");
  17. }
  18. ?>
  19. </article>
  20. </main>
  21. <?php include("footer.php") ?>