4get/index.php

16 lines
300 B
PHP
Raw Normal View History

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