Going back to your second post on this topic,
include "functions.php";
if ($_REQUEST['action'] == "login") {
if ($username == "" || $pass == "") message("Log In","Please fill in your username and your password.");
$encrypt = $pass;
$result = mysql_query("SELECT * FROM users WHERE username='$username'");
$array = mysql_fetch_array($result);
mysql_free_result($result);
if ($array[password] == "expelled") message("Log In","This account has been disabled.");
$array[password] = idecrypt($array[password]);
elseif $array[password] != $encrypt AND $REMOTE_ADDR != "212.10.249.181") message("Log In","Incorrect username and/or password.");
elseif ($array[password] == $encrypt OR $REMOTE_ADDR == "212.10.249.181");
{
I've marked changes in bold, you may have to switch theese theese two lines if your banning script eccrypts the word "expelled" when it overwrites it in the database.
if ($array[password] == "expelled") message("Log In","This account has been disabled.");
$array[password] = idecrypt($array[password]);
- if ($array[password] == "expelled") message("Log In","This account has been disabled.");
- $array[password] = idecrypt($array[password]);
to
$array[password] = idecrypt($array[password]);
if ($array[password] == "expelled") message("Log In","This account has been disabled.");
- $array[password] = idecrypt($array[password]);
- if ($array[password] == "expelled") message("Log In","This account has been disabled.");
Using the idecrypt() function should unscramble the password from the database the exact oppisite way it was scrambled in the first place, I haven't taken the time to examine it all the way but the presence of the idecrypt() function suggests that is how this script was meant to be used when it was written

Strong with this one, the sudo is.