Location: PHPKode > projects > Network Asset Management Archive > nama/liaso/iavalist.php
<?php
include "../connect.php";
$Submit = $_POST['Submit'];
$LABNAME = $_GET['LABNAME'];
$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());
?>
<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 first 15 NUM from vulnerability where (vuln_type='1') and (replaced is null) order by COMP_DATE, NUM DESC";
//$stmt = "Select first 15 NUM from vulnerability where (vuln_type='1') order by NUM DESC";
$sth = ibase_query($dbh, $stmt);
while ($row = ibase_fetch_object($sth)) {

print '<td><a href="/liaso/reportiava.php?lab=' . $SERIAL . '&vnum=' . $row->NUM  . '&LABNAME=' . $LABNAME  . '" target="_top"><b>' . $row->NUM . '&nbsp</a></td>';
echo '</tr>';
}
echo '</table>';
?>

Return current item: Network Asset Management Archive