require("donjon/admin/lib/config.inc.php3");
session_start();
$req1=mysql_query("SELECT count(*) FROM lewis where valide=0 AND type=1");
$nb1=mysql_result($req1,0,0);
$req2=mysql_query("SELECT count(*) FROM lewis where valide=0 AND type=2");
$nb2=mysql_result($req2,0,0);
$req3=mysql_query("SELECT count(*) FROM news where propo=1 AND valide=0 AND sup=0");
$nb3=mysql_result($req3,0,0);
$req4=mysql_query("SELECT count(*) FROM articles where propo=1 AND valide=0 AND sup=0");
$nb4=mysql_result($req4,0,0);
?>
Bibou.org