Файл: rusalc/apships.php
Строк: 49
<?
include_once '../sys/core/start.php';
include_once '../sys/core/compress.php';
include_once '../sys/core/sess.php';
include_once '../sys/core/home.php';
include_once '../sys/core/db_connect.php';
include_once '../sys/core/ipua.php';
include_once '../sys/core/fnc.php';
include_once '../sys/core/user.php';
include_once '../sys/inc/fnc_game.php';
include_once '../sys/inc/thead.php';
include_once '../sys/inc/uhead.php';
only_reg();
if ($user['acces']==765466656)
{
if(isset($_GET['set'])){
$sql = mysql_query("INSERT INTO `casino_ships` SET `name` = '$_POST[name]', `SQL` = '$_POST[SQL]', `MATCH`= ".$_POST['MATCH']."")
or die("Could not query: " . mysql_error());
}
?>
<form action='?set' method='POST'>
Назва (Бензин 20) </br>
<input type='text' name='name'></br>
Назва таблиці бонусу (<b>Ввести одне слово</b>) </br> (Бензин => fuel, Бакс => baks ....) </br>
<input type='text' name='SQL'></br>
Математическая формула для нарачивания</br>
Приклад для Бензин 20 </br>
<b> $user['fuel']+20 </b> </br>
<input type='text' name='MATCH'></br>
<button> Добавить</button>
</form>
<?
include_once '../sys/inc/tfoot.php';
}
else
{
header("Location: /dev/garage.php");
}
?>