forked from cmllr/redundancy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
61 lines (56 loc) · 2.09 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
error_reporting(E_ALL);
if (!file_exists("./lock"))
{
header("Location: install.php");
exit;
}
require './nys/Nys.Router.php';
$router = new \Redundancy\Nys\Router();
ob_start();
//Set the cookies if needed
$router->CookieInteraction();
?>
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- jQuery -->
<script src="./Lib/jQuery/jquery-1.10.2.min.js"></script>
<!-- FontAwesome -->
<link rel="stylesheet" href="./Lib/FontAwesome/css/font-awesome.css">
<!-- jQuery UI -->
<script src="./Lib/jQuery/UI/jquery-ui.min.js"></script>
<link rel="stylesheet" href="./Lib/jQuery/UI/jquery-ui.min.css">
<!-- jQuery Context Menu -->
<script src='./Lib/jQuery/jquery.contextMenu.js'></script>
<script src='./Lib/jQuery/jquery.ui.position.js'></script>
<link rel="stylesheet" href="./Lib/jQuery/jquery.contextMenu.css">
<!-- Spin.js -->
<script src='./Lib/spin.min.js'></script>
<!-- Dropzone.js -->
<script src='./Lib/Dropzone.js/dropzone.js' charset='UTF-8'></script>
<link rel='stylesheet' href='Lib/Dropzone.js/css/dropzone.css' type='text/css' />
<!-- Bootstrap -->
<link rel='stylesheet' href='./Lib/Lenticularis/css/theme.min.css' type='text/css' />
<script src='./Lib/Bootstrap/js/bootstrap.min.js'></script>
<!-- Bootstrap Slider -->
<link rel='stylesheet' href='./Lib/Bootstrap-slider/bootstrap-slider.css' type='text/css' />
<script src='./Lib/Bootstrap-slider/bootstrap-slider.js'></script>
<!-- Others -->
<link rel='stylesheet' href='./nys/Views/css/nys.css' type='text/css' />
<script src='./nys/Views/js/Nys.Files.js'></script>
<script src='./nys/Views/js/Nys.Dialogs.js'></script>
<link rel="icon" type="image/png" href="./nys/Views/img/favicon.png">
<script src='./Lib/jQuery.Bootstrap/jquery.bootstrap.min.js'></script>
<title>Redundancy</title>
</head>
<body>
<div class='container'>
<div class='row'>
<?php
$router->Route($_SERVER['REQUEST_URI']); ?>
</div>
</div>
</body>
</html>