function uhw_PasswordForm($uconf) { $form = ' <form action="" method="POST" class="glamour"> <label for="passfield">' . $uconf['SUP_PASS'] . '</label> <input type="' . $uconf['SELFACT_FIELDTYPE'] . '" name="password" id="passfield" size="16"> <br> <br> <input type="submit" value="' . $uconf['SUP_ACTIVATE_QUERY'] . '"> </form> <div style="clear:both;"></div> <br><br> ' . $uconf['SUP_PASSNOTICE'] . ' '; $result = '<br><br><br>'; $result .= uhw_modal($uconf['SUP_SELFACT'], $uconf['SUP_SELFACT'], $form, 'ubButton', '600', '400'); print $result; }
//wrong password action uhw_LogBrute($trypassword, $usermac); print uhw_modal_open($uconf['SUP_ERROR'], $uconf['SUP_WRONGPASS'], '400', '300'); } } } // //show selfact form // uhw_PasswordForm($uconf); } else { print $uconf['SUP_MACEXISTS']; } } else { //bruteforce prevention print '<br><br><br>' . uhw_modal($uconf['SUP_SELFACT'], $uconf['SUP_SELFACT'], $uconf['SUP_BRUTEERROR'], 'ubButton', '400', '300'); } } else { print 'DEBUG: EXEPTION_PASS_UNIQ '; } } } else { print $uconf['SUP_NOMAC']; } } else { //not unknown user network uhw_redirect($uconf['ISP_URL']); } ?> </h3>