"; echo "
Administration // Forum editieren

"; if (!is_admin($username)) { echo "
Sie haben keine Berechtigung zur Administration.

\n"; echo "
"; footer_show("footer.inc.php"); exit; } pw_pruefen($username,$password,0,0); if (!$id) { echo "
Keine ID ausgewählt.

\n"; echo ""; footer_show("footer.inc.php"); exit; } if (file_exists($board_pfad . "/". $id . ".dat")) { $temp = $board_pfad . "/". $id . ".dat"; $fp = @fopen($temp, "r"); flock($fp,1); $lines=@file($temp); flock($fp,3); fclose($fp); $lines = explode("|", $lines[0]); } else { echo "
ID existiert nicht.

\n"; echo ""; footer_show("footer.inc.php"); exit; } unlink($board_pfad . "/" . $id . ".dat"); echo "Es wurde ein Forum gelöscht (ID: $id)."; echo ""; footer_show("footer.inc.php"); exit; ?>