You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
704 B
PHP
22 lines
704 B
PHP
<?php
|
|
require_once __DIR__ . "/required.php";
|
|
|
|
require_once __DIR__ . "/routes.php";
|
|
|
|
?>
|
|
<!DOCTYPE html>
|
|
<meta charset="UTF-8">
|
|
<title><?php echo SITE_TITLE; ?></title>
|
|
<link href="https://static.netsyms.net/bootstrap/4/bootstrap.materia.min.css" rel="stylesheet" />
|
|
<script src="https://static.netsyms.net/jquery/jquery-3.3.1.slim.min.js"></script>
|
|
<script src="https://static.netsyms.net/bootstrap/4/bootstrap.min.js"></script>
|
|
<script async defer src="https://static.netsyms.net/fontawesome/5.0/fontawesome-all.min.js"></script>
|
|
|
|
<?php
|
|
|
|
if (empty($_GET['page'])) {
|
|
include __DIR__ . "/routes/" . Routes::getRoute();
|
|
} else {
|
|
include __DIR__ . "/routes/" . Routes::getRoute($_GET['page']);
|
|
}
|
|
?>
|