Файл: file_9935/index.php
Строк: 505
<?
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/thead.php';
err();
################################################################################
################################################################################
echo '</div>';
te();
if (!$set['web'])
{
?>
<div class='sx'>
<a href="/online.php" title="онлайн" style="color:#cdcecf; text-decoration: none; ">
<font color="#ffffff" size="2"><b> Онлайн </font>
<font color="#ffffff"><?=mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > ".(time()-2000).""), 0)?></b></font>
<td><tr>
</div> <div class='bzx4'>
<?
if (isset($user))
{
?>
<div align="center">
<a href="/info.php" class="ua">Профиль</a> <a href="exit.php" class="ua2">Выход</a>
</div>
</a></td><td>
<?
}
else
{
?>
<div align="right">
<a href="/aut.php" class="ua">Вход</a> <a href="/reg.php" class="ua2">Регистрация</a>
</div>
</td></tr>
<?
}
?></div>
<?
################################################################################
echo '</div>';
//te();
echo '</div>';
################################################################################
//if (isset($user))
//{
//echo "<div class='menu'> <img src='/style/icons/users1.png' title='Моя страница' /> <a href='/info.php'>Моя страничка</a> | <a href='/umenu.php'>меню</a> | <a href='/exit.php'>выход</a></div>";
///}
//else
//{
//echo "<b><div class='menu'> <img src='/style/icons/aut.png' alt=''/> <a href='/aut.php'><font color='green'>Вход</font></a> | <img src='/style/icons/reg.png' alt='' /> <a href='/reg.php'><font color='red'>Регистрация</font></a> <font color='red'></font> </b></div>n";
//}
//if (user_access('adm_panel_show')){
//echo "<div class='gmenu'><img src='/style/icons/users1.png' title='' /> <a href='/adm_panel/'>Админ панель</a> | <a href='/adm_chat/'>Админ кабинет </a><span class='cnt'>[";
//@require H.'adm_chat/count.php';
// echo "]</span><br/>n";
//echo "</div>n";}
################################################################################
################################################################################
if (!$set['web'])
include_once 'sys/inc/rekl_main.php'; // реклама
################################################################################
if(isset($user))
{
include_once 'sys/inc/bonus.php';
}
include ('services/photo_lineup/photo_lineup.statusinc.php');
include_once H.'/moduls/vip.statusinc.php';
$vip=mysql_query("SELECT * FROM `user` WHERE `akimitsu_vip` > '0' ORDER BY rand() LIMIT 1");
if (mysql_num_rows($vip)>0) {
$vip = mysql_fetch_assoc($vip);
echo "<div class='in'>n";
echo "".avatar2($vip['id'])." ";
echo "".on($vip['id'])."n";
echo "".on_status($vip['id'])."";
echo "".status($vip['id'])."";
echo "<a href='/info.php?id=$vip[id]'>n";
echo GradientText("$vip[nick]", "$vip[ncolor]", "$vip[ncolor2]");
echo "</a>n";
echo "".vip($vip['id'])."n";
echo "".medal($vip['id'])."";
echo " ".wap_web($vip['id'])." ";
//echo " <a href='/info.php?id=$vip[id]'>$vip[nick]</a><br>n";
echo "<br/>".$vip['akimitsu_vip_text']."<br/>";
echo "</div>n";
}
echo "</div>n";
echo "<a href='/news/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Новости <span class='cnt'>";
@include H.'news/count.php';
echo "</span><br/> n";
echo "</div>n";
//include_once 'sys/inc/news_main.php';
//include_once 'news/vuvod.php';
//include 'news/na_glav.php';
//echo "<div class='main_menu'>n";
echo "<div class='b4'>";
include_once 'sys/inc/news_main.php';
include_once 'sys/inc/cenv.php';
$xhata_brodaga = mysql_fetch_assoc(mysql_query("SELECT * FROM `user` WHERE `ank_d_r` = '" . date('d') . "' AND `ank_m_r` = '" . date('m') . "' ORDER by rand() LIMIT 1"));
if ($xhata_brodaga['id'])
{
echo "</div>n";
echo "<div class='str'>n";
echo '<table cellspasing="0" cellpadding="0" style="width:100%">';
echo '<tr>';
echo '<td style="vertical-align:top;">';
echo "".avatar2($xhata_brodaga['id'])."n";
echo on_status($xhata_brodaga['id']);
echo status($xhata_brodaga['id']);
echo "<a href='/info.php?id=$xhata_brodaga[id]'>n";
echo GradientText("$xhata_brodaga[nick]", "$xhata_brodaga[ncolor]", "$xhata_brodaga[ncolor2]");
echo "</a>n";
echo "</b></a>n";
echo medal($xhata_brodaga['id']);
echo wap_web($xhata_brodaga['id']);
echo "</br>n";
//echo online($xhata_brodaga['id']) . '<br />';
echo '<img src="/style/themes/sex/img/10.png" /><font style="color:#0000CD"> День рождения</font>';
echo '</td>';
echo '<td style="width:50px; vertical-align:top; text-align:center; float:right;">';
echo '<font style="color:red; font-size:x-small;">сегодня</font>';
echo '<br /><a href="/present/present.php?user=' . $xhata_brodaga['id'] . '"><img src="/style/themes/sex/img/10.png" /></a>';
echo '</td>';
echo '</tr>';
echo '</table>';
}
echo '</div>';
echo "<a href='/imennik/den_roz.php'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='brodaga' /> Дни рождения";
echo ' (';
@include H.'imennik/den_count.php';
echo ')';
echo "</div>n";
echo "<a href='/znakomstva/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Знакомства <span class='cnt'>[";
@include H.'znakomstva/count.php';
echo "]</span> </div>n";
$v_p=mysql_result(mysql_query("SELECT COUNT(*) FROM `gazeta`",$db), 0);
$v_n= mysql_result(mysql_query("SELECT COUNT(*) FROM `gazeta` WHERE `time` > '".(time()-86400)."'",$db), 0);
if ($v_n==0)$v_n=NULL;
else $v_n='/+'.$v_n;
$v_v = "$v_p$v_n";
echo "<a href='/gazeta/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Газета сайта [$v_v]<span class='cnt'>";
//@include H.'/photo_battle/count.php';
echo " </span><br/> </div>n";
echo "<a href='/guest/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Беседка <span class='cnt'>";
@include H.'guest/count.php';
echo "</div>n";
$q=mysql_query("SELECT * FROM `war` WHERE `status` = '1' ORDER BY `id` DESC LIMIT 1");
while ($post = mysql_fetch_assoc($q))
{
echo '
</a><div class="p_m" style="background-color: #ffe4ef;">
<img src="/style/themes/sex/img/10.png" /> <a href="/war/wars.php?id='.$post['id'].'">Война Полов</a>- Поддержи своих!
<table style="width: 100%;">
<tr>
<td style="width: 50px;">
<a href="/war/"><img src="/war/img/icon.png" /></a>
</td>
<td style="padding: 2px;">
<div style="padding: 2px;">
Девушки '.$post['female_r'].'%
</div>
<div style="position: relative; width: 100%; height: 4px;">
<div style="position: absolute; width: '.$post['female_r'].'%; height: 4px; background-color: #ffa8f4;"></div>
</div>
<div style="padding: 2px;">
Парни '.$post['male_r'].'%
</div>
<div style="position: relative; width: 100%; height: 4px;">
<div style="position: absolute; width: '.$post['male_r'].'%; height: 4px; background-color: #96ed94;"></div>
</div>
</td>
</tr>
</table>
</div>
';
}
echo "<a href='/forum/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Форум <span class='cnt'>[";
@include H.'forum/count.php';
echo "]</span><br/> </div>n";
echo "</div><a href='/chat/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Наш Чат <span class='cnt'>[";
@include H.'chat/count.php';
echo "]</span><br/> </div>n";
echo "<a href='/interaktiv/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Викторина <span class='cnt'>[";
@include H.'interaktiv/count.php';
echo "] <font color='red'>New</font></span><br/> </div>n";
echo "<a href='/dnev/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Дневники <span class='cnt'>[";
@include H.'dnev/count.php';
echo "]</span><br/> </div>n";
echo "<a href='/MicroBlogs/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> МикроБлоги <span class='cnt'>[";
@include H.'/MicroBlogs/MicroBlogs.Count.php';
echo "] </span><br/> </div>n";
echo "<a href='/shared/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Зона обмена<span class='cnt'></div>";
echo "<a href='/albums/all/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Фотоальбомы <span class='cnt'>";
@include H.'albums/count.php';
echo "]</span><br/> </div>n";
echo "<a href='/fotokr/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Фотоконкурсы <span class='cnt'>[";
@include H.'fotokr/count.php';
echo "]</span><br/> </div>n";
echo "<a href='/photo_battle/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Фото-баттлы <span class='cnt'>[";
@include H.'/photo_battle/count.php';
echo "] </span><br/> </div>n";
echo "<a href='/contests/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Акции и конкурсы <span class='cnt'>[";
@include H.'/contests/count.php';
echo "] </span><br/> </div>n";
echo "<a href='/flirt/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' class='icon'/> Флиртомания <span class='cnt'>(";
@include H.'flirt/count.php';
echo ") </span></div>n";
echo "<a href='/klan/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' class='icon'/> Кланы <span class='cnt'>";
@include H.'klan/count.php';
echo "</span></div>n";
echo "<a href='/garem/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Гаремы <span class='cnt'>[";
@include H.'garem/count.php';
echo "] (рейтинги)</span> </div>n";
echo "</div>n";
echo "<a href='/weddings/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Загс SexLov <span class='cnt'>";
@include H.'weddings/count.php';
echo " </span></div>n";
echo "<a href='/foto_duel/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Фото-дуэли <span class='cnt'>[";
@include H.'/foto_duel/count.php';
echo "] </span><br/></div>n";
//include_once H.'foto_duel/inc/inc_glav.php';
//echo "<a href='/pricol_img/'><div class='gmenu'><img src='/style/m/15.png' alt='' /> Фото-прикол <span class='cnt'>[";
///@include H.'pricol_img/count.php';
//echo "]</span><br/> </div>n";
echo "</div>n";
//include ('services/photo_lineup/photo_lineup.statusinc.php');
echo "<a href='/anekdoty/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Юрмолинка <span class='cnt'>";
//@include H.'/anekdoty/count.php';
echo " </span><font color='red'>New</font><br/> </div>n";
//echo "<div class='gmenu'><img src='/xhata/glav/g.png' alt='' /> <a href='/prikol_img/'>Конкурс прикол</a> <span class='cnt'>[";
//@include H.'prikol_img/count.php';
//echo "]</span><br/> </div>n";
################################################################################
echo "<a href='pages/ongame.php'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Развлечения <span class='cnt'>[";
@include H.'pages/count_game.php';
echo "]</span> </div>n";
//echo "<a href='/mp3top/'><div class='gmenu'><img src='/style/glav/muz.jpg' alt='' /> Муз раздел <span class='cnt'>[";
//@include H.'mp3top/count.php';
//echo "]</span><br/> </div>n";
echo "<a href='/pages/top.php'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Топы обитателей [8] <font color='red'>New</font></div>";
echo "</center><a href='/users.php/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt='' /> Обитатели <span class='cnt'>[";
@include H.'users_count.php';
echo "]</span><br/> </div>n";
echo "<a href='/users/admin.php'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt=''/> Администрация (".mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `group_access` > '1'"),0).")<br/></div>n";
echo'<a href="/info/"><div class="gmenu"><img src="/style/themes/sex/img/10.png"> Информация о сайте '; echo'</div></a>';
echo "</a>";
if($user['level']>=1)echo "<a href='/adm_panel/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt=''/> Админ-Панель<span class='cnt'>";
//echo "]</span><br/> </div>n"
if($user['level']>=1)echo "</span><br/> </div>";
if($user['level']>=1)echo "<a href='/adm_chat/'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt=''/> Админ-чат <span class='cnt'>[";
if($user['level']>=1)@include H.'adm_chat/count.php';
//echo "]</span><br/> </div>n"
if($user['level']>=1)echo "]</span><br/> </div>";
echo "</div>n";
if($user['level']>=1)echo "<a href='/adm_panel/adm_spam.php'><div class='gmenu'><img src='/style/themes/sex/img/10.png' alt=''/> Просмотр жалоб <span class='cnt'>[";
if($user['level']>=1)@include H.'adm_panel/count_spam.php';
//echo "]</span><br/> </div>n"
if($user['level']>=1)echo "]</span><br/> </div>";
if($user['level']>=1)echo "<a href='/adm_panel/banlist.php'><div class='gmenu'><img src='//style/themes/sex/img/10.png' alt=''/> Бан-лист <span class='cnt'>[";
if($user['level']>=1)@include H.'adm_panel/count_ban.php';
if($user['level']>=1)echo "]</span><br/> </div>";
@include H.'forum/incnew.php';
@include H.'user_online.php';
echo "</div>";
//}
//echo '</div>';
////////////end
//echo "</br>";
rekl(3);
echo "</div>n";
################################################################################
echo "</div>n";
echo '<div class="aut">';
echo '<center><script type="text/javascript" src="//yandex.st/share/share.js"
charset="utf-8"></script>';
echo '<div class="yashare-auto-init" data-yashareL10n="ru"
data-yashareType="none" data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir,lj,gplus"
></center>';
echo "<center>©<b>Все права защищены
© 2о15 SeXLoV.Ru™ </b></center>n";
echo "</div>n";
echo '<center></div><div class="aut">';
echo '<a href="http://statok.net/go/9778"><img src="http://statok.net/image/9778" alt="Statok.net" /></a><br/>';
################################################################################
echo "</div></body></html>";
################################################################################
exit;
}
?>