-
Notifications
You must be signed in to change notification settings - Fork 0
/
radvert.html
40 lines (39 loc) · 1.14 KB
/
radvert.html
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
<html>
<head>
<meta http-equiv="refresh" content="2; url=$(link-orig)">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<title>Advertisement - Voucher WiFi Hotspot</title>
<link rel="stylesheet" href="css/style.css">
<script>
var popup = '';
function openOrig() {
if (window.focus) popup.focus();
location.href = unescape('$(link-orig-esc)');
}
function openAd() {
location.href = unescape('$(link-redirect-esc)');
}
function openAdvert() {
if (window.name != 'hotspot_advert') {
popup = open('$(link-redirect)', 'hotspot_advert', '');
setTimeout("openOrig()", 1000);
return;
}
setTimeout("openAd()", 1000);
}
</script>
</head>
<body onLoad="openAdvert()">
<div class="ie-fixMinHeight">
<div class="main">
<div class="wrap">
<h1>Advertisement</h1>
<p class="info">If nothing happens, open <a href="$(link-redirect)" target="hotspot_advert">advertisement</a> manually.</p>
</div>
</div>
</div>
</body>
</html>