Файл: public/panel/index.php
Строк: 14
<?php
# Author: Oleg Kulaga (Cyber_Shot);
# Package: WGame Engine;
# Version: 0.1;
define("APP", true);
# Connect config;
require_once ('../../app/config.php');
# Check user auth;
user_auth(1);
$user = DB::$dbs -> queryFetch("SELECT `access` FROM ". USERS ." WHERE `id` = ?", [$_SESSION['userId']]);
if (empty($user['access']))
{
header("Location: ". DS.HOME.DS. "wgame.main");
exit();
}
view_header('Панель управления');
?>
<div class="block">
<a href="<?=DS.HOME.DS?>wgame.panel.modules" class="touchLink"> Управление модулями</a>
</div>
<?php
view_footer();