$def_catalogue | $titlestat "; $incomingline_firm=$titlerating; $help_section = "$statistica_help"; include ( "./template/$def_template/header.php" ); main_table_top ($titlestat); // Counting listings, and gathering statistics $rstat1=$db->query ("select COUNT(*) from $db_users") or die ("mySQL error!"); $rstat2=$db->query ("select COUNT(*) from $db_users where firmstate='on'") or die ("mySQL error!"); $rstat3=$db->query ("select COUNT(*) from $db_users where firmstate='off'") or die ("mySQL error!"); $rstat4=$db->query ("select COUNT(*) from $db_users where flag='A'") or die ("mySQL error!"); $rstat5=$db->query ("select COUNT(*) from $db_users where flag='B'") or die ("mySQL error!"); $rstat6=$db->query ("select COUNT(*) from $db_users where flag='C'") or die ("mySQL error!"); $rstat7=$db->query ("select COUNT(*) from $db_users where flag='D'") or die ("mySQL error!"); $rstat8=$db->query ("select COUNT(*) from $db_offers") or die ("mySQL error!"); $rstat9=$db->query ("select COUNT(*) from $db_offers where type='1'") or die ("mySQL error!"); $rstat10=$db->query ("select COUNT(*) from $db_offers where type='2'") or die ("mySQL error!"); $rstat11=$db->query ("select COUNT(*) from $db_offers where type='3'") or die ("mySQL error!"); $rstat12=$db->query ("select COUNT(*) from $db_category") or die ("mySQL error!"); $rstat13=$db->query ("select COUNT(*) from $db_subcategory") or die ("mySQL error!"); $rstat14=$db->query ("select COUNT(*) from $db_subsubcategory") or die ("mySQL error!"); $rstat15=$db->query ("select COUNT(*) from $db_location") or die ("mySQL error!"); $rstat16=$db->query ("select COUNT(*) from $db_states") or die ("mySQL error!"); $rstat17=$db->query ("select COUNT(*) from $db_reviews where status='on'") or die ("mySQL error!"); $rstat18=$db->query ("select COUNT(*) from $db_reviews where status='off'") or die ("mySQL error!"); $result = $db->query ('SELECT VERSION() AS version'); if ($result != FALSE && @mysql_num_rows($result) > 0) { $row = $db->fetcharray ($result); $match = explode('.', $row['version']); $banhandle = opendir('./banner'); $bancount=0; while (false != ($banfile = readdir($banhandle))) { if ($banfile != "." && $banfile != ".." && $banfile != "_vti_cnf" && $banfile != "index.html") { $bancount++; } } closedir($banhandle); $banhandle2 = opendir('./banner2'); $bancount2=0; while (false != ($banfile2 = readdir($banhandle2))) { if ($banfile2 != "." && $banfile2 != ".." && $banfile2 != "_vti_cnf" && $banfile2 != "index.html") { $bancount2++; } } closedir($banhandle2); $logohandle = opendir('./logo'); $logocount=0; while (false != ($logofile = readdir($logohandle))) { if ($logofile != "." && $logofile != ".." && $logofile != "_vti_cnf" && $logofile != "index.html") { $logocount++; } } closedir($logohandle); $logohandle2 = opendir('./gallery'); $logocount2=0; while (false != ($logofile2 = readdir($logohandle2))) { if ($logofile2 != "." && $logofile2 != ".." && $logofile2 != "_vti_cnf" && $logofile2 != "index.html") { $logocount2++; } } closedir($logohandle2); ?>

Всего компаний:

Одобрено:
Ожидающих проверки:

Всего комментариев:
Комментарии ожидающие проверки:



:
:
:


Размещено в тарифных планах:
:
:
:
:


:
:
:

:
:

:
:
:
: