0) { $msg = "Are you sure you wish to delete the post
". "".$row['subject']."?"; $redir = htmlspecialchars("viewtopic.php?t=" . $row['topic_id']); } else { $msg = "If you delete this post, all replies will be deleted ". "as well. Are you sure you wish to delete the entire ". "thread
".$row['subject']."?"; $redir = htmlspecialchars("viewforum.php?f=" . $row['forum_id']); } echo "
"; echo "

DELETE POST?

\n"; echo "

" . $msg . "

"; echo "

"; echo "

"; echo "
"; break; case "DELETEFORUM": $sql = "SELECT * FROM forum_forum WHERE id=" . $_REQUEST['f']; $result = mysql_query($sql); $row = mysql_fetch_array($result); $msg = "If you delete this forum, all topics and replies will be". " deleted as well. Are you sure you wish to delete the entire ". "forum
".$row['forum_name']."?"; echo "
"; echo "

DELETE FORUM?

\n"; echo "

" . $msg . "

"; echo "

"; echo "

"; echo "
"; default: } require_once 'footer.php'; ?>