mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-11-01 17:36:51 -05:00
15 lines
240 B
PHP
15 lines
240 B
PHP
|
<?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)]
|
||
|
]
|
||
|
);
|