PK

ADDRLIN : /home/anibklip/pcfcindia.com/dump/
FLL :
Current File : /home/anibklip/pcfcindia.com/dump/agentdetail.php

<?php
include("connexion.php");
include "head.php";
?>
</table>
<br><br>
<p align="left"><font color="#006699">&nbsp;&nbsp;Monthly Statement for Agent </font></p>
<table cellspacing="3" align="center" width="100%" border="4" cellpadding="3">
<tr>
  <td><strong>Date</strong></td>
  <td><strong>Inv. No.</strong></td>
    <td><strong>Cert. No.</strong></td>
  <td><strong>Status</strong></td>
  <td><strong>Amount</strong></td>
</tr>
<?php
$sql="SELECT * FROM invoices Where ajtid='$_GET[clnt]'";
$result=mysql_query($sql) or die('error in fetch');
if (mysql_num_rows($result) == 0)
{
echo "<tr><td colspan=8 align=center><font color=red><strong><br>No Due Invoice records Found </strong>. Please Select the another agent</font><br><br></td></tr>";
}
while($row=mysql_fetch_array($result))
{
	echo"<tr>
	  <td>{$row['dtd']}</td>       <td>{$row['invid']}</td>  <td>{$row['certid']}</td>     <td>{$row['invstatus']}</td>    <td>{$row['grandtotal']}</td></tr>";
}
?>
<tr><td colspan="9" align="center" height="80"><center><a href="search.php"><strong><u>Search again</u></strong></a></center></td></tr>
</table>
<?php
include "foot.php";
?>


PK 99