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


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

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


             include 
"./phpfile/raritet.php" ;
             
exitt($row, $opredelenie) ;
 }
 print 
cat."Для создания Раритета выберите ингридиенты!".d ;



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

 
$sql = mysql_query($query) or die(mysql_error()) ;
 
$n = mysql_num_rows($sql) ;
 if (
$n == 0)
 {
             print 
no."У вас нет доступных кристаллов!".d ;
             
exitt($row, $opredelenie) ;
 }

 
$ii = 0 ;
 print 
"<form name=form1 action=88.php?go=uvelir&plavit=8 method=post>" ;
 while (
$row = mysql_fetch_assoc($sql))
 {
             
$ii++ ;

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

   </li>" 
;
                         ;
             
 }

 print 
"<input name=ok class=select type=submit value=ok>
</form>" 
;


exitt($row, $opredelenie) ;


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