<table width="980" border="0" cellpadding="0" cellspacing="0" align="center" class="ft2">
  <tr>
    <td valign="top">
	<?
	$title="The Best Marketplace";
	require 'templates/'.$tfold.'/header.php';?>
	</td>
  </tr>
  <?
/*  if($status==1)
 {
?>
<tr><td>
<br><br>
<table align="center" cellpadding="10" cellpadding="5" cellspacing="0">
<tr>
<td>
<br>
<br><b>Thank You,Your Message Successfully sent to the <?= $buyer_name; ?>.</b>
<br>
<br></td></tr>
<br><br>
<tr align="center" ><td align="center"><br><a href="index.php"><b>Ok</b></a>
<br><br></td></tr>
</table></td></tr>

<!-- <tr><td>
<? 
// require  'templates/'.$tfold.'/footer.php' ;
?>
</td></tr>
</table> -->
<?
 //exit();
} */
?>
  <tr><td>
  <body>
  <form name=form1 action=sendmail.php method=get>
  <table border="0" align="center" cellpadding="5" cellspacing="0" width="100%" >
    <tr>
	<td class="tr_border" align="left">
	<b><font size="2">Send Mail</font></b></td>
	</tr>
<? if($status==1)
{
?>
<tr align="center">
<td>
<br>
<br>
<b><font size="2" color="green">Thank You,Your Message Successfully sent to the <?= $buyer_name; ?>.!</font></b>
<br>
<br>
</td></tr>
<? 
}
?>
 <tr align="center"><td align="center">
 <table cellSpacing="0" align="center" cellPadding="0" border="0" width=50%>
<tr>
<td width=20><b>To:</b>&nbsp;&nbsp;</td><td><?= $buyer_name;?></td>
</tr>	 
<br><br>
<tr>
<td width=20><p><br><b> From:</b>&nbsp;&nbsp;</p>
  </td><td><?= $_SESSION[username]; ?></td>
</tr>
<tr>
<td nowrap><p> <br><b>Subject: </b>&nbsp;&nbsp;  </p>  </td><td><?=$send_rec[producttitle]; ?></td>
</tr>
<tr>
<td colspan="2" align="left"> <br>
            <b>Enter Your Message :</b> </td>
        </tr>
<tr>
<td colspan="2" align="center">
<br>
<textarea name="message" rows="4" cols="50"></textarea></td></tr>
<tr>
<td align="center" colspan="2">
<input type="hidden" name=flag value="1">
<input type="hidden" name=buyer_id value=<?= $buyer_id; ?>>
<input type="hidden" name=productid value=<?= $productid; ?>>
<input type="hidden" name="buyer_name" value=<?= $buyer_name; ?>>
 <br><input class="submit_button" type="submit" value="Send"></td></tr>

</table>
</td></tr>
		</td></tr>
		</form>
		<tr><td>
		<? require 'templates/'.$tfold.'/footer.php'?>
		</td></tr>
		</table>
  </body>
  </html>