#=============================================
if($password_protect_all_files){
session_start();
if ($user_pass == "password"){
$pass_message = "
The default USER password is still set.
Change your password NOW!
To change the password, either manually edit the config.php file or
select
the \"Configuration\" selection from the \"Admin Main Menu\" and
edit the
variables in the Main Config File.";
$user_value = "user";
$pass_value = "password";
}
$username = trim(strip_tags($_REQUEST['username']));
$password = trim(strip_tags($_REQUEST['password']));
if (!isset($_SESSION['username'])){
if (($username == $user_name) && ($password == $user_pass)){
$message = "Loading! Please wait...";
$class = "class = \"green\"";
$_SESSION['username'] = "$user";
print"";
}else{
if (($username) || ($password)){
$message = "BAD USERNAME OR PASSWORD!";
$class = "class = \"changed\"";
}
}
include ("file_info/skins/$current_skin/header.php");
?>