");
echo "
Solution antivirus serveur
\n";
if (isset($directory)) {
print " Log des scans du répertoire".$directory."
\n";
if (! isset($scan_start)) $scan_start=0;
$query=" SELECT * FROM clamav_scan WHERE directory='".$directory."'";
$query .=" ORDER BY id desc ";
$query .="LIMIT $scan_start,1";
$result = mysql_query($query);
if (($result)) {
echo "";
if ($scan_start!=0) {
echo "\n";
}
echo" | \n";
if (mysql_num_rows($result)==0) {
echo " |
\n";
echo gettext("fin des logs de scan");
} else {
echo "";
echo "\n";
echo " | \n";
// affichage de la table connexions
echo "\n";
echo " Log du scan par clamav |
\n";
$r=mysql_fetch_array($result);
// SUMMARY
echo "
";
echo "\n";
echo $r["summary"];
echo " |
";
//SCAN RESULT
echo "
";
echo "\n";
echo $r["result"];
echo " |
\n";
}
}
} else {
$query="SELECT DISTINCT directory FROM clamav_scan";
$result = mysql_query($query);
print "\n";
}
require ("pdp.inc.php");
?>