/**********|| Page to show individual threads || ********************************\ Things to expect in $_GET: ThreadID: ID of the forum curently being browsed page: The page the user's on. page = 1 is the same as no page ********************************************************************************/ //---------- Things to sort out before it can start printing/generating content include(SERVER_ROOT.'/classes/text.class.php'); // Text formatting class $Text = new TEXT; // Check for lame SQL injection attempts if (!is_number($_GET['collageid'])) { error(0); } $CollageID = (int)$_GET['collageid']; list($NumComments, $Page, $Thread, $LastRead) = Comments::load('collages', $CollageID); $DB->query(" SELECT Name FROM collages WHERE ID = '$CollageID'"); list($Name) = $DB->next_record(); // Start printing View::show_header("Comments for collage $Name", 'comments,bbcode,subscriptions'); ?>