<?php
$img_url="http://www.thahaayaa.com/Thah2Y3A4M1nL/mail/"; // URL of the website

//$img_url="http://ultra2/projects/thahaayaa/mail/";

$cli_name = $pt_name; // this is for client name 
$login_for='';
$com_name='';

$mail_body = '<html>
<head></head>
<body bgcolor="#fff">
<center><div style="min-height:800px; height:100%; width:650px; background:url('.$img_url.'images/main_bg.png) no-repeat; background-position:left bottom; border:#89ba00 solid 2px;">
	<div style=" margin-top:20px; width:100%; height:120px; border:solid #000000 0px; float:left;">
		<div style="width:15%; height:4px; border:solid #000000 0px; float:left; margin-top:52px; background:url('.$img_url.'images/top_bg.png) repeat;"></div>
		<div style="width:30%; height:60px; margin-top:30px; border:solid #000000 0px; float:left; background:url('.$img_url.'images/logo.png) no-repeat center;background-position:center fixed;"></div>		
		<div style="width:55%; height:4px; border:solid #000000 0px; float: right; margin-top:52px; background:url('.$img_url.'images/top_bg.png) repeat;"></div>
	</div>
<div style="overflow-y:auto; width:100%; border:solid #000000 0px; height:400px; background:url('.$img_url.'images/trn_bg.png) repeat;">	
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="1%">&nbsp;</td>
                <td width="99%" align="left" valign="top"><font style="font-family: Georgia, Times New Roman, Times, serif; color:#010101; font-size:24px"><strong><em>Dear '.$cli_name.', <br> 
 </em><font style="font-family:paqueteSSk; font-size:28px;"></font></strong></font></font>
<font style="font-family: Verdana, Geneva, sans-serif; color:#666766; font-size:13px; line-height:21px"><br />
<font style="font-family: Georgia, Times New Roman, Times, serif; color:#010101; font-size:12px">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thanks for your new order & patronage. This is an acknowledgement mail for your order. Placed on date ('.date('d/m/Y g:i A',strtotime($cur_time)).').
	<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Our sales team will contact you shortly while confirming the order.
<br /><br /></font><br /><br />
On behalf of the Company<br /><br />
<font style="font-family:paqueteSSk; font-size:22px;">Thahaayaa</font> <font style="font-family:Logan; font-size:12px;">Crea-Dons . . . </font></font></td>
                <td width="0%">&nbsp;</td>
              </tr>
             </table></td>
  </tr>
</table>
</div>
<table width="597" height="119" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td height="29" colspan="3" align="center" valign="middle" style="border:solid #89ba00 1px;"><font style="font-family: Georgia, Times New Roman, Times, serif; color:#000000; font-size:15px"><strong><a href="javascript:0" target="_blank" style="color:#000000; text-decoration:none"><em>Contact Us </em></a></strong></font></td>
</tr>
<tr>
<td height="15" align="left" valign="middle" style="border-left:solid #89ba00 1px;">&nbsp;</td>
<td align="left" valign="middle" >&nbsp;</td>
<td align="left" valign="middle" style="border-right:solid #89ba00 1px;">&nbsp;</td>
</tr>
<tr>
<td width="132" height="15" align="left" valign="middle" style="border-left:solid #89ba00 1px;">&nbsp;Order Query</td>
  <td width="9" align="left" valign="middle" ><strong>:</strong></td>
  <td width="433" align="left" valign="middle" style="border-right:solid #89ba00 1px;">S. Karthik, +91-9894347273, sales@thahaayaa.com </td>
</tr>
<tr>
<td width="132" height="15" align="left" valign="middle" style="border-left:solid #89ba00 1px;"></td>
<td height="17" align="center" valign="middle" ></td>
  <td height="17" align="center" valign="middle" style="border-right:solid #89ba00 1px;"></td>
