This repository has been archived by the owner on Nov 16, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
showLEGOAffiliateAd.php
191 lines (191 loc) · 19.5 KB
/
showLEGOAffiliateAd.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<html>
<head>
<base target="_blank" />
<meta http-equiv="refresh" content="120">
<style type="text/css">
html, body {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<?php
switch ( $_GET['theme'] ) {
case "starwars":
switch ( $_GET['size'] ) {
case "125":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001180&type=4&subid=0"><IMG alt="Travel the dunes with the LEGO� Star Wars™ Ultimate Collector Series Sancrawler™" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2014/sandcrawler/star-wars-75059-125x125.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001180&type=4&subid=0">';
break;
case "728":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001184&type=4&subid=0"><IMG alt="Travel the dunes with the LEGO� Star Wars™ Ultimate Collector Series Sancrawler™" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2014/sandcrawler/star-wars-75059-728x90.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001184&type=4&subid=0">';
break;
case "120":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001179&type=4&subid=0"><IMG alt="Travel the dunes with the LEGO� Star Wars™ Ultimate Collector Series Sancrawler™" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2014/sandcrawler/star-wars-75059-120x90.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001179&type=4&subid=0">';
break;
case "160":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001185&type=4&subid=0"><IMG alt="Travel the dunes with the LEGO� Star Wars™ Ultimate Collector Series Sancrawler™" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2014/sandcrawler/star-wars-75059-160x600.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001185&type=4&subid=0">';
break;
case "234":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001181&type=4&subid=0"><IMG alt="Travel the dunes with the LEGO� Star Wars™ Ultimate Collector Series Sancrawler™" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2014/sandcrawler/star-wars-75059-234x60.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001181&type=4&subid=0">';
break;
default:
echo 'Error: Required paramter "size" not specified.';
break;
}
break;
case "duplo":
switch ( $_GET['size'] ) {
case "125":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001380&type=4&subid=0"><IMG alt="FREE LEGO® DUPLO® Duck with any LEGO DUPLO purchase!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/30321-duck/30321-duck-125x125.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001380&type=4&subid=0">';
break;
case "728":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001383&type=4&subid=0"><IMG alt="FREE LEGO® DUPLO® Duck with any LEGO DUPLO purchase!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/30321-duck/30321-duck-728x90.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001383&type=4&subid=0">';
break;
case "120":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001379&type=4&subid=0"><IMG alt="FREE LEGO® DUPLO® Duck with any LEGO DUPLO purchase!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/30321-duck/30321-duck-120x90.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001379&type=4&subid=0">';
break;
case "160":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001385&type=4&subid=0"><IMG alt="FREE LEGO® DUPLO® Duck with any LEGO DUPLO purchase!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/30321-duck/30321-duck-160x600.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001385&type=4&subid=0">';
break;
case "234":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001381&type=4&subid=0"><IMG alt="FREE LEGO® DUPLO® Duck with any LEGO DUPLO purchase!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/30321-duck/30321-duck-234x60.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001381&type=4&subid=0">';
break;
default:
echo 'Error: Required paramter "size" not specified.';
break;
}
break;
case "ninjago":
switch ( $_GET['size'] ) {
case "125":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001388&type=4&subid=0"><IMG alt="FREE Kai\'s Mini Dragon with purchases of $35 or more!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/30422-dragon/30422-dragon-125x125.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001388&type=4&subid=0">';
break;
case "728":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001391&type=4&subid=0"><IMG alt="FREE Kai\'s Mini Dragon with purchases of $35 or more!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/30422-dragon/30422-dragon-728x90.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001391&type=4&subid=0">';
break;
case "120":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001387&type=4&subid=0"><IMG alt="FREE Kai\'s Mini Dragon with purchases of $35 or more!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/30422-dragon/30422-dragon-120x90.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001387&type=4&subid=0">';
break;
case "160":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001393&type=4&subid=0"><IMG alt="FREE Kai\'s Mini Dragon with purchases of $35 or more!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/30422-dragon/30422-dragon-160x600.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001393&type=4&subid=0">';
break;
case "234":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001389&type=4&subid=0"><IMG alt="FREE Kai\'s Mini Dragon with purchases of $35 or more!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/30422-dragon/30422-dragon-234x60.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001389&type=4&subid=0">';
break;
default:
echo 'Error: Required paramter "size" not specified.';
break;
}
break;
case "city":
switch ( $_GET['size'] ) {
case "125":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001356&type=4&subid=0"><IMG alt="New LEGO® City Prison Island sets available now!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2015/city-2016/prison-island/city-2016-prison-island-125x125.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001356&type=4&subid=0">';
break;
case "728":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001359&type=4&subid=0"><IMG alt="New LEGO® City Prison Island sets available now!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2015/city-2016/prison-island/city-2016-prison-island-728x90.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001359&type=4&subid=0">';
break;
case "120":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001347&type=4&subid=0"><IMG alt="New LEGO® City Fire sets available now!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2015/city-2016/fire/city-2016-fire-120x90.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001347&type=4&subid=0">';
break;
case "160":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001353&type=4&subid=0"><IMG alt="New LEGO® City Fire sets available now!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2015/city-2016/fire/city-2016-fire-160x600.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001353&type=4&subid=0">';
break;
case "234":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001349&type=4&subid=0"><IMG alt="New LEGO® City Fire sets available now!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2015/city-2016/fire/city-2016-fire-234x60.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001349&type=4&subid=0">';
break;
default:
echo 'Error: Required paramter "size" not specified.';
break;
}
break;
case "friends":
switch ( $_GET['size'] ) {
case "125":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001340&type=4&subid=0"><IMG alt="Explore Heartlake City with brand new LEGO® Friends sets!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2015/friends-2016/friends-2016-125x125.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001340&type=4&subid=0">';
break;
case "728":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001343&type=4&subid=0"><IMG alt="Explore Heartlake City with brand new LEGO® Friends sets!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2015/friends-2016/friends-2016-728x90.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001343&type=4&subid=0">';
break;
case "120":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001339&type=4&subid=0"><IMG alt="Explore Heartlake City with brand new LEGO® Friends sets!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2015/friends-2016/friends-2016-120x90.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001339&type=4&subid=0">';
break;
case "160":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001345&type=4&subid=0"><IMG alt="Explore Heartlake City with brand new LEGO® Friends sets!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2015/friends-2016/friends-2016-160x600.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001345&type=4&subid=0">';
break;
case "234":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001341&type=4&subid=0"><IMG alt="Explore Heartlake City with brand new LEGO® Friends sets!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2015/friends-2016/friends-2016-234x60.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001341&type=4&subid=0">';
break;
default:
echo 'Error: Required paramter "size" not specified.';
break;
}
break;
case "creator":
switch ( $_GET['size'] ) {
case "125":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001229&type=4&subid=0"><IMG alt="Take the iconic LEGO MINI Cooper for a drive!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2014/Cooper/cooper-10242-125x125-en.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001229&type=4&subid=0">';
break;
case "728":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001231&type=4&subid=0"><IMG alt="Take the iconic LEGO MINI Cooper for a drive!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2014/Cooper/cooper-10242-728x90-en.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001231&type=4&subid=0">';
break;
case "120":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001227&type=4&subid=0"><IMG alt="Take the iconic LEGO MINI Cooper for a drive!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2014/Cooper/cooper-10242-120x90-en.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001227&type=4&subid=0">';
break;
case "160":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001233&type=4&subid=0"><IMG alt="Take the iconic LEGO MINI Cooper for a drive!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2014/Cooper/cooper-10242-160x600-en.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001233&type=4&subid=0">';
break;
case "234":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001228&type=4&subid=0"><IMG alt="Take the iconic LEGO MINI Cooper for a drive!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2014/Cooper/cooper-10242-234x60-en.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001228&type=4&subid=0">';
break;
default:
echo 'Error: Required paramter "size" not specified.';
break;
}
break;
case "easter":
switch ( $_GET['size'] ) {
case "125":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001372&type=4&subid=0"><IMG alt="The LEGO® Easter Sale is on! Save up to 20% on select items!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/easter-sale/easter-sale-125x125.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001372&type=4&subid=0">';
break;
case "728":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001375&type=4&subid=0"><IMG alt="The LEGO® Easter Sale is on! Save up to 20% on select items!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/easter-sale/easter-sale-728x90.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001375&type=4&subid=0">';
break;
case "120":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001371&type=4&subid=0"><IMG alt="The LEGO® Easter Sale is on! Save up to 20% on select items!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/easter-sale/easter-sale-120x90.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001371&type=4&subid=0">';
break;
case "160":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001377&type=4&subid=0"><IMG alt="The LEGO® Easter Sale is on! Save up to 20% on select items!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/easter-sale/easter-sale-160x600.jpg"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001377&type=4&subid=0">';
break;
case "234":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001373&type=4&subid=0"><IMG alt="The LEGO® Easter Sale is on! Save up to 20% on select items!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/easter-sale/easter-sale-234x60.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001373&type=4&subid=0">';
break;
default:
echo 'Error: Required paramter "size" not specified.';
break;
}
break;
default:
switch ( $_GET['size'] ) {
case "125":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=96622.10000016&type=4&subid=0"><IMG width="125" height="125" alt="Lego_SalesDeals_125x125" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/LEGO_FreeShipping_125x125.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=96622.10000016&type=4&subid=0">';
break;
case "728":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10000434&type=4&subid=0"><IMG alt="LEGO Brand Retail" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/LEGOgeneric_728x90.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10000434&type=4&subid=0">';
break;
case "120":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10000103&type=4&subid=0"><IMG alt="LEGO" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/LEGO_logo_120x60.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10000103&type=4&subid=0">';
break;
case "160":
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10000435&type=4&subid=0"><IMG alt="LEGO Brand Retail" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/LEGOgeneric_160x600.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10000435&type=4&subid=0">';
break;
default:
echo '<a href="http://click.linksynergy.com/fs-bin/click?id=flo3EmTGydA&offerid=115554.10001373&type=4&subid=0"><IMG alt="The LEGO® Easter Sale is on! Save up to 20% on select items!" border="0" src="http://cache.lego.com/2057/images/shop/Affiliate/2016/easter-sale/easter-sale-234x60.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=flo3EmTGydA&bids=115554.10001373&type=4&subid=0">';
break;
}
break;
}
?>
</body>
</html>