query("INSERT INTO forums_specific_rules (ForumID, ThreadID) VALUES (".$ForumID.", ".$_POST['new_thread'].")"); } } if(!empty($_POST['del'])) { if(is_number($_POST['threadid'])) { $DB->query("DELETE FROM forums_specific_rules WHERE ForumID = ".$ForumID." AND ThreadID = ".$_POST['threadid']); } } $Cache->delete_value('forums_list'); } $DB->query("SELECT ThreadID FROM forums_specific_rules WHERE ForumID = ".$ForumID); $ThreadIDs = $DB->collect('ThreadID'); show_header(); ?>

Forums > > Edit forum specific rules

Thread ID