include("webmaster/db.php");
$topImage="ban_contactus.jpg";
if($_GET["mode"]=="validate"){
$objRS=mysql_query("select * from first_members where email='".$_POST["email"]."' and password='".$_POST["password"]."'");
echo mysql_error();
if(mysql_num_rows($objRS)!=0){
$memberData = mysql_fetch_array($objRS);
if($memberData["memberstatus"]=="D"){
$message="Sorry your account is not activated. Please contact site administrator,";
}
if($memberData["memberstatus"]=="A"){
$_SESSION["membersloggedin"]=$_POST["email"];
Header("location:memberaccount.php");
}
}else{
$message="Invalid Email / Password
Please try again.";
$adminKaUser="";
}
}
?>
Welcome to First Guarantee Pension Limited.