يوجد حالياً $users زائر من الدول :

"; // action operation system of vistores $query=mysql_query("SELECT * FROM online GROUP BY ip"); while($result=mysql_fetch_array($query)){ $sql_ip=mysql_query("SELECT * FROM ips WHERE ips < INET_ATON('$result[ip]') ORDER BY ips DESC LIMIT 0,1"); $result_ip=mysql_fetch_array($sql_ip); $result_country=mysql_fetch_array(mysql_query("SELECT * FROM countries WHERE code='$result_ip[code]'")); mysql_query("update countries set usr_count=usr_count+1 where code='$result_ip[code]'"); // if country unknowon if($result_country[code]==""){ print "  غير معروف "; }else{ print "  $result_country[country] "; } } //=========Best Visitors Record ============================================== $data_now = date("d-M-Y")." الساعة : " .date("H:i"); $data=mysql_fetch_array(mysql_query("select v_count from bvisitors")); if ($users > $data['v_count']){ echo "

أكبر تواجد كان $users زائر في $data_now

" ; mysql_query("update bvisitors set v_count='$users',time='$data_now'"); }else{ $best=mysql_fetch_array(mysql_query("select * from bvisitors")); echo "

أكبر تواجد كان $best[v_count] زائر $best[time]

" ; } //========================================================================== include("include/footer.php"); ?>