Вход Регистрация
Файл: data/skor.dat.php
Строк: 62
<?


 
if (($row['polog'] == 'gorod') || ($row['polog'] == 'zamok'))
 {  if (isset(
$_SESSION['statusis'])) {
    print 
"<div><font color=red>" $_SESSION['statusis'] . "</font></div>";
}
unset(
$_SESSION['statusis']);  
             print 
'<div class="spiski"><div class="zagolovok">Лавка Скорняка</div><div class="line"></div><ul>';
             
$nums 42 ;
              if(!isset(
$_GET['plavit'])){
    print 
"<div class="chat_conteiner"><li><a href=88.php?go=skor&plavit=0>Создать шапку</a></li>
<li><a href=88.php?go=skor&plavit=1> Создать перчатки</a></li>
<li> <a href=88.php?go=skor&plavit=3>Создать плащ</a></li>
<li> <a href=88.php?go=skor&plavit=2>Создать сапоги</a></li> 
 <li>
 <a href=88.php?go=help&help=3><font color=red>Помощь</font></a> </li><br></div> 
 " 
;}
    if(isset(
$_GET['plavit'])){
        
        
        print 
"<li><a href=88.php?go=skor>Лавка Скорняка</a></li>
 
  "     
        
;}
             if (@
$_GET['plavit'] == null)
             {
                     
                         
exitt($row$opredelenie) ;
             }
             
htmlspecialchars($_GET['plavit']) ;
             if ((
$_GET['plavit'] == 0) || ($_GET['plavit'] == 00) || ($_GET['plavit'] == 1) ||
                         (
$_GET['plavit'] == 01) || ($_GET['plavit'] == 2) || ($_GET['plavit'] == 02) ||
                         (
$_GET['plavit'] == 3) || ($_GET['plavit'] == 03))
             {
                         
//////////////////////////////////////////


                         
if (($_GET['plavit'] == 00) || ($_GET['plavit'] == 0))
                         {
                                     
$tablica 'shapka' ;
                                     
$tipvrukzak 'shlem' ;
                                     
$nazvanie 'Шапку' ;
                                     
$s1 'zh' ;

                         }
                         if ((
$_GET['plavit'] == 1) || ($_GET['plavit'] == 01))
                         {
                                     
$tablica 'perchi' ;
                                     
$tipvrukzak 'rukavici' ;
                                     
$nazvanie 'Перчатки' ;
                                     
$s1 'zh' ;
                         }
                         if ((
$_GET['plavit'] == 2) || ($_GET['plavit'] == 02))
                         {
                                     
$tablica 'sapogi' ;
                                     
$tipvrukzak 'sapogi' ;
                                     
$nazvanie 'Сапоги' ;

                                     
$s1 'at' ;
                         }
                         if ((
$_GET['plavit'] == 3) || ($_GET['plavit'] == 03))
                         {
                                     
$tablica 'plash' ;
                                     
$tipvrukzak 'plash' ;
                                     
$nazvanie 'Плащ' ;

                                     
$s1 'at' ;
                         }

                         if (isset(
$_POST['ok']))
                         {


                                     include 
"./phpfile/sapogi.php" ;
                                 
exitt($row$opredelenie) ;
                         }
                         if (isset(
$_POST['him']))
                         {

                                     include 
"./phpfile/sapogi.php" ;
                                     
exitt($row$opredelenie) ;
                         }
                 
                         print 
"<div class="chat_conteiner">Что бы сшить  $nazvanie, Вы можете выбрать до 80 шкур!</div>" ;



                         
$query "SELECT *
            FROM `rukzak`WHERE `name`='" 
mysql_real_escape_string($opredelenie) .
                                     
"'AND `chit`='sh'  and `odeto`='0' ORDER BY `time` DESC
        " 
;

                         
$sql mysql_query($query) or die(mysql_error()) ;
                         
$n mysql_num_rows($sql) ;
                         if (
$n == 0)
                         {
                                     print 
"<div class="style_mess_no">У вас нет шкур!</div>" ;
                                     
exitt($row$opredelenie) ;
                         }

                         
$ii ;
                         print 
"<form name=form1 action=88.php?go=skor&plavit=" htmlspecialchars($_GET['plavit']) .
                                     
" method=post>" ;
                                        if (
mysql_num_rows($sql) > 0)
                         {
                                     print 
"<li><input name=ok class=select type=submit value=Сшить></li>
 " 
;
                         }
                         while (
$row mysql_fetch_assoc($sql))
                         {
                                     
$ii++ ;


                                 
                                     if (
$row['chit'] == 'sh')
                                     {

                                                 echo 
"
<li>
$ii.<input class=x_chek type=checkbox name=$ii  value=" htmlspecialchars($row['idrukzak']) .
                                                             
" /> " htmlspecialchars($row['nazvanie']) . " +" htmlspecialchars($row['try']) .
                                                             
"
 
 

   </li>" 
;
                                     }
                                     ;
                         }
                 
                     
                  if (
mysql_num_rows($sql) > 0)
                         {
                                     print 
"<li><input name=ok class=select type=submit value=Сшить></li>
 " 
;
                         }
    print
"</form>";
                         
/////////////////////////////////////////////////
             
}
             else
             {
                         
header('location:88.php?go=skor') ;
             }



 }
 else
 {
             
header('location:88.php?go=do') ;
 }
exitt($row,$opredelenie);

?>
Онлайн: 1
Реклама