session_start(); include("header.htm"); include("connectusers.php"); include("/var/www/html/root/functions/func.inc.php"); $ngay=testQuery($_GET["day"]); $sql="select noidung.user,users_ql.ten,users_ql.address,count(noidung.id) as tong,users_ql.ten from noidung INNER JOIN users_ql on users_ql.user=noidung.user where noidung.hienthi<>'2' and ngay='$ngay' group by user order by tong desc"; //echo $sql; $result=mysql_query($sql); $num_results=mysql_num_rows($result); echo "
Báo cáo trạng thái website ĐHNL
"; echo "Các trang cập nhật trong ngày $ngay"; echo ""; echo "
\n"; echo " STT | \n"; echo "\n"; echo " Họ tên | \n"; echo "\n"; echo " Địa chỉ | \n"; echo "\n"; echo " Tổng số trang | \n"; echo "
".$k." | \n"; echo "".$row["ten"]." | \n"; echo "".$row["address"]." | \n"; echo "".$row["tong"]." | \n"; echo "
Xem toàn bộ"; mysql_close(); //include ("../footer.htm"); ?>