Файл: style/themes/default/index.php
Строк: 168
<?
if (isset($user))
{
echo "<div class='aut'><span class='but'><a href='/info.php?id=$user[id]'>Моя страничка</a></span>n";
if (user_access('adm_panel_show'))echo "<span class='but'><a href='/adm_panel/'>Адм</a></span>n";
echo "<span class='but'><a href='/exit.php'>Выход</a></span></div>n";
}
?>
<div class="contentbox2"><div class="titlm">VIP</div><table style="width:100%; marign:0">
<tr><td>
<?
$q=mysql_query("SELECT * FROM `user` ORDER BY rand() LIMIT 3");
while ($ank = mysql_fetch_assoc($q))
{
$ank=get_user($ank['id']);
echo "<a href='/info.php?id=$ank[id]'>n";
echo "".avatar2($ank['id'])."</a>n";
echo "</td><td>n";
}
?>
</td></table></div>
<div class="contentbox">
<?if (!isset($user)){?><a href="/pages/ruless.php"> <div class="linkes"><img src="/style/icons/about.png" alt="" /> Что тако <?echo $_SERVER['HTTP_HOST'];?>?</div></a><?}?>
<a href="/news/"> <div class="linkes"><img src="/style/icons/news.png" alt="" /> Новости <span class='count'><?@include H.'news/count.php';?></span></div></a>
<a href="/chat/"> <div class="linkes"><img src="/style/icons/chat.png" alt="" /> Чат <span class='count'><?@include H.'chat/count.php';?></span></div></a>
<a href="/forum/"> <div class="linkes"><img src="/style/icons/forum.png" alt="" /> Форум <span class='count'><?@include H.'forum/count.php';?></span></div></a>
<a href="/blog/"> <div class="linkes"><img src="/style/icons/blog.png" alt="" /> Дневники <span class='count'><?@include H.'blog/count.php';?></span></div></a>
<a href="/guest/"> <div class="linkes"><img src="/style/icons/guest.png" alt="" /> Беседка <span class='count'><?@include H.'guest/count.php';?></span></div></a>
<a href="/foto/"> <div class="linkes"><img src="/style/icons/foto.png" alt="" /> Альбомы <span class='count'><?@include H.'foto/count.php';?></span></div></a>
<?$rf=mysql_num_rows(mysql_query("SELECT `id` FROM `gallery_foto` WHERE `rating` > '0'"));?>
<a href="/foto/ratingfoto.php"> <div class="linkes"><img src="/style/icons/fotoraiting.png" alt="" /> Лучшие фото <span class='count'><?echo $rf;?></span></div> </a>
<a href="/obmen/"> <div class="linkes"><img src="/style/icons/obmen.png" alt="" /> Зона Обмена <span class='count'><?@include H.'obmen/count.php';?></span></div></a>
<a href="/love/"> <div class="linkes"><img src="/style/icons/love.png" alt="" /> Знакомства <span class='count'><?@include H.'/pages/lovecount.php';?></span></div></a>
<a href="/shop/"> <div class="linkes"><img src="/style/icons/shop.png" alt="" /> Магазин сайта <span class='count'><?@include H.'shop/count.php';?></span></div> </a>
<a href="/comm/"> <div class="linkes"><img src="/style/icons/soo.png" alt="" /> Сообщества <span class='count'><?@include H.'comm/count.php';?></span></div></a>
<a href="/game/"> <div class="linkes"><img src="/style/icons/game.png" alt="" /> Онлайн игры <span class='count'><?@include H.'game/count.php';?></span></div></a>
<a href="/users.php"> <div class="linkes"><img src="/style/icons/users.png" alt="" /> Обитатели <span class='count'><?@include H.'/pages/usersc.php';?></span></div></a>
<a href="/sv/"> <div class="linkes"><img src="/style/icons/sv.png" alt="" /> Сервисы <span class='count'>10</span></div></a>
<a href="/garem.php"> <div class="linkes"><img src="/style/icons/garem.png" alt="" /> Гаремы <span class='count'>рейтинг</span></div></a>
<a href="/online.php"> <div class="linkes"><img src="/style/icons/on.png" alt="" /> Кто в Онлайне <span class='count'><?@include H.'/pages/ocount.php';?></span></div></a>
<a href="/top.php"> <div class="linkes"><img src="/style/icons/top.png" alt="" /> ТОП - Рейтинг Обитателей</div></a>
</div>