diff options
Diffstat (limited to 'about.php')
-rw-r--r-- | about.php | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/about.php b/about.php new file mode 100644 index 0000000..b0bb65c --- /dev/null +++ b/about.php @@ -0,0 +1,39 @@ +<?php + +include "data/config.php"; +include "lib/frontend.php"; +$frontend = new frontend(); + +echo + $frontend->load( + "header_nofilters.html", + [ + "title" => "About", + "class" => " class=\"about\"" + ] + ); + +$left = + explode( + "\n", + file_get_contents("template/about.html") + ); + +$out = ""; + +foreach($left as $line){ + + $out .= trim($line); +} + +echo + $frontend->load( + "search.html", + [ + "timetaken" => null, + "class" => "", + "right-left" => "", + "right-right" => "", + "left" => $out + ] + ); |