Вывод управления инвентарём в отдельную админку.

This commit is contained in:
lopar
2018-12-13 00:43:58 +02:00
parent ac723071de
commit 34abf07b4b
3 changed files with 98 additions and 53 deletions

View File

@@ -7,20 +7,15 @@
*/
session_start();
include "../config.php";
include "../functions.php";
require_once '../functions.php';
if (empty($user['admin'])) {
echo "<!DOCTYPE HTML><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL /admin.php was not found on this server.</p><hr><address>Apache/2.2.22 (@RELEASE@) Server at Hetzner Datacenter 426</address></body></html>";
echo "<!DOCTYPE HTML><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL {$_SERVER['SCRIPT_NAME']} was not found on this server.</p><hr><address>Apache/2.2.22 (@RELEASE@) Server at Hetzner Datacenter 426</address></body></html>";
exit;
}
define('ADMINS', microtime());
?>
<!DOCTYPE html>
<!--suppress ALL -->
<html>
<head>
<meta charset="utf-8">
@@ -396,10 +391,6 @@ if ($_POST['sbr_par']) {
<option value="7">Артефакты: Букеты</option>
</select></td>
</tr>
<tr>
<td><input name=duration placeholder="Мин. износ">Но нахуя износ новой вещи?!</td>
</tr>
<tr>
<td><input name=maxdur placeholder="Макс. износ"></td>
</tr>