-
Notifications
You must be signed in to change notification settings - Fork 0
/
out.php
125 lines (98 loc) · 3.19 KB
/
out.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>KP Nuts</title>
</head>
<body style="background-color:#01123a;">
<?php
if(isset($_GET['tid'])){
$tagPgId = $_GET['tid'];
}else {
$tagPgId = "4314";
}
if(isset($_GET['m'])){
$moment = $_GET['m'];
}else {
$moment = "novote";
}
switch ($tagPgId) {
case "4314":
$redir_url = "http://www.kpnuts.com/";
break;
case "4315":
$redir_url = "http://www.kpnuts.com/about-kp.php";
break;
case "4316":
$redir_url = "http://www.kpnuts.com/range.php";
break;
case "4319":
$redir_url = "http://www.kpnuts.com/policy.php";
break;
case "4320":
$redir_url = "http://www.123healthybalance.com/";
break;
case "4321":
$redir_url = "http://www.unitedbiscuits.com/";
break;
case "4322":
$redir_url = "http://www.unitedbiscuits.com/contact.php";
break;
case "4323":
$redir_url = "http://www.kpnuts.com/range.php?p=regular";
break;
case "4324":
$redir_url = "http://www.kpnuts.com/range.php?p=treenuts";
break;
case "4325":
$redir_url = "http://www.kpnuts.com/range.php?p=jumbo_flavoured";
break;
case "4326":
$redir_url = "http://www.kpnuts.com/nutrition.php";
break;
case "4332":
$redir_url = "http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.kpnuts.com%2Fcompetition%2Fview.php?m=".$moment."&t=Vote%20for%20the%20best%20quality%20football%20moment%20for%20a%20chance%20to%20win%20football%20prizes%20very%20day.Plus%20win%20a%20European%20football%20holiday!";
break;
case "4333":
$redir_url = "http://www.kpnuts.com/competition/league.php";
break;
case "4334":
$redir_url = "http://www.kpnuts.com/range.php";
break;
case "4335":
$redir_url = "http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.kpnuts.com%2Fcompetition%2Fview.php?m=".$moment."&t=Vote%20for%20the%20best%20quality%20football%20moment%20for%20a%20chance%20to%20win%20football%20prizes%20very%20day.Plus%20win%20a%20European%20football%20holiday!";
break;
case "4336":
$redir_url = "http://www.kpnuts.com/competition/league.php";
break;
case "4337":
$redir_url = "http://www.kpnuts.com/range.php";
break;
case "4338":
$redir_url = "http://www.kpnuts.com/terms/";
break;
case "4339":
$redir_url = "http://www.kpnuts.com/faqs/";
break;
default:
$redir_url = "http://www.kpnuts.com/";
break;
}
$disp_redir_url = $redir_url;
$redir_url = urlencode($redir_url);
if ($tagPgId > 0) { ?>
<SCRIPT type="text/javascript" language="JavaScript">
<!--
client_id = 252;
page_id = <?= $tagPgId ?>;
timeout = 600;
isredirect = 'yes';
redirecturl = '<?= $redir_url ?>';
//-->
</SCRIPT>
<script type="text/javascript" src="http://www.inboxtag.com/inbox_tagger.js">
</script>
<?php } ?>
<p style="font-size:12px;text-align:center;font-family:Arial, Helvetica, sans-serif;color:#ffffff;">If you are not successfully redirected, <a href="<?php echo $disp_redir_url ?>" style="color:#ffae00;">please click here</a></p>
</body>
</html>