Файл: sumerki.mobi/sumerki.mobi/data/gorod/fornost.dat
Строк: 159
<?
//////////////////////////////////////////////////////////////
//////////////////////Онлайн
"Сумерки"///////////////////
//////////////////////Основатель:
Mc Laren////////////////////
///////////////////Контакты: ICQ -
597687549//////////////////
/////////////////////Пример:
Sumerki.Mobi/////////////////////
///////////Если ты это
читаешь, значит скрипт слили
:D////////
//////////////////////////////////////////////////////////////
if($_GET[pl]!='shop_zone'){
echo
'<div class="zagolovok"><div
class="zagolovok1"><div
class="zagolovok2"><div
class="zagolovok_right"></div><div
class="zagolovok_left"></div><div
class="ch_name">';
echo 'Город';
echo
'</div><div
class="clearFix"></div></div></div></div>';
//echo'<div
class="button pad_bot_5 pad"><a
href="faq_konsultant.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Консультанты</a></div>';
//echo'<div
class="button pad_bot_5 pad"><a
href="pitomec.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Питомник</a></div>';
//echo'<div class="button
pad_bot_5 pad"><a
href="hram.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Храм</a></div>';
echo'<div class="button pad_bot_5
pad"><a
href="proffa.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Школа профессий</a></div>';
echo'<div
class="button pad_bot_5 pad"><a
href="workshop.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Мастерская</a></div>';
echo'<div
class="button pad_bot_5 pad"><a
href="himik.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Алхимия</a></div>';
//echo'<div class="button
pad_bot_5 pad"><a
href="sklad.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Хранилище</a></div>';
if($udata[klas]=="wizard"){echo'<div
class="button pad_bot_5 pad"><a
href="akademvamp.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Академия
Вампиров</a></div>';}
if($udata[klas]=="fighert"){echo'<div
class="button pad_bot_5 pad"><a
href="akademobor.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Академия Оборотней</a></div>';}
echo'<div
class="button pad_bot_5 pad"><a
href="kuznica.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Кузница</a></div>';
if($udata[lvl]<"5")echo'<div
class="button pad_bot_5 pad"><a
href="istok.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Источник Жизни <span
class="level"><small>до
5ур.</small></span></a></div>';
if($udata[lvl]<"5")echo'<div
class="button pad_bot_5 pad"><a
href="istokmp.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Источник Силы <span
class="level"><small>до
5ур.</small></span></a></div>';
echo'<div
class="button pad_bot_5 pad"><a
href="bank.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Банк</a></div>';
/*echo '<div
class="zagolovok">
<div
class="zagolovok1">
<div
class="zagolovok2">
<div
class="zagolovok_right"></div>
<div
class="zagolovok_left"></div>
<div
class="ch_name">Работа</div>
<div
class="clearFix"></div>
</div>
</div>
</div>';*/
//echo '<div
class="list">';
//echo'<div class="button pad_bot_5
pad"><a
href="taverna.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Таверна</a></div>';
//echo'<div class="button
pad_bot_5 pad"><a
href="rydnik.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Рудник</a></div>';
//echo'<div class="button
pad_bot_5 pad"><a
href="shakta.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Шахта</a></div>';
//echo'<div class="button
pad_bot_5 pad"><a
href="hfarmer.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Ферма</a></div>';
//echo'<div class="button
pad_bot_5 pad"><a
href="ozero.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Озеро</a></div></div>';
//echo '</div>';
echo
'<div class="zagolovok">
<div
class="zagolovok1">
<div
class="zagolovok2">
<div
class="zagolovok_right"></div>
<div
class="zagolovok_left"></div>
<div
class="ch_name">Центр</div>
<div
class="clearFix"></div>
</div>
</div>
</div>';
echo'<div class="button pad_bot_5
pad"><a
href="olimp.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Турнир</a></div>';
echo'<div class="button
pad_bot_5 pad"><a
href="higens.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Клан-зона</a></div>';
echo'<div class="button
pad_bot_5 pad"><a
href="to_zamok.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Замок</a></div>';
/*echo'<div class="button
pad_bot_5 pad"><a
href="igra.php?mod=portal">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Телепорт</a></div>';*/
echo'<div class="button
pad_bot_5 pad"><a
href="to_world.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
В окрестности</a></div>';
/*echo'<div
class="button pad_bot_5 pad"><a
href="map.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
На карту</a></div>';*/
echo '<div
class="zagolovok">
<div
class="zagolovok1">
<div
class="zagolovok2">
<div
class="zagolovok_right"></div>
<div
class="zagolovok_left"></div>
<div
class="ch_name">Торговля</div>
<div class="clearFix"></div>
</div>
</div>
</div>';
echo "<div class='button pad_bot_5
pad'><a href=\"donats.php\">  <img
src='/theme/standart/images/galochka.png' alt='*'/> Покупка
золота</a></div>";
echo '<div class="button
pad_bot_5 pad"><a
href="gorod.php?pl=shop_zone">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Торговая площадь</a></div>';
echo '<div
class="button pad_bot_5 pad"><a
href="bonus.php">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Торговец редкостями</a></div>';
echo '<div
class="button pad_bot_5 pad"><a
href="bazar.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Рынок</a></div>';
//echo '<div class="button
pad_bot_5 pad"><a
href="shoppit.php?">  <img
src="/theme/standart/images/galochka.png" alt="*"/>
Лавка для питомцев</a></div>';
echo '<div
class="zagolovok">
<div
class="zagolovok1">
<div
class="zagolovok2">
<div
class="zagolovok_right"></div>
<div
class="zagolovok_left"></div>
<div
class="ch_name">Социальное</div>
<div class="clearFix"></div>
</div>
</div>
</div>';
////////////////
$q =
mysql_query("SELECT COUNT(*) FROM `msg_r` WHERE `user_to` = '$log' AND
`read` = '1';");
$new_mail = mysql_result($q, 0);
$w =
mysql_query("SELECT COUNT(*) FROM `msg_r` WHERE `user_to` =
'$log';");
$old_mail = mysql_result($w,
0);
//////////////
echo"<div class='button pad_bot_5 pad'><a
href=\"news.php?\">  <img
src='/theme/standart/images/galochka.png' alt='*'/>
Новости</a></div>";
echo"<div class='button
pad_bot_5 pad'><a
href=\"ps.php?\">  <img
src='/theme/standart/images/galochka.png' alt='*'/> Почта
[$new_mail/$old_mail]</a></div>";
$chat=
mysql_num_rows(mysql_query("SELECT * FROM komentarai"));
$chats=
mysql_num_rows(mysql_query("SELECT * FROM
komentarai2"));
$chatss= mysql_num_rows(mysql_query("SELECT *
FROM mdchat"));
$ft=mysql_result(mysql_query("SELECT count(*)
FROM `forum_topics`"), 0); // кол-о тем в
форуме
$fm=mysql_result(mysql_query("SELECT count(*) FROM
`forum_msg`"), 0); // кол-о сообщений в
форуме
echo"<div class='button pad_bot_5 pad'><a
href=\"chat.php?\">  <img
src='/theme/standart/images/galochka.png' alt='*'/> Чат
($chat)</a></div>
<div class='button pad_bot_5 pad'><a
href=\"torgchat.php?\">  <img
src='/theme/standart/images/galochka.png' alt='*'/> Торговля
($chats)</a></div>";
echo"<div class='button
pad_bot_5 pad'><a
href=\"forum\">  <img
src='/theme/standart/images/galochka.png' alt='*'/> Форум
($ft/$fm)</a></div>";
//echo"<div class='button
pad_bot_5 pad'><a
href=\"fots.php?\">  <img
src='/theme/standart/images/galochka.png' alt='*'/>
Галерея</a></div>";
$lines =
file("fots/fotogal/bases.dat");
if($lines){
$total=
count($lines);}
$maxi =
count($lines)-1;
$total=(int)$total;
//echo'<h1>Перемещение</h1>';
/*echo'<div
class="button pad_bot_5 pad"><a
href="teleport.php"><img
src="/theme/standart/images/galochka.png"
alt="*"/>В другой
город</a></div>';*/
}else{
echo '<div
class="zagolovok"><div class="zagolovok1">
<div class="zagolovok2"><div
class="zagolovok_right"></div><div
class="zagolovok_left"></div><div
class="ch_name">';
echo 'Торговая
площадь';
echo '</div><div
class="clearFix"></div></div></div></div>';
echo
'<div class="fon bgray"><div
class="bg1"><div class="bg2"><div
class="bg3"><div class="bg4"><div
class="bg5"><div class="bg6"><div
class="bg7"><div class="bg8">';
echo'<font
color=\'white\'> Здесь расположены все
торговые лавки в которых ты сможешь
купить все необходимое...а так-же продать
ненужную тебе вещь, или поторговатся с
другими игроками на
базаре.</font><br/>';
echo'<center><a
class="buuut" href="shop.php?">Оружи и
доспехи</a><br>';
echo'<a class="buuut"
href="shopjuvilir.php?">Бижутерия</a><br>';
echo'<a
class="buuut"
href="shopelexirs.php?">Эликсиры</a><br>';
echo'<a
class="buuut"
href="shopscroll.php?">Свитки</a></center>';
echo
'</div></div></div></div></div></div></div></div></div>';
echo
"<div class='button pad_bot_5 pad'><a
href=\"lambard.php?\">    <img
src='/theme/standart/images/galochka.png'/> Продать
вещи</a></div>";
$req = mysql_query("SELECT id
FROM `pit` WHERE `usr` = '$log' and
`status`='on'");
$avto=mysql_num_rows($req);
if($avto==1){
}
}
?>