예제 #1
0
// SHOW SECOND STEP
if ($task == "step2") {
    $step = 2;
    $next_task = "step2do";
    if (count($field->cats) == 0) {
        $task = "step1";
    }
    $signup_password = base64_encode($signup_password);
    $signup_password2 = base64_encode($signup_password2);
}
// SHOW FIRST STEP
if ($task == "step1") {
    $step = 1;
    $next_task = "step1do";
    // GET LANGUAGE PACK LIST
    $lang_packlist = SE_Language::list_packs();
    ksort($lang_packlist);
    $lang_packlist = array_values($lang_packlist);
}
// SET GLOBAL PAGE TITLE
$global_page_title[0] = 679;
$global_page_description[0] = 680;
// ASSIGN VARIABLES AND INCLUDE FOOTER
$smarty->assign('is_error', $is_error);
$smarty->assign('new_user', $new_user);
$smarty->assign('cats', $field->cats);
$smarty->assign('signup_email', $signup_email);
$smarty->assign('signup_password', $signup_password);
$smarty->assign('signup_password2', $signup_password2);
$smarty->assign('signup_username', $signup_username);
$smarty->assign('signup_timezone', $signup_timezone);