View file public_html/top/uch.php
<? include "config2.php"; $link=mysql_pconnect ($DB_HOST, $DB_USER, $DB_PASS); mysql_select_db($DB_NAME); $arr=mysql_query("select id from users where 1;"); $i=mysql_num_rows($arr); $as=mysql_query("select id from users where counthost>=1;"); $asi=mysql_num_rows($as); print "Участвуют:<b> $asi из $i </b><br/>"; ?>