Файл: style/themes/web/foot.php
Строк: 24
</td></tr>
</table>
</td></tr>
</table></div></div>
<div class="bottom">
<?
echo "<div class='foot_page'>n";
echo '' . htmlspecialchars($_SERVER['HTTP_HOST']) . ' © 2014</a> ';
echo "<a href='/user/users.php'> Зарегистрировано ".mysql_result(mysql_query("SELECT COUNT(*) FROM `user`"), 0)."</a> n";
echo "<a href='/online.php'> Онлайн ".mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > ".(time()-600).""), 0)."</a> ";
echo "<a href='/online_g.php'> Гостей ".mysql_result(mysql_query("SELECT COUNT(*) FROM `guests` WHERE `date_last` > ".(time()-600)." AND `pereh` > '0'"), 0)."</a> n";
echo "<a href='/?t=wap'> Мобильная версия</a>";
echo "<span class='footer_menu'>";
if (isset($user)) {
?><?=user::nick($user['id'])?><?
}
if (user_access('adm_panel_show')){
echo "<a href='/plugins/admin/'>n";
echo "Админка ";
include_once H."plugins/admin/count.php";
echo "</a>";
}
if (isset($user)) {
echo " <a href='/exit.php'>Выход</div></a>";
}
echo "</span>";
if (!isset($user)) {
echo '<span class="footer_r"><a href="/reg.php">Зарегистрироваться</a></span>';
}
echo "</div>n";
exit;
?>