assign('username', $_POST['username']); $smarty->assign('opt', $OPT); $smarty->display('login.tpl');