-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
30 lines (30 loc) · 642 Bytes
/
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
<?php
if ( preg_match('/^.*:.*:.*/', $_SERVER[REMOTE_ADDR]) ) {
$metatime = 5;
$ipv6yes = TRUE;
} else {
$metatime = 1;
$ipv6yes = FALSE;
}
?>
<http>
<head>
<style>
div {
margin: 0 auto;
text-align: center;
font-size: 16px;
border: 1px dotted #c0c0c0;
padding: 20px;
width: 400px;
margin-top: 30px;
}
</style>
<meta http-equiv="Refresh" content="<?php echo "$metatime"; ?>; URL=scale10x">
</head>
<body>
<?php if ( $ipv6yes ) { ?>
<div>We see you're on IPv6. <img src="/scale9x/sites/all/themes/scale3/smiley%20face.jpg"><br /><br />You'll be redirected shortly. Or, <a href="/scale10x/">click here</a>.</div>
<?php } ?>
</body>
</html>