Prześlij pliki do ''

This commit is contained in:
Piotr Szefler 2021-03-27 17:37:00 +01:00
parent 7047f30683
commit 6a13ff101c
2 changed files with 3 additions and 7 deletions

View File

@ -8,7 +8,7 @@
exit();
}
$_SESSION['numevent'] = $_GET['info'];
ini_set("display_errors", 0);
require_once "dbconnect.php";
$polaczenie = mysqli_connect($host, $db_user, $db_password);
mysqli_query($polaczenie, "SET CHARSET utf8");

View File

@ -68,12 +68,8 @@
}
if ($ile>=1)
{
if($_SESSION['perm']=='modder' || $_SESSION['perm']=='admin'){
echo '<tr onclick=location.href="add_event.php"><td width="60" align="center" bgcolor="#f8f8f8" ><i class="demo-icon icon-doc-new"></i></td>';
}
else{
echo '<tr><td class="header_tabler" width="60" align="center" bgcolor="#f8f8f8">ID Eventu</td>';
}
echo '<tr><td class="header_tabler" width="60" align="center" bgcolor="#f8f8f8">ID Eventu</td>';
echo<<<END
<td class="header_tabler" width="350" align="center" bgcolor="#f8f8f8" padding=5px>Nazwa Eventu</td>