Rev 4 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <?php |
2 | |||
3 | daniel-mar | 3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
2 | daniel-mar | 4 | |
5 | if ($aktion == 'wipe') |
||
6 | { |
||
7 | db_query("DELETE FROM `".$mysql_zugangsdaten['praefix']."ereignisprotokoll`"); |
||
8 | daniel-mar | 8 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?seite=inhalt&modul='.urlencode($modul)); |
2 | daniel-mar | 9 | } |
10 | |||
11 | if ($aktion == 'delete') |
||
12 | { |
||
13 | db_query("DELETE FROM `".$mysql_zugangsdaten['praefix']."ereignisprotokoll` WHERE `id` = '".db_escape($id)."'"); |
||
8 | daniel-mar | 14 | if (!headers_sent()) header('location: '.$_SERVER['PHP_SELF'].'?seite=inhalt&modul='.urlencode($modul)); |
2 | daniel-mar | 15 | } |
16 | |||
3 | daniel-mar | 17 | ?> |