Файл: index.php
Строк: 75
<?
//tdgsbtr
include_once 'sys/inc/start.php';
include_once 'sys/inc/compress.php';
include_once 'sys/inc/sess.php';
include_once 'sys/inc/home.php';
include_once 'sys/inc/settings.php';
include_once 'sys/inc/db_connect.php';
include_once 'sys/inc/ipua.php';
include_once 'sys/inc/fnc.php';
include_once 'sys/inc/user.php';
include_once 'sys/inc/icons.php'; // Иконки главного меню
include_once 'sys/inc/thead.php';
title();
err();
if (!$set['web'])
{
echo "<div class=''>n";
if (isset($user)){
echo "<div class="bzx4">
<img src='/style/themes/default/img/userz.png' alt='*'> <a href='/info.php?id=$user[id]' class = 'open' color = '#fff;'>Моя страница</a> <a href="exit.php" class = 'open'>Выход</a></div>";
}else{
echo "<div class="auts4">Добро пожаловать, Гость!</div><div class="bzx4" ><img src='/style/themes/default/img/userz.png' alt='*'> <a href='aut.php' class = 'open'>Вход</a> <a href='/reg.php' class = 'open'>Регистрация</a></div>";
}
echo "</div>";
include_once 'sys/inc/news_main.php'; // новости
echo "<div class='main'>";
echo "<center> Онлайн: <a href='/online.php'>".mysql_result(mysql_query("SELECT COUNT(`id`)FROM `user` WHERE `date_last`>'".(time()-600)."'"),0)."</a>n";
echo "+ <a href='/online_g.php'>" . mysql_result(mysql_query("SELECT COUNT(*) FROM `guests` WHERE `date_last` > " . (time() - 600) . " AND `pereh` > '0'"), 0) . " гостей</a> </div>";
include_once H.'sys/inc/main_menu.php';
include_once H.'plugins/notes/notelist.php';
}else{
include_once 'style/themes/'.$set['set_them'].'/index.php'; // главная web темы
}
include_once 'sys/inc/tfoot.php';
?>