Просмотр файла style/styles/default/foot.php

Размер файла: 1.02Kb
<?php
$onlin = mysql_query("SELECT * FROM `users` WHERE `time` > '$timeo' ORDER BY `time`");
$count = mysql_num_rows($onlin);
echo "<div class=footer>\n";
$onlineusers = mysql_result(mysql_query("SELECT COUNT(*) FROM `users` WHERE `time` > '".(time()-600)."'"), 0).'';
$regusers = mysql_query("SELECT * FROM `users`");
$reguser = mysql_num_rows($regusers);
$regmans = mysql_query("SELECT * FROM `users`  WHERE `gender` = '1'");
$regman = mysql_num_rows($regmans);
$regwomans = mysql_query("SELECT * FROM `users`  WHERE `gender` = '2'");
$regwoman = mysql_num_rows($regwomans);
echo "Регистраций: <a href='users.php'><b>$reguser</b></a><br>\n";
echo "Парней: <b>$regman</b> | \n";
echo "Девушек: <b>$regwoman</b><br>\n";
echo "На сайте: <a href='online.php'><b> $onlineusers";
echo "</b></a> ";
echo case_onlines($onlineusers, array('чатер', 'чатера', 'чатеров'));
echo '<br />';
echo $config_copy;
echo "</div>\n";
echo '</tr></td>';
echo "</body>\n";
echo "</html>\n";
?>