-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathemail.php
539 lines (527 loc) · 43 KB
/
email.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
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
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
<?php
/*
* Template Name: Browser Email
*/
?>
<!DOCTYPE html "-//w3c//dtd xhtml 1.0 transitional //en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"><html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml><![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
<title>Your WordCamp Pune 2015 Ticket</title>
</head>
<?php
global $wpdb;
$code = !empty($_GET['code']) ? $_GET['code'] : '';
$pdf = !empty($_GET['pdf']) ? $_GET['pdf'] : false;
if(empty($code)){
echo 'Uh-oh! Something went wrong. Please <a href="https://pune.wordcamp.org/2015/contact/">contact the organisers</a> with the <strong>Payment ID</strong>.';
die();
}
// fetch rest of the data from db
global $wpdb;
$user_info = $wpdb->get_row("SELECT * FROM {$wpdb->prefix}wcp_tickets WHERE code ='$code'");
$name = $user_info->name;
$email = $user_info->email;
$type = $user_info->type;
$tshirt = $user_info->tshirt_size . $user_info->tshirt_preference;
$random = $user_info->random;
$qr = $user_info->qr;
?>
<body style="width: 100% !important;min-width: 100%;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100% !important;margin: 0;padding: 0;background-color: #f2f2f2">
<style id="media-query">
/* Media Queries */
@media only screen and (max-width: 500px) {
.prova {
width: 500px; }
table[class="body"] img {
width: 100% !important;
height: auto !important; }
table[class="body"] center {
min-width: 0 !important; }
table[class="body"] .container {
width: 95% !important; }
table[class="body"] .row {
width: 100% !important;
display: block !important; }
table[class="body"] .wrapper {
display: block !important;
padding-right: 0 !important; }
table[class="body"] .columns, table[class="body"] .column {
table-layout: fixed !important;
float: none !important;
width: 100% !important;
padding-right: 0px !important;
padding-left: 0px !important;
display: block !important; }
table[class="body"] .wrapper.first .columns, table[class="body"] .wrapper.first .column {
display: table !important; }
table[class="body"] table.columns td, table[class="body"] table.column td {
width: 100% !important; }
table[class="body"] table.columns td.expander {
width: 1px !important; }
table[class="body"] .right-text-pad, table[class="body"] .text-pad-right {
padding-left: 10px !important; }
table[class="body"] .left-text-pad, table[class="body"] .text-pad-left {
padding-right: 10px !important; }
table[class="body"] .hide-for-small, table[class="body"] .show-for-desktop {
display: none !important; }
table[class="body"] .show-for-small, table[class="body"] .hide-for-desktop {
display: inherit !important; }
table[class="icon-table"] {
width: 100% !important; }
table[class="icon-table"] table {
display: block !important;
width: 100% !important; }
table[class="icon-table"] table td {
padding-bottom: 10px !important; }
.mixed-two-up .col {
width: 100% !important; } }
@media screen and (max-width: 500px) {
div[class="col"] {
width: 100% !important;
}
}
@media screen and (min-width: 501px) {
table[class="block-grid"] {
width: 500px !important;
}
}
</style>
<table class="body" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;height: 100%;width: 100%;table-layout: fixed" cellpadding="0" cellspacing="0" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td class="center" style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;text-align: center;background-color: #f2f2f2" align="center" valign="top">
<!--[if (gte mso 9)|(IE)]>
<table width='500' class="ieCell" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: bottom;background-color: transparent" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: bottom">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: bottom" width="100%">
<table class="container" style="border-spacing: 0;border-collapse: collapse;vertical-align: bottom;max-width: 500px;margin: 0 auto;text-align: inherit" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: bottom">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: bottom;" width="100%">
<table class="block-grid two-up" style="border-spacing: 0;border-collapse: collapse;vertical-align: bottom;width: 100%;max-width: 500px;color: #333;background-color: transparent" cellpadding="0" cellspacing="0" width="100%" bgcolor="transparent">
<tbody><tr style="vertical-align: bottom;">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: bottom;text-align: center;font-size: 0">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="bottom">
<![endif]-->
<div class="col num6" style="display: inline-block;vertical-align: bottom;width: 250px;text-align: center">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: bottom" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: bottom">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: bottom;background-color: transparent;padding-top: 5px;padding-right: 0px;padding-bottom: 5px;padding-left: 0px;border-top: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-left: 0px solid transparent">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: bottom" cellpadding="0" cellspacing="0" width="100%" border="0" align="left">
<tbody><tr style="vertical-align: bottom">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: bottom;width: 100%;text-align: left" align="left">
<div style="max-width: 100%;" align="left">
<a href="https://pune.wordcamp.org" target="_blank">
<img class="left" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;width: 100%;clear: both;display: block;border: none;height: auto;line-height: 100%;max-width: 103px" border="0" width="100%" align="left" src="<?php echo get_template_directory_uri(); ?>/email/images/qej5hztk.eiz.g3.png" alt="Image" title="Image">
</a>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<!--[if (gte mso 9)|(IE)]>
</td><td>
<![endif]-->
<div class="col num6" style="display: inline-block;vertical-align: bottom;width: 250px;text-align: center">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: bottom" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: bottom">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: bottom;background-color: transparent;padding-top: 5px;padding-right: 0px;padding-bottom: 5px;padding-left: 0px;border-top: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-left: 0px solid transparent">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: bottom" cellpadding="0" cellspacing="0" width="100%" border="0" align="right">
<tbody><tr style="vertical-align: bottom">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: bottom;width: 100%;text-align: right" align="right">
<div style="max-width: 100%; font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif; font-weight:bold" align="right">
<?php if(!$pdf){ ?>
<a style="color:#ef7c00;" href="http://ticket.wordcamp.wppune.org/pdf/?code=<?php echo $code; ?>" target="_blank">Download PDF</a>
<?php } ?>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<!--[if (gte mso 9)|(IE)]>
</td><td>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
<table width='500' class="ieCell" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top;" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top" width="100%">
<table class="container" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;max-width: 500px;margin: 0 auto;text-align: inherit; background-color: #4d515d" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top" width="100%">
<table class="block-grid" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;width: 100%;max-width: 500px;color: #333;background-color: transparent" cellpadding="0" cellspacing="0" width="100%" bgcolor="transparent">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;text-align: center;font-size: 0">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<![endif]-->
<div class="col num12" style="display: inline-block;vertical-align: top;width: 100%">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;background-color: transparent;padding-top: 30px;padding-right: 0px;padding-bottom: 30px;padding-left: 0px;border-top: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-left: 0px solid transparent">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;padding-top: 10px;padding-right: 10px;padding-bottom: 0px;padding-left: 10px">
<div style="color:#E5E5E5;line-height:120%;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<div style="font-size: 14px; line-height: 16px;color: #E5E5E5;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;text-align: center;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px;"><span style="font-size:24px; line-height:29px;"><strong><span style="font-family: arial, helvetica, sans-serif; line-height: 28px; font-size: 24px;" data-mce-style="font-family: arial, helvetica, sans-serif; line-height: 28px; font-size: 24px;">Hi <?php echo $name; ?>,</span></strong></span></div>
</div>
</td>
</tr>
</tbody></table>
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px">
<div style="color:#e5e5e5;line-height:120%;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<div style="font-size: 14px; line-height: 16px;color: #e5e5e5;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;text-align: center;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px;"><span style="font-size:16px;font-family:arial, helvetica, sans-serifpx; line-height:19px;">We're so glad you're coming to WordCamp Pune 2015.</span></div>
</div>
</td>
</tr>
</tbody></table>
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;width: 100%;text-align: center" align="center">
<div style="max-width: 100%;" align="center">
<a href="" target="_blank">
<img class="center" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;width: 100%;clear: both;display: block;border: none;height: auto;line-height: 100%;margin: 0 auto;float: none;max-width: 500px" border="0" width="100%" align="center" src="<?php echo get_template_directory_uri(); ?>/email/images/lavani.png" alt="Image" title="Image">
</a>
</div>
</td>
</tr>
</tbody></table>
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;padding-top: 15px;padding-right: 10px;padding-bottom: 10px;padding-left: 10px">
<div style="color:#C0C4CB;line-height:120%;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<div style="font-size: 14px; line-height: 16px;color: #C0C4CB;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;text-align: left;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px;">This ticket entitles you to a great line up of speakers, a variety of activities and a wonderful community of bloggers, developers and other WordPress lovers looking forward to meet and interact with you.</div><div style="font-size: 14px; line-height: 16px;color: #C0C4CB;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;text-align: left;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px;"><br data-mce-bogus="1"></div><div style="font-size: 14px; line-height: 16px;color: #C0C4CB;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;text-align: left;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px;">This ticket also entitles you to <strong>1 year</strong> of <a style="color:#ef7c00" title="Free WordPress Hosting at WordCamp Pune" href="https://pune.wordcamp.org/2015/2015/07/08/free-wordpress-hosting-for-everyone/" data-mce-href="https://pune.wordcamp.org/2015/2015/07/08/free-wordpress-hosting-for-everyone/">free WordPress hosting</a> for <strong>5 blogs</strong>.</div><div style="font-size: 14px; line-height: 16px;color: #C0C4CB;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;text-align: left;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px;"></div>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<!--[if (gte mso 9)|(IE)]>
</td><td>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
<table width='500' class="ieCell" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top;" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top" width="100%">
<table class="container" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;max-width: 500px;margin: 0 auto;text-align: inherit;background-color: #EAEBEF" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top" width="100%">
<table class="block-grid" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;width: 100%;max-width: 500px;color: #333;background-color: transparent" cellpadding="0" cellspacing="0" width="100%" bgcolor="transparent">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;text-align: center;font-size: 0">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<![endif]-->
<div class="col num12" style="display: inline-block;vertical-align: top;width: 100%">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;background-color: transparent;padding-top: 5px;padding-right: 0px;padding-bottom: 5px;padding-left: 0px;border-top: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-left: 0px solid transparent">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;padding-top: 10px;padding-right: 10px;padding-bottom: 10px;padding-left: 10px">
<div style="color:#555555;line-height:120%;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<div style="font-size: 12px; line-height: 14px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 14px" data-mce-style="font-size: 12px; line-height: 14px; text-align: center;"><span style="font-size:36px; line-height:43px;">6th Sep 2015</span></div><div style="font-size: 12px; line-height: 14px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 14px" data-mce-style="font-size: 12px; line-height: 14px; text-align: center;"><span style="font-size:26px; line-height:31px;">9:00am – 6:30pm</span></div><div style="font-size: 12px; line-height: 14px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 14px" data-mce-style="font-size: 12px; line-height: 14px; text-align: center;"><span style="font-size:28px; line-height:34px;">Modern College </span><span style="font-size:28px; line-height:34px;">of Arts, Science</span></div><div style="font-size: 12px; line-height: 14px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 14px" data-mce-style="font-size: 12px; line-height: 14px; text-align: center;"><span style="font-size:28px; line-height:34px;"> & Commerce</span></div>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<!--[if (gte mso 9)|(IE)]>
</td><td>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
<table width='500' class="ieCell" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top;" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top" width="100%">
<table class="container" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;max-width: 500px;margin: 0 auto;text-align: inherit;background-color: #FFFFFF;" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top" width="100%">
<table class="block-grid two-up" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;width: 100%;max-width: 500px;color: #333;background-color: transparent" cellpadding="0" cellspacing="0" width="100%" bgcolor="transparent">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;text-align: center;font-size: 0">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<![endif]-->
<div class="col num6" style="display: inline-block;vertical-align: top;width: 250px;text-align: center">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;background-color: transparent;padding-top: 5px;padding-right: 0px;padding-bottom: 5px;padding-left: 0px;border-top: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-left: 0px solid transparent">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;width: 100%;text-align: center" align="center">
<div style="max-width: 100%;" align="center">
<a href="" target="_blank">
<img class="center" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;width: 100%;clear: both;display: block;border: none;height: auto;line-height: 100%;margin: 0 auto;float: none;max-width: 200px" border="0" width="100%" align="center" src="<?php echo $qr; ?>" alt="QR Code" title="QR Code">
</a>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<!--[if (gte mso 9)|(IE)]>
</td><td>
<![endif]-->
<div class="col num6" style="display: inline-block;vertical-align: top;width: 250px;text-align: center">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;background-color: transparent;padding-top: 5px;padding-right: 0px;padding-bottom: 5px;padding-left: 0px;border-top: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-left: 0px solid transparent">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;padding-top: 10px;padding-right: 10px;padding-bottom: 10px;padding-left: 10px">
<div style="color:#555555;line-height:120%;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<div style="font-size: 14px; line-height: 16px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px; text-align: center;"><span style="font-size:36px; line-height:43px;"></span></div>
<div style="font-size: 14px; line-height: 16px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px; text-align: center;"><span style="font-size:26px; line-height:31px;"><span style="font-size: 16px; line-height: 19px;" data-mce-style="font-size: 16px;">Ticket Code</span></span></div>
<div style="font-size: 14px; line-height: 16px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px; text-align: center;"><span style="font-size:28px; line-height:34px;"><strong><span style="line-height: 33px; font-size: 28px;">WCP15</span></strong></span></div>
<div style="font-size: 14px; line-height: 16px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px; text-align: center;"><span style="font-size:28px; line-height:34px;"><strong><span style="line-height: 33px; font-size: 28px;"><?php echo $type; ?></span></strong></span></div>
<div style="font-size: 14px; line-height: 16px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px; text-align: center;"><span style="font-size:28px; line-height:34px;"><strong><span style="line-height: 33px; font-size: 28px;"><?php echo $tshirt; ?></span></strong></span></div>
<div style="font-size: 14px; line-height: 16px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 17px" data-mce-style="font-size: 14px; line-height: 16px; text-align: center;"><span style="font-size:28px; line-height:34px;"><strong><span style="line-height: 33px; font-size: 28px;"><?php echo $random; ?></span></strong></span></div>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<!--[if (gte mso 9)|(IE)]>
</td><td>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
<table width='500' class="ieCell" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top;" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top" width="100%">
<table class="container" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;max-width: 500px;margin: 0 auto;text-align: inherit;background-color: #EAEBEF" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top" width="100%">
<table class="block-grid" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;width: 100%;max-width: 500px;color: #333;background-color: transparent" cellpadding="0" cellspacing="0" width="100%" bgcolor="transparent">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;text-align: center;font-size: 0">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<![endif]-->
<div class="col num12" style="display: inline-block;vertical-align: top;width: 100%">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;background-color: transparent;padding-top: 5px;padding-right: 0px;padding-bottom: 5px;padding-left: 0px;border-top: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;border-left: 0px solid transparent">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;padding-top: 10px;padding-right: 10px;padding-bottom: 10px;padding-left: 10px">
<div style="color:#555555;line-height:120%;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<ul style="text-align:left;line-height: 14px;font-size: 12px;color:#555555;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif"><div><ul><li><span style="font-size: 14px; line-height: 16px;" data-mce-style="font-size: 14px;">Please make sure you show this email or a copy of it at the registration desk.</span></li><li><span style="font-size: 14px; line-height: 16px;" data-mce-style="font-size: 14px;">Please do not print it. Print-outs won't be accepted and will be considered invalid.</span></li><li><span style="font-size: 14px; line-height: 16px;" data-mce-style="font-size: 14px;">You can take a screenshot or a pdf copy of this email.</span></li><li><span style="font-size: 14px; line-height: 16px;" data-mce-style="font-size: 14px;">Else, please provide the ticket code, mentioned above.</span></li></ul></div></ul>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<!--[if (gte mso 9)|(IE)]>
</td><td>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
<table width='500' class="ieCell" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<![endif]-->
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top;background-color: transparent" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top" width="100%">
<table class="container" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;max-width: 500px;margin: 0 auto;text-align: inherit" cellpadding="0" cellspacing="0" align="center" width="100%" border="0">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top" width="100%">
<table class="block-grid" style="border-spacing: 0;border-collapse: collapse;vertical-align: top;width: 100%;max-width: 500px;color: #333;background-color: transparent" cellpadding="0" cellspacing="0" width="100%" bgcolor="transparent">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;text-align: center;font-size: 0">
<!--[if (gte mso 9)|(IE)]>
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<![endif]-->
<div class="col num12" style="display: inline-block;vertical-align: top;width: 100%">
<table style="border-spacing: 0;border-collapse: collapse;vertical-align: top" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr style="vertical-align: top">
<td style="word-break: break-word;-webkit-hyphens: auto;-moz-hyphens: auto;hyphens: auto;border-collapse: collapse !important;vertical-align: top;padding-top: 10px;padding-right: 10px;padding-bottom: 10px;padding-left: 10px">
<div style="color:#555555;line-height:120%;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<div style="font-size: 18px; line-height: 21px; text-align: center;color: #555555;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height: 22px" data-mce-style="font-size: 18px; line-height: 21px; text-align: center;"><span style="font-size:14px; line-height:22px;">You received this email because you purchased a ticket for WordCamp Pune 2015, thereby subscribing to updates with the email address: <?php echo $email; ?>.</span><br><span style="font-size:14px; line-height:22px;"><span style="text-decoration: underline; line-height: 16px; font-size: 14px;" data-mce-style="text-decoration: underline; line-height: 16px; font-size: 14px;"><strong><a style="font-size: 14px; line-height: 16px;;color:#ef7c00" href="http://pune.wordcamp.org/2015/contact/" target="_blank" data-mce-href="http://pune.wordcamp.org/contact/">Contact us</a></strong></span> for any help with this ticket.</span></div>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<!--[if (gte mso 9)|(IE)]>
</td><td>
<![endif]-->
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr>
</tbody></table>
</body></html>