include("../include/before.php");
include_once("../include/show_page_title.php");
include_once("../include/utils.php");
$page_title="Login";
if (!$auth->member_id) // show login form
{
if (strlen($_SESSION['invalid_email']))
$invalid_email = "The email you typed is invaild.";
$_SESSION['invalid_email']='';
if ($_GET["msg"])
{
$page_title='Authorization Required';
$error_text='The page you tried to access is reserved for registered members only.
If you have an account please login and try again!
';
if (is_array($_SESSION["auth_error"]))
{
$page_title=$_SESSION["auth_error"][0];
$error_text=$_SESSION["auth_error"][1];
unset($_SESSION["auth_error"]);
}
}
show_page_title($page_title,"");
?>
|
||
= $invalid_email ?> |
||
Forgot your password ? |
Welcome back, = $auth->member_arr['username']?>!
$unread_msg=unread_messages($auth->member_id);
if ($unread_msg)
{
?>
You have =$unread_msg?> new message(s)
}
?>
=unhtmlentities(nl2br($page["text_page"]));?>