-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmaint.php
More file actions
executable file
·34 lines (26 loc) · 868 Bytes
/
Copy pathmaint.php
File metadata and controls
executable file
·34 lines (26 loc) · 868 Bytes
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
<html>
<head>
<meta http-equiv="Refresh" content="300, URL=https://chookiat.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<Title> ... Upgrade Website in Progress ... </title>
</head>
<body>
<font color=red>
<div align=center valign=center><img src="https://chookiat.com/images/PC.gif"> </div>
<h1 align=center>Website is under maintenance</h1>
<?php
date_default_timezone_set('Asia/Bangkok');
$filestamp = filectime("maint.txt");
$startdt= date("j F Y\nH:i T", $filestamp);
$currt = date("H:i");
$currd = date("D j F Y");
$content = "<h3 align=center>";
$content .= "The maintenance start from ".$startdt."<br>";
$content .= "and expected to finish within 8 hours.<br>";
$content .="It is at ".$currt." on ".$currd."</h3>";
echo $content;
?>
</font>
<h5 align=center>This page is reloading every 300 seconds.</h5>
</body>
</html>