| Current Path : /var/www/cesa.co.za/members/saaceadmin/ |
| Current File : /var/www/cesa.co.za/members/saaceadmin/ADdisplayDone.php4 |
<html>
<head>
<title>Annual Declaration Admin page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#CCCCCC">
<?php include( 'inc/menu.inc' ); ?>
</td>
</tr>
<tr>
<td>
<h3><font face="sans-serif" color="#666666">Display Records:</font><font face="sans-serif">
ADec_Done </font></h3>
<p>
<?php
include("../inc/conf.inc");
mysql_connect("$server","$user","$pass") or die("Unable to connect to SQL server");
mysql_select_db("$db") or die("Unable to select database");
// ** ADEC_TBLMEMBERFIRMS
// **********************
$query = "SELECT * FROM ADec_Done";
$result = mysql_query($query) or die("Select of id Failed");
echo "<table width=\"100%\" border=\"1\" cellpadding=\"2\" cellspacing=\"0\">";
echo "<tr bgcolor=\"#336699\">
<th valign=\"top\"><font color=\"#CCCCCC\" size=\"2\">ADecID</font></th>
<th valign=\"top\"><font color=\"#CCCCCC\" size=\"2\">RefId</font></th>
<th valign=\"top\"><font color=\"#CCCCCC\" size=\"2\">RefType</font></th>
<th valign=\"top\"><font color=\"#CCCCCC\" size=\"2\">RefDoc</font></th>
<th valign=\"top\"><font color=\"#CCCCCC\" size=\"2\">ADecDate</font></th>
<th valign=\"top\"><font color=\"#CCCCCC\" size=\"2\">ACTION</font></th>
</tr>";
while ($rs = mysql_fetch_array($result))
{
echo "<tr>
<td valign=\"top\"><font size=\"2\">".$rs['ADecID']."</font></td>
<td valign=\"top\"><font size=\"2\">".$rs['RefID']."</font></td>
<td valign=\"top\"><font size=\"2\">".$rs['RefType']."</font></td>
<td valign=\"top\"><font size=\"2\">".$rs['RefDoc']."</font></td>
<td valign=\"top\"><font size=\"2\">".$rs['ADecDate']."</font></td>
<td valign=\"top\"><font size=\"2\">" ?>
<?php $ADecID = $rs['ADecID']; $NewFile = "ADeditDone.php4"; printf ("<a href=\"%s?ADecID=%s\")'>EDIT</a>\n", $NewFile, $ADecID); "</td> </tr>";
}
echo "</table>";
?>
</td>
</tr>
<tr>
<td bgcolor="#CCCCCC"><?php include( 'inc/footer.inc' ); ?></td>
</tr>
</table>
</body>
</html>