-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
141 lines (84 loc) · 2.4 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?php
/*
* Copyright (c) 2016-2017 Barchampas Gerasimos <http://makbox.co.nf/>
* Makbox is a personal (staas) cloud.
*
* Makbox is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
*
* Makbox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License, version 3,
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
session_start();
?>
<html>
<head>
<title> Makbox </title>
<link rel="shortcut icon" href="/photos/menu/cloud_tit.png" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link rel="stylesheet" type="text/css" href="index.css">
<script type = 'text/javascript'>
function changeHashOnLoad()
{
window.location.href += '#';
setTimeout('changeHashAgain()', '50');
}
function changeHashAgain()
{
window.location.href += '1';
}
var storedHash = window.location.hash;
window.setInterval(function ()
{
if (window.location.hash != storedHash) {
window.location.hash = storedHash;
}
}, 50);
window.onload=changeHashOnLoad;
</script>
</head>
<body id="body">
<div align="center" bgcolor="#123863">
<font color="#123863" size="6"> <b> Makbox </b> </font>
<hr id="hr1">
</div>
<div id="header">
</div>
<div align="center">
<h3> <font color="black" size="5"> <b> Installation step by step </b> </font> </h3>
</div>
<br>
<div id="but">
<div align="center">
<br><br><br>
<form action="" method="post">
<input type="submit" name="submit_start" id="start" value="Next">
</form>
</div>
</div>
<div class="footer">
</div>
<br><br>
</body>
</html>
<?php
if(isset($_POST['submit_start']))
{
$_SESSION['start']=true;
header('Refresh: 2;URL=index2.php');
echo '<div align=center> <font size=4> Please wait... </font> <br> <img src="wait.gif"> </div>';
//@ob_flush(); //flush the output buffer
//flush(); //flush anything else
//sleep(6); //wait
// header('Location: index2.php');
}
?>