Размер файла: 1.24Kb
<?php
##################################
# stat.php #
##################################
# Форум на MySQL #
#Афтар : Morgan #
#ICQ : 530-648 #
#Email : [email protected] #
##################################
require_once 'includes/start.php';
require_once 'includes/functions.php';
require_once 'includes/db.php';
require_once 'includes/avt.php';
require_once 'includes/other.php';
require_once 'includes/head.php';
echo '</div><div class="main">
<b>Статистика форума</b>
</div><div class="fon">';
echo 'Юзеров : <b>'.mysql_num_rows(mysql_query('SELECT id FROM `users`')).'</b><br />
Забаненых : <b>'.mysql_num_rows(mysql_query('SELECT id FROM `ban_users`')).'</b><br />
Форумов : <b>'.mysql_num_rows(mysql_query('SELECT id FROM `forums`')).'</b><br />
Тем : <b>'.mysql_num_rows(mysql_query('SELECT id FROM `themes`')).'</b><br />
Сообщений : <b>'.mysql_num_rows(mysql_query('SELECT id FROM `posts`')).'</b><br />
</div><br />
';
require_once 'includes/foot.php';
##################################
# © Все права защищены #
##################################
?>