add_user($_POST); } $objSmarty->assign("txt_email",$_REQUEST['txt_email']); $objSmarty->assign("txt_pwd",$_REQUEST['txt_pwd']); $objSmarty->assign("txt_repwd",$_REQUEST['txt_repwd']); $objSmarty->assign("txt_name",$_REQUEST['txt_name']); $objSmarty->assign("txt_firm",$_REQUEST['txt_firm']); $objSmarty->display("register.tpl"); ?>