File: /var/www/vhosts/paiskincare.com/httpdocs2/offer/message/index.php
<?php
if (!isset($recipientname)) {
$recipientname='[recipient name]';
$sendername='[sender name]';
$vouchercode='[vouchercode]';
$messagehtml='<p>[personal message, if provided]</p>';
$issender=$_GET['issender'];
}
?><html>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" bgcolor="#F2F2F2">
<table border="0" cellpadding="0" cellspacing="0" width="751">
<tr height="27">
<td bgcolor="#F2F2F2" rowspan="2" valign="top"><img src="http://www.paiskincare.com/offer/message/images/top-left.png" width="35" height="150" /></td>
<td bgcolor="#F2F2F2" width="670" style="background: url('http://www.paiskincare.com/offer/message/images/top-middle.png') bottom left repeat-x;"></td>
<td bgcolor="#F2F2F2" rowspan="2" valign="top"><img src="http://www.paiskincare.com/offer/message/images/top-right.png" width="46" height="150" /></td>
</tr>
<tr height="150">
<td bgcolor="#FDFDFD" rowspan="3" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="670">
<tr height="15">
<td colspan="5"></td>
</tr>
<tr height="15">
<td rowspan="2" width="43"></td>
<td width="344" align="left" valign="top">
<a href="http://www.paiskincare.com/?setcountry=1&setcurrency=GBP"><img src="http://www.paiskincare.com/offer/images/logo.png" width="186" height="83" alt="Pai logo" border="0" /></a>
<p><font face="Helvetica, Arial, sans-serif" size="5" color="#DF3367">£10 Pai Gift Voucher</font></p>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">Dear <?php echo htmlspecialchars($recipientname) ?></font></p>
<?php if ($issender) { ?>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">Thank you for helping us spread the word about Pai Skincare.</font></p>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">Your friends have all been emailed their £10 Pai gift voucher.</font></p>
<?php } else { ?>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">Your friend <?php echo htmlspecialchars($sendername) ?> thought that you would like a £10 voucher to spend on organic skin care goodies at Pai Skincare this Christmas.</font></p>
<?php } ?>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">Your Voucher Code is:</font><br/>
<font face="Helvetica, Arial, sans-serif" size="4" color="#46575F"><b><?php echo htmlspecialchars($vouchercode) ?></b></font><br/><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">(valid until 3rd January 2012)</font></p>
<?php if ($issender) { ?>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">Best wishes,</font></p>
<p>Pai Skincare<br/>
<a href="http://www.paiskincare.com"><font face="Helvetica, Arial, sans-serif" size="3" color="#46575F">http://www.paiskincare.com</font></a> (<a href="http://www.paiskincare.com/multi-buy-offers-6/?setcountry=1&setcurrency=GBP">Offers here</a>)</p>
<?php } ?>
</td>
<td width="48"></td>
<td width="199" align="left" valign="top"><img src="http://www.paiskincare.com/images/newsletter_images/dec11/xmas_email.jpg" width="176" height="383" alt="Gift Voucher"></td>
<td rowspan="2" width="36"></td>
</tr>
<tr>
<td colspan="3">
<?php if (!$issender) { ?>
<?php if ($messagehtml) { ?>
<hr/>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F"><?php echo htmlspecialchars($sendername) ?> wanted to say this to you:</font></p>
<font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">
<?php echo ($messagehtml) ?>
</font>
<hr/>
<?php } ?>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">Please enter your code at checkout - there is a £20 minimum basket size excluding delivery
(so a £10 minimum spend, excluding delivery, once the voucher is applied).</font></p>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">We have NOT retained your email address.</font></p>
<p><a href="http://www.paiskincare.com/?setcountry=1&setcurrency=GBP" style="text-decoration: none;"><font face="Helvetica, Arial, sans-serif" size="2" color="#DF3367" style="text-decoration: none;">Click here to visit Pai Skincare now »</font></a></p>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F"><b>Would you like to send three of your friends a £10 voucher too?</b></font><br/>
<font color="#46575F" size="2" face="Helvetica, Arial, sans-serif"><a href="http://paiskincare.com/offer/">Please visit this page.</a></font></p>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F"><b>About Pai Skincare:</b></font><br/>
<font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">Pai is an Award Winning**) range of organic skin care products, certified by the Soil Association.</font></p>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">(**</font><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">Harpers Bazaar just awarded our <a href="http://www.paiskincare.com/rosehip-bioregenerate-fruit-seed-oil-blend-22?setcountry=1&setcurrency=GBP">Rosehip Oil</a> their "Miracle Worker" prize!)</font></p>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">The range is perfect for sensitive skin as we leave out irritating ingredients such as alcohol, parabens, petrochemicals and phenoxyethanol.</font></p>
<p><font face="Helvetica, Arial, sans-serif" size="2" color="#46575F">If you do not know the person who sent you this voucher, please just ignore this message.
Your details have not been retained.</font></p>
<?php } ?>
<p style="font-family: Helvetica, Arial, sans-serif;
font-size: 14px;
padding-left:35px;
padding-right:35px;
font-weight: normal;
line-height:18px;
font-variant: normal;
" align="center"><a href="http://www.paiskincare.com" style="color: #5F5F5F;
text-decoration:none;">www.paiskincare.com</a></p>
<p style="font-family: Helvetica, Arial, sans-serif;
font-size: 11px;
padding-left:35px;
padding-right:35px;
font-weight: normal;
line-height:18px;
font-variant: normal;
color: #5F5F5F;
text-decoration:none;" align="center">Pai Skincare Ltd - 11 Devonshire Mews - London - W4 2HA - +44(0)20 8994 4656</p>
</td>
</tr>
</table>
</td>
</tr>
<tr height="<?php echo $issender ? 170 : 500 ?>">
<td bgcolor="#F2F2F2" style="background: url('http://www.paiskincare.com/offer/message/images/middle-left.png') top right repeat-y;"></td>
<td bgcolor="#F2F2F2" style="background: url('http://www.paiskincare.com/offer/message/images/middle-right.png') top left repeat-y;"></td>
</tr>
<tr height="143">
<td bgcolor="#F2F2F2" rowspan="2" valign="bottom"><img src="http://www.paiskincare.com/offer/message/images/bottom-left.png" width="35" height="143" /></td>
<td bgcolor="#F2F2F2" rowspan="2" valign="bottom"><img src="http://www.paiskincare.com/offer/message/images/bottom-right.png" width="46" height="143" /></td>
</tr>
<tr height="31">
<td bgcolor="#F2F2F2"><img src="http://www.paiskincare.com/offer/message/images/bottom-middle.png" width="670" height="31" /></td>
</tr>
</table>
</td>
</tr>
</table>
</head>
</html>