forked from ragnarokdev69/oboro_web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
47 lines (41 loc) · 1.06 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
session_start();
if (isset($_GET['session_destroy']) && $_GET['session_destroy'] == 'true')
{
session_destroy();
header('Location: index.php');
}
if (!file_exists('libs/config.php'))
{
header('Location: modules/install/installer.php');
exit;
}
require_once('libs/controller.php');
$time = explode(' ', microtime());
$start = $time[1] + $time[0];
?>
<!DOCTYPE html>
<html lang="en">
<?php include_once('modules/structure/header.php'); ?>
<body>
<div class="loader">
<img src="img/ajax_loading.gif" alt="Loading...">
</div>
<div class="wrapper">
<?php include_once('modules/structure/sv_status.php'); ?>
<div class="logo">
<a href="<?php echo $CONFIG->getConfig('Web'); ?>"><img src="img/oboro_logo.png"></a>
</div>
<div class="menu">
<?php include_once('modules/structure/menu.php'); ?>
</div>
<div id="main_div">
<?php
include_once($NRM->IncludeModule());
?>
</div>
<?php include_once('modules/structure/ranking.footer.php'); ?>
</div>
<?php include_once('modules/structure/footer.php'); ?>
</body>
</html>