"); 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 "\n"; if (mysql_num_rows($result)==0) { echo "
"; if ($scan_start!=0) { echo "
\n"; $previous_scan_start=$scan_start-1; echo ""; print "\n"; print "\n"; print "
\n"; } echo"
\n"; echo gettext("fin des logs de scan"); } else { echo ""; echo "
\n"; $next_scan_start=$scan_start+1; echo ""; print "\n"; print "\n"; print "
\n"; echo "\n"; // affichage de la table connexions echo "\n"; echo "\n"; $r=mysql_fetch_array($result); // SUMMARY echo ""; echo ""; //SCAN RESULT echo ""; echo "
Log du scan par clamav
\n"; echo "résumé"; echo "
\n";        
        echo $r["summary"];
        echo "
\n"; echo "Résultat du scan"; echo "
\n";        
        echo $r["result"];
        echo "
\n"; } } } else { $query="SELECT DISTINCT directory FROM clamav_scan"; $result = mysql_query($query); print "
\n"; while ($r=mysql_fetch_array($result)) { print "\n"; print gettext("Log des scans du répertoire ".$r["directory"]); print "
\n"; } print "\n"; print "
\n"; } require ("pdp.inc.php"); ?>