Einchecken des Online-Codes

This commit is contained in:
2017-05-07 14:37:49 +00:00
parent 9c1d71cea6
commit 85cc95c574
635 changed files with 76260 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
if ( $_SESSION['IsAdmin'] )
{
if (("Löschen" == $_POST['action']) OR ("Abbrechen" == $_POST['action'])) {
$sql = 'DELETE FROM
User
WHERE
userId = "'.$_POST['ID'].'";';
$result = $db->query($sql);
if ($result) {
unset($_POST);
include "inhalte/stammdaten/kontroll/zg_over.php";
} else {
echo "Fehler beim löschen";
}
}
}
?>