}
else if(!isset($_SESSION["Pincode_Passed"]) && $users->userVar(USERNAME, 'rank') >= 6) {
header ("Location: " . WWW . "/client_denied");
}
}
else if(!isset($_SESSION["Pincode_Passed"]) && $users->userVar(USERNAME, 'rank') >= 9999) {
header ("Location: " . WWW . "/client_denied");
}
Thanks, seemed to have fixed the pin problem.this might work, go to your client.php and replace:
PHP:} else if(!isset($_SESSION["Pincode_Passed"]) && $users->userVar(USERNAME, 'rank') >= 6) { header ("Location: " . WWW . "/client_denied"); }
with
PHP:} else if(!isset($_SESSION["Pincode_Passed"]) && $users->userVar(USERNAME, 'rank') >= 9999) { header ("Location: " . WWW . "/client_denied"); }