mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-12-24 23:56:34 -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)]
|
||
|
]
|
||
|
);
|