Файл: vfermu.ru/sys/other/center.php
Строк: 85
<?php
echo '
<title>Город</title>
<div class="content">
<div class="block">';
if($ku['photo_open']==1)
{
echo '
<img src="/images/dekor/777.png" alt="city"/>
<ul class="pt">';
}
$result = mysql_query("SELECT * FROM `farm_user` ORDER BY `day_rating` DESC LIMIT 1");
while($msg = mysql_fetch_assoc($result)){
echo'</div> <div class ="block"><center>Фермер дня: ';
echo "".on_k($msg['id'])."";
echo'<span><a class="" href="/center">'.nc($msg['id']).'</span></a> (<img width="16" height="16" src="/images/icons/experience.png" alt="o"><span class="title">'.rating($msg[day_rating]).'</span>)<br/></div><div class ="block"></center>';
}
echo '<li><img width="16" height="16" src="/images/novo/238244.png" alt="o">';echo " ".(isset($_GET['sussrr'])?"<span>Покупка</span>":"<a href='/?payment'>Банк</a>").""; echo '</li>';
echo '<li><img width="16" height="16" src="/images/novo/f7bcca3222df66c864db59388860a69b.png" alt="o"/> <a href="converter">Обменник</a></li>';
echo '<li><img width="16" height="16" src="/images/novo/image.png" alt="o"/> <a href="lift">Гипер-маркет</a></li>';
echo "<li><img width='16' height='16' src='/images/novo/ktu_93705.png' alt='*'> <a href='/turnir'>".(isset($turnir['name'])?"Турнир: $turnir[name]":"Турнир")."</a></li>";
echo '<li><img width="16" height="16" src="/images/novo/bulls-eye.png" alt="o"/> <a href="/?lotoRUS">Лотерея</a></li>';
echo '<li><img width="16" height="16" src="/images/icons/new/lottery.png" alt="o"/> <a href="lottery/welcome">Лотерея2</a></li>';
echo '<li><img width="16" height="16" src="/images/novo/5e88b43e-8c46-42ed-b282-64dc6e901691.png" alt="o">';
echo " <a href='/?mypet'>Питомец</a>"; echo '</li>';
if($ku['robotnoy'] == 1){
echo " <img width='16' height='16' alt='' src='/images/icons/ruby.png'><a href='/?buildingMaterials&bonus'> Лови бонус</a> ";
}
echo '<ul class="pt"><img width="16" height="16" src="/images/novo/person-icon_31846.png" alt="o"/> <a href="online">Онлайн</a> <span class="title">(<span>'.$online.'</span>)</span></li>';
echo '<li><img width="16" height="16" src="/images/novo/profile-group-icon_34379.png" alt="o"/> <a href="collectives">Колхозы</a></li>';
echo "<li><img width='16' height='16' src='/images/novo/profile-group-icon_34379.png' alt='*'> <a href='/rating'>Игроки</a></li>";
echo "<li class='pt'><img width='16' height='16' src='http://img-android.lisisoft.com/imgmic/2/1/4912-i-appinventor.ai_kczapps.AffordableAlarmMonitoring.jpg' alt='*'> <a href='/znakom'>знакомства <img width='16' height='16' src='http://www.iconsearch.ru/uploads/icons/silk2/16x16/new.png' alt='*'></a></li>";
echo "<img width='16' height='16' src='/images/novo/people44.png' alt='*'> <a href='/search'>Поиск игроков</a></li>";
echo '<li><img width="16" height="16" src="/images/novo/people44.png" alt="o"/> <a href="search_collective">Поиск колхозов</a></li>';
echo "<li><img width='16' height='16' src='/images/novo/people44.png' alt='*'> <a href='/search_city'>Поиск городов</a></li>";
echo'</div></div>';
include "sys/other/foot.php";
?>