</tr>
<tr>
<td height="16" align="left" valign="middle" style="border-left:solid #89ba00 1px; border-bottom:solid #89ba00 1px;">&nbsp;Accounts Query </td>
  <td height="16" align="left" valign="middle" style="border-bottom:solid #89ba00 1px;"><strong>:</strong></td>
  <td height="16" align="left" valign="middle" style="border-right:solid #89ba00 1px; border-bottom:solid #89ba00 1px;">V. Saravana Kumar,  +91-9843214151, accounts@thahaayaa.com </td>
</tr>
<tr>
<td height="22" colspan="3" align="center" valign="middle" > </td>
</tr>
</table>

<table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
			<tr height="20">			</tr>
              <tr>
                <td width="13%" align="center">&nbsp;</td>
                <td width="14%" align="center"><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#010203; font-size:9px; text-transform:uppercase"><a href= "http://www.thahaayaa.com/" target="_blank" style="color:#010203; text-decoration:none"><strong>Home </strong></a></font></td>
                <td width="2%" align="center"><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#010203; font-size:9px; text-transform:uppercase"><strong>|</strong></font></td>
                <td width="9%" align="center"><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#010203; font-size:9px; text-transform:uppercase"><a href= "http://www.thahaayaa.com/aboutus.php" target="_blank" style="color:#010203; text-decoration:none"><strong>ABOUT </strong></a></font></td>
                <td width="2%" align="center"><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#010203; font-size:9px; text-transform:uppercase"><strong>|</strong></font></td>
               <!-- <td width="10%" align="center"><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#010203; font-size:9px; text-transform:uppercase"><a href= "http://yourlink" style="color:#010203; text-decoration:none"><strong>PRESS </strong></a></font></td>
                <td width="2%" align="center"><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#010203; font-size:9px; text-transform:uppercase"><strong>|</strong></font></td>-->
                <td width="11%" align="center"><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#010203; font-size:9px; text-transform:uppercase"><a href= "http://www.thahaayaa.com/contactus.php" target="_blank" style="color:#010203; text-decoration:none"><strong>CONTACT </strong></a></font></td>
                <td width="2%" align="center"><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#010203; font-size:9px; text-transform:uppercase"><strong>|</strong></font></td>
                <td width="17%" align="center"><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#010203; font-size:9px; text-transform:uppercase"><a href= "http://yourlink" style="color:#010203; text-decoration:none"><strong>STAY CONNECTED</strong></a></font></td>
                <td width="4%" align="right"><a href="https://www.facebook.com/pages/Thahaayaa/381993655345196" target="_blank"><img src="'.$img_url.'images/PROMO-GREEN2_09_01.jpg" alt="facebook" width="23" height="19" border="0" /></a></td>
                <td width="5%" align="right"><a href="https://twitter.com/thahaayaa" target="_blank"><img src="'.$img_url.'images/PROMO-GREEN2_09_02.jpg" alt="twitter" width="27" height="19" border="0" /></a></td>
                <td width="4%" align="right"><a href="https://www.linkedin.com/in/thahaayaa" target="_blank"><img src="'.$img_url.'images/PROMO-GREEN2_09_03.jpg" alt="linkedin" width="25" height="19" border="0" /></a></td>
                <td width="5%">&nbsp;</td>
	  </tr>
	</table>
				
				<table width="100%" cellpadding="0" cellspacing="0">
				<tr height="20">
				</tr>
				<tr>
				<td width="100%" align="center"><p><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#231f20; font-size:13px"><strong>
			    <!--<font style="font-family:paqueteSSk; font-size:14px;">Thahaayaa</font> <font style="font-family:Logan; font-size:8px;">Crea-Dons . . . </font>,--> 
			    243A, Subraminiyampuram, Thirumoorthy Layout,  R.S.Puram, Coimbatore-02, Tamil Nadu, India </strong></font></p>
				  <p><font style="font-family:Myriad Pro, Helvetica, Arial, sans-serif; color:#231f20; font-size:13px"><strong> Tel: 0422-4351080, 4351280 </strong></font></p></td>
				</tr>
    </table>
</div></center>
</body>
</html>';
?>
