GIF89a;
| Direktori : /home/serb/www/ |
| Current File : /home/serb/www/userauthentication.php |
<?
session_start();
include("lib/globals.php");
include("lib/commonapprove.php");
include("lib/functions.php");
/*session_unset('userid');
session_unset('userlogin');
session_unset('user');
session_unset('acctype');*/
?>
<script type="text/javascript">
<!--
if (screen.width <= 800) {
window.location = "http://m.escortservice.org/userauthentication.php";
}
//-->
</script>
<? include "includes/header_top.php";?>
<script language="javascript">
function validate()
{
if(document.f1.username.value=="")
{
alert("Enter your username");
document.f1.username.focus();
return false;
}
if(document.f1.passWord.value=="")
{
alert("Enter your password");
document.f1.passWord.focus();
return false;
}
/*if(document.f1.check.checked!=true)
{
alert("You need to check your age.");
return false;
}*/
}
</script>
<body>
<? include "includes/header.php";?>
<div class="main_bg">
<div style="height:32px;"></div>
<div style="width:1000px; margin:0 auto;">
<div class="statedetails">
<div class="stdtls_header">
login
</div>
<div class="stdtls_midder">
<div style=" width:990px; margin:0 auto;">
<? if($_GET['err']==2)
{ ?>
<p style="color:#900; text-align:center;">The email or password you entered in incorrect</p>
<? } ?>
<? if($_GET['msg']==1){ ?>
<p>Your password has been sent to your email.</p>
<? } ?>
<?
$_SESSION['apid']=$_GET['id'];
?>
<form action="userauthentication-process.php" method="post" name="logform" style="margin: 0px; padding: 0px;" onSubmit="return validate();">
<input name="submit_form" value="1" type="hidden">
<table class="join_table2" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="jointext222">Username <br/><input name="username" id="username" class="main_input" type="text"><br/>
</td>
<td></td>
</tr>
<tr>
<td class="jointext222">password <br/><input name="passWord" id="passWord" class="main_input" type="password"></td>
<td></td>
</tr>
<tr>
<td align="right"><input src="images/submit.png" type="image" />
<input type="hidden" name="authid" value="<?=$_GET['apid']?>">
</td>
<td>
</td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
</form>
</div>
</div>
<div class="stdtls_footer"></div>
</div>
</div>
</div>
<? include "includes/footer.php";?>