include("../include/irm.inc");
AuthCheck("8");
commonHeader("Email notification and monitoring");
?>
Welcome to the notification section. Choose server/keywords to get email
notification when errors are logged.
include("setup.php"); ?>
$query = "SELECT * FROM contacts ORDER BY name";
$sth = $adb->prepare($query);
if($sth)
{
$res = $sth->execute();
$numRows = $sth->rows();
PRINT "
Name | Phone |
";
for($i = 0; $i < $numRows; $i++)
{
$result = $sth->fetchrow_hash();
$ID = $result["ID"];
$name = $result["name"];
$phone = $result["phone"];
// $license = Count_licenses($ID);
PRINT "\n";
?>
$bgclr="bgcolor='#DDDDDD'";
PRINT "
$name | $phone | ";
PRINT "
";
}
$sth->finish();
} else
{
PRINT "Could not prepare query: ".$sth2->errstr."
\n";
} ?>
commonFooter(); ?>