0byt3m1n1
Path:
/
data
/
17
/
1
/
18
/
11
/
1670011
/
user
/
1801231
/
htdocs
/
[
Home
]
File: submit_make_offer.php
<? $msg= "<table width='420px' border='0' align='center' cellpadding='0' cellspacing='0'> <tr> <td height='23' colspan='2' align='left' valign='middle' bgcolor='#169AFF' class='style4' style='padding:5px;'>".$row_catalog['catalog_name']." >> ".$row_product_list['product_name']."</td> </tr> <tr> <td align='center' valign='middle' style='padding:10px;' width='".$small_width."'> <img src='http://www.pimpthatbedstore.com/".$row_product_list['product_main_image_path']."' width='".$small_width."' height='".$small_height."' border='1' alt='".$row_product_list['product_small_description']."'> </td> <td align='left' valign='top' class='style3' style='padding:10px;'>".str_replace('<p>','',$row_product_list['product_small_description'])."</td> </tr> <tr> <td colspan='2' align='center' valign='top'> <table width='400' border='0' cellspacing='0' cellpadding='1' style='border:1px solid #006699'> <tr> <td width='155' align='right' valign='middle' class='style1'><span class='style1'>Product Current Price </span>: </td> <td width='245' align='left' valign='middle' class='style3'>$ ".$row_product_list['product_price']."</td> </tr> <tr> <td align='right' valign='middle' class='style1'>Customer Offer Price </td> <td align='left' valign='middle' class='style1'> $".$_POST['offer_price']."</td> </tr> <tr> <td align='right' valign='middle' class='style1'>Customer Name </td> <td align='left' valign='middle' class='style1'> ".$_POST['name']."</td> </tr> <tr> <td align='right' valign='middle' class='style1'>Customer Email </td> <td align='left' valign='middle' class='style1'> ".$_POST['email']."</td> </tr> <tr> <td align='right' valign='middle' class='style1'>Contact No. </td> <td align='left' valign='middle' class='style1'> ".$_POST['contact']."</td> </tr> </table> </td> </tr> </table>"; $to="andy@pimpthatbed.com"; //$to="r_raj_d@yahoo.com"; //$cc="orders@onlinerasoi.com"; //$cc="orders@onlinerasoi.com"; $from=$_POST['email']; $subject = "New Offer Qoute : pimpyhatbedstore.com"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'To: '.$to. "\r\n"; $headers .= 'From:' .$from. "\r\n"; if(mail($to, $subject, $msg, $headers)) { echo "<center>Thanks for your Offer.</center><br><br><p>We have received your Offer Quotation. We will contact you soon.</p>"; } ?>