-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-old.html
399 lines (331 loc) · 20.7 KB
/
index-old.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
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Rewards Center</title>
<meta name="description" content="">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="css/bootstrap.min.css" >
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/modal.css">
<!--[if lt IE 9]>
<link rel="stylesheet" href="css/ie.css">
<![endif]-->
<link href='css/css.css' rel='stylesheet' type='text/css'>
<style>
.field-error__validation-message {
visibility:visible;
}
body{
font-family: 'Raleway', Arial, "Helvetica Neue", Helvetica, sans-serif; background: rgb(193, 241, 231);
}
body .modal-open{
background-color:#999;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
font-family: inherit;
font-weight: bold;
line-height: inherit;
color: inherit;
}
label {
font-weight: normal;
}
@media only screen and (max-width: 736px) {
.content__title{
font-size: 20px;
}
.content__title:before {
content: url("images/logo_small.png");margin-top: 0;
}
} @media only screen and (max-width: 1140px) {
.content__form-step1 {
border-width: 7px;
width: 340px;
padding-bottom: 15px;
}
.form__button {
width: 260px;
font-size: 23px;
}
}
@media only screen and (max-width: 736px) {
.header__in {
width: auto;
}
.content__form-step1 {
border-width: 1px;
width: 280px;
padding-bottom: 15px;
float: none;
margin: 0 auto !important;
border-radius: 0;
}
.content__tagline {
font-size: 16px;
padding-top: 10px;
padding-bottom: 0;
}
.form__button {
width: 225px;
}
.form__tagline {
font-size: 25px;
}
.win__wrapper--custom {
display: none;
}
}
</style>
</head>
<body>
<header class="header">
<div class="header__in">
<a href="#" class="header__logo">New Click</a>
</div>
</header>
<div class="content">
<div class="content__in">
<h1 class="content__title"> GIVEAWAY!</h1>
<div class="content__container">
<div class="content__image">
<picture>
<!--[if IE 9]><video style="display: none;"><![endif]-->
<source srcset="images/img-small.png" data-srcset="images/img-small.png" media="(max-width: 735px)">
<source srcset="images/img-med.png" srcset="images/img-med.png" media="(max-width: 1140px)">
<source srcset="images/img-big.png" data-srcset="images/img-big.png" media="(min-width: 1141px)">
<!--[if IE 9]></video><![endif]-->
<img srcset="images/img-big.png" src="images/img-big.png" alt="bg">
</picture>
</div>
<div class="content__form-step1" >
<div id="firststage" >
<div class="form__header">STEP 1</div> <p class="form__tagline">Choose your favourite colour!</p>
<ul class="form__list">
<li class="form__item">
<input type="radio" id="item1" name="selector">
<label for="item1">Silver</label>
</li>
<li class="form__item">
<input type="radio" id="item2" name="selector">
<label for="item2">Gold</label>
</li>
<li class="form__item">
<input type="radio" id="item3" name="selector">
<label for="item3">Rose Gold</label>
</li>
<li class="form__item">
<input type="radio" id="item4" name="selector">
<label for="item4">Space Grey</label>
</li>
</ul>
</div>
<div id="secondstage" style="display: none;">
<div class="form__header">STEP 2</div>
<p class="form__tagline">Enter your details!</p>
<form class="form__body" id="sendlead" >
<fieldset>
<label class="visuallyhidden" for="title">Select Title:</label>
<select id="usertitle" name="title" lpval="required" class="title">
<option value=''>Select Title *</option>
<option value='Mr'>Mr</option>
<option value='Mrs'>Mrs</option>
<option value='Ms'>Ms</option>
<option value='Miss'>Miss</option>
</select>
<div class="field-error__validation-message">Please Select Your Title</div>
</fieldset>
<fieldset class="fifty-fifty-fieldset">
<label class="visuallyhidden" for="first-name">First Name:</label>
<input type="text" name="first-name" id="firstname" lpval="required,max_200,min_3,textonly" placeholder="First Name: *" />
<div class="field-error__validation-message">This Field Is Required.</div>
</fieldset>
<fieldset class="fifty-fifty-fieldset last">
<label class="visuallyhidden" for="last-name">Last Name:</label>
<input type="text" name="last-name" id="lastname" lpval="required,max_200,min_3,textonly" placeholder="Last Name: *" />
<div class="field-error__validation-message">This Field Is Required.</div>
</fieldset>
<fieldset>
<label class="visuallyhidden" for="email">Email:</label>
<input type="email" name="email" id="email" lpval="required,max_200,min_3" placeholder="Email: *" />
<div class="field-error__validation-message">This Field Is Required.</div>
</fieldset>
<fieldset>
<label for="dob" class="dob-complete">Date of birth *</label>
<select name="day" id="dobday" lpval="required" class="day date">
<option value=''>DD</option>
<option value='01'>01</option>
<option value='02'>02</option>
<option value='03'>03</option>
<option value='04'>04</option>
<option value='05'>05</option>
<option value='06'>06</option>
<option value='07'>07</option>
<option value='08'>08</option>
<option value='09'>09</option>
<option value='10'>10</option>
<option value='11'>11</option>
<option value='12'>12</option>
<option value='13'>13</option>
<option value='14'>14</option>
<option value='15'>15</option>
<option value='16'>16</option>
<option value='17'>17</option>
<option value='18'>18</option>
<option value='19'>19</option>
<option value='20'>20</option>
<option value='21'>21</option>
<option value='22'>22</option>
<option value='23'>23</option>
<option value='24'>24</option>
<option value='25'>25</option>
<option value='26'>26</option>
<option value='27'>27</option>
<option value='28'>28</option>
<option value='29'>29</option>
<option value='30'>30</option>
<option value='31'>31</option>
</select>-<select name="month" class="month" id="dobmonth" lpval="required" >
<option value=''>MM</option>
<option value='01'>01</option>
<option value='02'>02</option>
<option value='03'>03</option>
<option value='04'>04</option>
<option value='05'>05</option>
<option value='06'>06</option>
<option value='07'>07</option>
<option value='08'>08</option>
<option value='09'>09</option>
<option value='10'>10</option>
<option value='11'>11</option>
<option value='12'>12</option>
</select>-<select name="year" class="year" id="dobyear" lpval="required" >
<option value="">YYYY</option><option value="1996">1996</option><option value="1995">1995</option><option value="1994">1994</option><option value="1993">1993</option><option value="1992">1992</option><option value="1991">1991</option><option value="1990">1990</option><option value="1989">1989</option><option value="1988">1988</option><option value="1987">1987</option><option value="1986">1986</option><option value="1985">1985</option><option value="1984">1984</option><option value="1983">1983</option><option value="1982">1982</option><option value="1981">1981</option><option value="1980">1980</option><option value="1979">1979</option><option value="1978">1978</option><option value="1977">1977</option><option value="1976">1976</option><option value="1975">1975</option><option value="1974">1974</option><option value="1973">1973</option><option value="1972">1972</option><option value="1971">1971</option><option value="1970">1970</option><option value="1969">1969</option><option value="1968">1968</option><option value="1967">1967</option><option value="1966">1966</option><option value="1965">1965</option><option value="1964">1964</option><option value="1963">1963</option><option value="1962">1962</option><option value="1961">1961</option><option value="1960">1960</option><option value="1959">1959</option><option value="1958">1958</option><option value="1957">1957</option><option value="1956">1956</option><option value="1955">1955</option><option value="1954">1954</option><option value="1953">1953</option><option value="1952">1952</option><option value="1951">1951</option><option value="1950">1950</option><option value="1949">1949</option><option value="1948">1948</option><option value="1947">1947</option><option value="1946">1946</option><option value="1945">1945</option><option value="1944">1944</option><option value="1943">1943</option><option value="1942">1942</option><option value="1941">1941</option><option value="1940">1940</option><option value="1939">1939</option><option value="1938">1938</option><option value="1937">1937</option><option value="1936">1936</option><option value="1935">1935</option><option value="1934">1934</option><option value="1933">1933</option><option value="1932">1932</option><option value="1931">1931</option><option value="1930">1930</option><option value="1929">1929</option><option value="1928">1928</option><option value="1927">1927</option><option value="1926">1926</option><option value="1925">1925</option><option value="1924">1924</option><option value="1923">1923</option><option value="1922">1922</option><option value="1921">1921</option><option value="1920">1920</option><option value="1919">1919</option><option value="1918">1918</option><option value="1917">1917</option><option value="1916">1916</option><option value="1915">1915</option><option value="1914">1914</option><option value="1913">1913</option><option value="1912">1912</option><option value="1911">1911</option><option value="1910">1910</option>
</select>
<div class="field-error__validation-message">Please Select Your Date of Birth</div>
</fieldset>
<fieldset class="input-with-icon">
<label class="visuallyhidden" for="postcode">Postcode:</label>
<input type="phone" name="postcode" id="postcode" lpval="required,max_12,min_5" placeholder="Postcode: *" style="width:80%">
<button type="button" id="searchpostcode"><i class="icon--search"></i></button><select name="selectedaddress" id="selectedaddress" class="input-md alert-error" style="display:none;"></select>
<div class="field-error__validation-message" style="display: none;">Postcode Required</div>
<div class="field-error__validation-message-zero" style="display: none;">
Once you enter your postcode, click <b>Lookup Address</b> to find your full address.</div>
<div class="pre_info" style="font-size: 14px; display: none; color: red;">Don¡¯t Forget To Look Up Address</div>
</fieldset>
<fieldset class="input-with-icon" id="fulladdress" style="display:none;">
</fieldset>
<fieldset>
<span>
<input id="terms" lpval="required" type="checkbox" name="terms" value="terms *" style="width: 20px;float: left;" />
<label for="checkbox">
<small>
<span>I have read and agree to the Prize Draw Rules, Terms & Conditions, New Click Cookie Policy and Privacy Policy and agree to be contacted by mail, telephone, email or SMS by one of our Sponsors.
</span>
</small>
</label>
</span>
<div class="field-error__validation-message">This field is required.</div>
</fieldset>
<fieldset>
<button type="submit" class="form__button bold" id="singlebutton">
<span>Enter Now <span class="icon--right-arrow"></span></span>
</button>
</fieldset>
<fieldset class="form__block-text">
<span>
<small>By signing up to our website, you agree to us using your information to provide you with details about our offers and competitions. We may also share your information with carefully selected third parties who may send you details of their products, services and offers. We and our third party partners may contact you by post, telephone, email or SMS (text messages). If you would like to know more details about how we deal with your information, you can find our privacy notice at Privacy Policy. This website is owned by New Click.
</small>
</span>
<div class="field-error__validation-message">This Field Is Required.</div>
</fieldset>
</form>
</div>
</div>
</div>
</div>
<footer class="body-footer cf" role="contentinfo" itemscope itemtype="http://schema.org/WPFooter">
</footer>
<div id="footer-custom">
<div class="fotter">
<a href="#" target="_blank" class="ng-scope">Privacy</a>
</div>
</div>
</div>
<div id="displayerrors"></div>
<div id="coregsub"></div>
<script src="js/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.11.2.min.js"><\/script>')</script>
<script>
// Picture element HTML5 shiv
document.createElement( "picture" );
var validatedPhone = true;
var validatedEmail = false;
var ValidatedPostcode = true;
var formid = "#sendlead";
var title_inputid = "#usertitle";
var firstname_inputid = "#firstname";
var surname_inputid = "#lastname";
var phone_inputid = "#phone";
var email_inputid = "#email";
var postcode_inputid = "#postcode";
var postcodelookupplacer = "#fulladdress";
var termsandcons_inputid = "#terms";
var dobday_inputid = "#dobday";
var dobmonth_inputid = "#dobmonth";
var dobyear_inputid = "#dobyear";
var errrodisp = "displayerrors";
var pingtree = '0';
var realtimeclientsubmition = '0';
var lp_id = '74d3b4ea50febdf24261b12cb3ecad74';
var userip = '112.73.27.253';
var subid = '';
var source = 'default';
$(firstname_inputid).val("");
$(surname_inputid).val("");
$(phone_inputid).val("");
$(email_inputid).val("");
$(title_inputid).val("");
$(dobday_inputid).val("");
$(dobmonth_inputid).val("");
$(dobyear_inputid).val("");
$(postcode_inputid).val("");
if (source == '') {
source = 'default';
}
var SID = 'none';
if (subid != '') {
SID = subid;
}
var clientid = '64d8cf3d1354779a5f21f3f15a702766_1';
var partnerid = 'a6eea336c6722eb9cc9ce2bfa953c95e';
var projectid = '8efc96a5661556fda6e3c516008b6c67';
var fotter_html = '';
var project_title = '';
var project_color = '';
var project_bg_color = '';
var project_headline_color = '';
var project_bg2_color = '';
var bq = '';
var name = '';
var offernumber = '';
$( "input[type='radio']" ).click(function() {
if (!$("input[name='selector']:checked").val()) {
alert('Please Select answer');
return false;
}
else {
}
$('#firststage').hide();
$('#secondstage').show();
$(".content__form-step1").after($(".win__wrapper").addClass("win__wrapper--custom"));
});
</script>
<script type="text/javascript" src="js/lp.js"></script>
</body>
</html>