Archived
1
Fork 0
forked from Korbs/4get
This repository has been archived on 2024-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
NarviSearch/index.php

16 lines
300 B
PHP
Raw Permalink Normal View History

2023-07-22 13:41:14 -05:00
<?php
2023-11-07 08:04:56 -05:00
include "data/config.php";
2023-07-22 13:41:14 -05: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 13:41:14 -05:00
"banner" => $images[rand(0, count($images) - 1)]
]
);