data['user_id'].", '".(mysql_real_escape_string($_POST["comment"]))."');"); header("Location: detail.php?articleID=".$_GET["articleID"]); exit; } $page = new page("main.tpl"); $page->sub_template("menu.tpl", "menu"); $headers .= ' '; $page->assign("headers", $headers); $article = new article_detail($_GET["articleID"]); $page->assign("title", $article->title." - Camping & Campsites"); $breadcrumbs = array( array("name" => 'Articles', "link" => './'), array("name" => '"'.$article->title.'"', "link" => '') ); $page->add_breadcrumbs($breadcrumbs); $content .= $article->display(); $page->assign("content", $content); $page->assign("rel_path", '../'); $page->display(); ?>