blob: 47320020a6cd2d2a8282a2265d8afc25b04ea324 (
plain)
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
|
<?
$to = $_GET['to'];
include('globe.php');
if ($to == '') $to = $mydomain;
?>
<html>
<head>
<title>Pathery.com - Redirecting...</title>
<meta http-equiv="refresh" content="6;URL=<? echo $to; ?>">
<style>
body {
background-color: #121212;
color:#ddd
}
.update {
background-color: #222229;
margin:0 auto;
margin-top: 200px;
width:400px;
border: 0px outset #aaa;
padding: 10px;
border-radius: 25px;
}
h3 {
text-align: center;
}
.buttons a {
margin: 10px;
opacity: 0.7;
filter: alpha(opacity=70);
}
.buttons a:hover {
opacity: 1;
filter: alpha(opacity=100);
}
a {
text-decoration: underline;
color: #aaaa99;
}
a:hover {
text-decoration: underline;
color: #FFFFFF;
}
</style>
<script>
var timeLeft = 5;
var countdownRedirectInt = self.setInterval(countdownRedirect, 1000);
function countdownRedirect() {
if (timeLeft <= 0) {
return;
}
timeLeft--;
var handle = document.getElementById("redirectTitle")
handle.innerHTML = 'You are being redirected in '+timeLeft+' seconds';
if (timeLeft <= 0) {
window.location = "<? echo $to; ?>";
}
}
</script>
</head>
<body>
<div class='update'>
<h3 id='redirectTitle'>You are being redirected in 5 seconds</h3>
<p>Let's go!: <a href='<? echo $to; ?>'><? echo $to; ?></a></p>
<p>Back to: <a href='<? echo $mydomain; ?>' title='Go back'><? echo $mydomain; ?></a>
</p>
</div>
</body>
</html>
|