-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmaintenance.php
40 lines (36 loc) · 1.15 KB
/
maintenance.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
<?php
include("config.php");
$siteConfig = new Config();
if(!isset($_GET["simulate"])) {
if(!$siteConfig::underMaintenance) header('Location: /');
}
?>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="/res/style.css?<?php echo rand(0, 99); ?>">
<body background="/images/maintenance.gif">
<style type="text/css">
body {
}
.flip {
transform: scaleX(-1);
}
</style>
<hr>
<div class="container">
<div class="jumbotron" style="background: rgba(255, 255, 255, 0.8)">
<h1 class="display-1">Under Maintenance</h1>
<h3><?php echo $siteConfig::maintenanceMessage; ?></h3>
</div>
</div>
<marquee direction="right">
<img height="60px" src="/images/nyan.gif" />
</marquee>
<marquee direction="right" class="flip">
<img height="60px" src="/images/nyan.gif" />
</marquee>
<marquee direction="right">
<img height="60px" src="/images/nyan.gif" />
</marquee>
<marquee direction="right"class="flip">
<img height="60px" src="/images/nyan.gif" />
</marquee>