assign ("post",$post); $smarty->assign ("error",$error); $smarty->display ("callagent/callagent.tpl"); $_SESSION['post'] = false; ?>