name error

This commit is contained in:
lopar 2018-12-13 00:49:35 +02:00
parent 34abf07b4b
commit 3a8e3158a8
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ if (input::post('del')) {
</head>
<link type="text/css" rel="stylesheet" href="../css/main.css">
<body>
<h1>Администрирование инвентаря <?= $_SESSION['player_name'] ?></h1>
<h1>Администрирование инвентаря <?php isset($_SESSION['player_name']) ? $_SESSION['player_name'] ?></h1>
<table class='adm'>
<tr>
<th>ID</th>
@ -72,7 +72,7 @@ if (input::post('del')) {
<td><?= $row['id'] ?></td>
<td><?= $row['name'] ?></td>
<td><?= $row['koll'] ?></td>
<td><img src='i/sh/<?= $row['img'] ?>'></td>
<td><img src='/i/sh/<?= $row['img'] ?>'></td>
<td>
<form method='post'>
<input name='del' type='hidden' value='<?= $row['id'] ?>'>