1
Fork 0
forked from Korbs/4get
NarviSearch/index.php

16 lines
300 B
PHP
Raw Normal View History

2023-07-22 14:41:14 -04:00
<?php
2023-11-07 08:04:56 -05:00
include "data/config.php";
2023-07-22 14:41:14 -04:00
include "lib/frontend.php";
$frontend = new frontend();
$images = glob("banner/*");
echo $frontend->load(
"home.html",
[
2023-11-07 08:04:56 -05:00
"server_short_description" => htmlspecialchars(config::SERVER_SHORT_DESCRIPTION),
2023-07-22 14:41:14 -04:00
"banner" => $images[rand(0, count($images) - 1)]
]
);