2018-01-28 16:40:49 +00:00
|
|
|
<?php
|
|
|
|
session_start();
|
2020-09-30 12:01:33 +00:00
|
|
|
if ($user->battle) { header('location: fbattle.php'); exit; }
|
2018-01-28 16:40:49 +00:00
|
|
|
include "../config.php";
|
|
|
|
?>
|
|
|
|
<form action="" method="post">
|
|
|
|
<input name="ddd" type="submit" value="Удалить">
|
|
|
|
</form>
|
|
|
|
<?
|
|
|
|
if($_POST['ddd']){
|
|
|
|
mysql_query("UPDATE `inventory` SET present='',podzem='1' WHERE name='Гайка'");
|
|
|
|
mysql_query("UPDATE `inventory` SET present='',podzem='1',name='Вентиль' WHERE name='Винтель'");
|
|
|
|
mysql_query("UPDATE `inventory` SET present='',podzem='1' WHERE name='Ключиик'");
|
|
|
|
mysql_query("UPDATE `inventory` SET present='',podzem='1' WHERE name='Болт'");
|
|
|
|
mysql_query("UPDATE `inventory` SET present='',podzem='1',cost='0',massa='1',name='Жетон' WHERE name='Житон'");
|
|
|
|
print"Удалено!";
|
|
|
|
}
|
|
|
|
?>
|