session_start();
if ($_SESSION['user_logged'] == "" || $_SESSION['user_password'] == "")
{
$redirect = $_SERVER['PHP_SELF'];
header("Refresh: 5; URL=user_login.php?redirect=$redirect");
echo "You are currently not logged in, we are redirecting you, be
patient!
";
echo "(If your browser doesn't support this, click here)";
die();
}
else {}
?>