QuickResult ( $query ); $page = $a[0]; $smarty->assign ("post",$post); $smarty->assign ("page",$page); $smarty->display ("pages/pages.tpl"); $_SESSION['post'] = false; ?>