Файл: diller.php
Строк: 31
<?php
include ("conf.php");
include ("lock.php");
include ("functions.php");
if ($user == $myrow["user"] && $pass == $myrow["pass"] && $user != '')
{
bann($user);
mysql_query("DELETE FROM bann WHERE time<".time());
include ("head.php");
if($myrow["money"]>=1){
echo "<div class=nav>Диллер</div>";
echo "<div class=chat>Я меняю <img src='/img/ico.png' width='21px'> на <img src='/img/money.png' width='21px'><br>Сколько ты хочешь?</div>";
echo "<a href=shop/diller/10sky.php?user=$user&pass=$pass>10 <img src='/img/money.png' width='21px'> за 100 000 <img src='/img/ico.png' width='21px'></a>";
echo "<a href=shop/diller/50sky.php?user=$user&pass=$pass>50 <img src='/img/money.png' width='21px'> за 500 000 <img src='img/ico.png' width='21px'></a>";
echo "<a href=shop/diller/100sky.php?user=$user&pass=$pass>100 <img src='/img/money.png' width='21px'> за 1 000 000 <img src='/img/ico.png' width='21px'></a>";
echo "<a href=menu.php?user=$user&pass=$pass>В меню</a>";
include 'foot.php';}
else {
echo '<div class=nav>У вас нет денег!</div>';
echo "<a href=menu.php?user=$user&pass=$pass>В меню</a>";
include 'foot.php';}
}
?>