logout(); break; case "avatarsave": avatarsave($avatar, $category); break; case "avatarlinksave": avatarlinksave($avatar); break; case "broadcast": broadcast($the_message, $who); break; case "lost_pass": lost_pass(); break; case "new user": confirmNewUser($username, $user_email, $user_password, $user_password2, $random_num, $gfx_check); break; case "finish": finishNewUser($username, $user_email, $user_password, $random_num, $gfx_check); break; case "mailpasswd": mail_password($username, $code); break; case "userinfo": userinfo($username, $bypass, $hid, $url); break; case "login": login($username, $user_password, $redirect, $mode, $f, $t, $random_num, $gfx_check); break; case "edituser": edituser();
$userinfo = getusrinfo($user); Header("Location: user.php"); } else { Header("Location: index.php"); } } settype($op, 'string'); switch ($op) { case "logout": logout(); break; case "new user": // CheckBox settype($user_viewemail, 'integer'); settype($user_lnl, 'integer'); confirmNewUser($uname, $name, $email, $user_avatar, $user_icq, $user_occ, $user_from, $user_intrest, $user_sig, $user_viewemail, $user_aim, $user_yim, $user_msnm, $pass, $vpass, $user_lnl, $C1, $C2, $C3, $C4, $C5, $C6, $C7, $C8, $M1, $M2, $T1, $T2, $B1); break; case "finish": finishNewUser($uname, $name, $email, $user_avatar, $user_icq, $user_occ, $user_from, $user_intrest, $user_sig, $user_viewemail, $user_aim, $user_yim, $user_msnm, $pass, $user_lnl, $C1, $C2, $C3, $C4, $C5, $C6, $C7, $C8, $M1, $M2, $T1, $T2, $B1); break; case "forgetpassword": ForgetPassword(); break; case "mailpasswd": if ($uname != "" and $code != "") { if (strlen($code) >= $minpass) { mail_password($uname, $code); } else { message_error("<i class=\"fa fa-exclamation\"></i> " . translate("You did not enter the correct password, please go back and try again.") . "<br /><br />", ""); } } else {
case "avatarsave": avatarsave($avatar, $category); break; case "avatarlinksave": avatarlinksave($avatar); break; case "broadcast": broadcast($the_message, $who); break; case "lost_pass": lost_pass(); break; case "new user": //FIX:DOMSNITT #confirmNewUser($username, $user_email, $user_password, $user_password2, $random_num, $gfx_check); confirmNewUser($username, $user_email, $user_password, $user_password2, $usertype, $gradyear, $company, $designation, $fullname, $specialization, $random_num, $gfx_check); //END-OF-FIX break; case "finish": //FIX:DOMSNITT #finishNewUser($username, $user_email, $user_password, $random_num, $gfx_check); finishNewUser($username, $user_email, $user_password, $user_password2, $usertype, $gradyear, $company, $designation, $fullname, $specialization, $random_num, $gfx_check); //END-OF-FIX break; case "mailpasswd": mail_password($username, $code); break; case "userinfo": userinfo($username, $bypass, $hid, $url); break; case "login":