Location: PHPKode > projects > Network Asset Management Archive > nama/iaso/iasolist.php
<?php
include "../connect.php";
$Submit = $_POST['Submit'];
$OWNER = $_POST['OWNER'];
$LIASO = $_POST['LIASO'];
$SERIAL = $_GET['SERIAL'];
if ($SERIAL == '') { 
    print '<body text="#000000" bgcolor="#F9F3E0" link="#000000" vlink="#000000" alink="#000000">';
    print 'Please Pick a lab to edit';
    exit; 
}
$now = date("j/m/y h:i:s",time());
$liaso = "Select o.DISPLAY_NAME, o.PHONE, o.email_address, l.DESCRIPTION from owner o, lab l where (l.serial = '$SERIAL') and (l.liaso = o.serial)";
$liasoq = ibase_query($dbh, $liaso);
$liasorow = ibase_fetch_object($liasoq);
print '<B>LAB:	</B>' . $liasorow->DESCRIPTION . '<BR>';
print '<B>Lead IASO:	</B>' . $liasorow->DISPLAY_NAME . '<BR>';
print '<B>EMAIL	</B>' . $liasorow->EMAIL_ADDRESS . '<BR>';
print '<B>PHONE	</B>' . $liasorow->PHONE . '<BR>';
?>
<BR><BR>
<body text="#000000" bgcolor="#F9F3E0" link="#000000" vlink="#000000" alink="#000000">
<table BORDER=0>
<tr ALIGN=CENTER BGCOLOR="#DBB748">
<td><b><font face="Times New Roman,Times">Name</font></b></td>

</tr>

<?
$stmt = "Select b.DISPLAY_NAME, b.email_address, b.phone, a.serial, a.date_added, a.USER_NO FROM iaso a, owner b where (liaso_no = '$SERIAL') and (a.USER_NO = b.serial) order by DISPLAY_NAME;";
$sth = ibase_query($dbh, $stmt);
while ($row = ibase_fetch_object($sth)) {

print '<td><a href="/iaso/edit.php?iaso=' . $row->USER_NO . '" target="_top"><b>' . $row->DISPLAY_NAME . '&nbsp</a></td>';
echo '</tr>';
}
echo '</table>';
?>

Return current item: Network Asset Management Archive