-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
47 lines (43 loc) · 2.23 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
include_once (dirname ( __FILE__ ) . "/functions.php");
setupTables ();
$fdate = newestFile ( dirname ( __FILE__ ) . "/." );
$jsdate = newestFile ( dirname ( __FILE__ ) . "/js" );
$cssdate = newestFile ( dirname ( __FILE__ ) . "/css" );
$apidate = newestFile ( dirname ( __FILE__ ) . "/api" );
?><!doctype html>
<html>
<head>
<base href="/">
<title><?php global $loc, $app_title; echo $loc ." - ". $app_title ?></title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" href="gfx/rhino.png?<?php echo $fdate[0] ?>" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato&display=swap" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css" />
<link rel="stylesheet" href="css/app.<?php stylesheetPayload() ?>.css?<?php echo $cssdate[0] ?>" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.8/angular.min.js"></script>
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.7.8/angular-route.min.js'></script>
<!-- <script src='https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.bundle.min.js'></script> -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.27.0/moment.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js'></script>
<script src='js/app.<?php javascriptPayload() ?>.js?<?php echo $jsdate[0] ?>'></script>
<script>
var app_id = '<?php echo getAppId() ?>';
var build_date = '<?php echo date("Y/m/d H:i:s", $fdate[0]) ?>';
var app_version = '<?php echo getAppVersion() ?>';
var api_build_date = '<?php echo date("Y/m/d H:i:s", $apidate[0]) ?>';
var api_build_date_raw = '<?php echo $apidate[0] ?>';
</script>
</head>
<body id="njp" data-ng-app="myApp">
<div id="page-loading">
<img src="/gfx/ajax-loader-bar.gif" alt="Page loading" />
<p>Please wait while the page loads...</p>
</div>
<div id="page-loaded" data-ng-view></div>
<div id="snackbar"></div>
</body>
</html>