diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/index.php b/index.php new file mode 100644 index 0000000..be9897f --- /dev/null +++ b/index.php @@ -0,0 +1,14 @@ +<?php + +include "lib/frontend.php"; +$frontend = new frontend(); + +$images = glob("banner/*"); + +echo $frontend->load( + "home.html", + [ + "body_class" => $frontend->getthemeclass(false), + "banner" => $images[rand(0, count($images) - 1)] + ] +); |