4get/index.php

15 lines
240 B
PHP
Raw Normal View History

2023-07-22 18:41:14 +00:00
<?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)]
]
);