accountLogin($_POST["f_username"], $_POST["f_password"]); if($check_user===true){ //user is valid header("Location: ".$redirect); die(); } else if($check_user==="inactive"){ $inactive = true; } else{ //user is bad $bad = true; } } $page_content[$mysql_t_pages["page_title"]] = "Account Login"; $page_content[$mysql_t_pages["page_keyphrase1"]] = "Login"; $page_content[$mysql_t_pages["page_keyphrase2"]] = "to"; $page_content[$mysql_t_pages["page_keyphrase3"]] = "your account."; $page_content[$mysql_t_pages["page_description"]] = "Login to your Island Wholesale Foods account to place orders, check delivery status and more!"; require_once("includes/inc.top.php"); ?>
Bad Client ID and/or password.'."\n"; } else if($inactive==true){ echo "\n".'
Your account is curently disabled.
Contact us for more information.'."\n"; } if(isset($_GET["r"])){ } elseif(isset($_POST["r"])){ echo $newFormElement->makeHidden("r",$_POST["r"]); } ?>
Client ID: makeText("f_username",25,$username,"","","",""); ?>
Password: makePassword("f_password",25,"","","",""); ?>
  makeButton("Login","submit","Login"); ?>     Forgot Password?
" title="Register">Need to Register?