-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathradvert.html
57 lines (56 loc) · 2.06 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<html>
<head>
<title>mikrotik hotspot > advertisement</title>
<meta http-equiv="refresh" content="2; url=$(link-orig)">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
<link rel="stylesheet" type="text/css" media="all" href="packages/bootstrap/bootstrap.css">
<link rel="stylesheet" type="text/css" media="all" href="css/theme.css">
<script language="JavaScript">
<!--
var popup = '';
function openOrig() {
if (window.focus) popup.focus();
location.href = '$(link-orig)';
}
function openAd() {
location.href = '$(link-redirect)';
}
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()" style="background-image:url(img/bg.jpg);">
<section class="login-wrap">
<div class="login-box card">
<div class="card-body">
<a href="$(link-login-only)?target=lv&dst=$(link-orig-esc)" class="text-center d-block mb-3">
<img src="img/logo.png" alt="Home" height="100" />
</a>
<div class="row">
<div class="col-md-12 text-center">
<p class="mb-0">Advertisement.</p>
<p>
If nothing happens, open <a href="$(link-redirect)" target="hotspot_advert">advertisement</a> manually.
</p>
</div>
</div>
</div>
</div>
</section>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="packages/bootstrap/libraries/tether.js"></script>
<script type="text/javascript" src="packages/bootstrap/libraries/popper.js"></script>
<script type="text/javascript" src="packages/bootstrap/bootstrap.js"></script>
</body>
</html>