createRecordSet($sql); $page = $db->fetchArray($rs); #title $smarty->assign("title", $page["title"]); # Meta $smarty->assign("page_header", generate_content($page["page_header"])); #main content $smarty->assign("left_content", $page["content"]); $smarty->assign("contents_l", array("page_left.tpl")); $smarty->assign("contents_r", array("search.tpl", "featured_vertical.tpl")); $smarty->display("main.tpl"); ?>