<?php
session_start();
include("connect.php");
?>
<html>
<head>
<link href="header.css" rel="stylesheet" type="text/css"/>
<script type='text/javascript'>
function finalCheck(){
//var div = document.getElementById('admin');
//document.write(div);
return false;
}

function clock(){
var currentTime = new Date ( );
var currentHours = currentTime.getHours ( );
var currentMinutes = currentTime.getMinutes ( );
var currentSeconds = currentTime.getSeconds ( );

currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;

var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";
currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
currentHours = ( currentHours == 0 ) ? 12 : currentHours;

var currentTimeString = currentHours + ":" + currentMinutes + ":" + currentSeconds + " " + timeOfDay;
}
</script>
</head>
<body>
<br/>
<div id="mask">
<table border=0 align=center class=corners cellspacing=15 cellpadding=3 width=600px>
<tr>
	<td><?php include("head.php")?></td>
	</tr>
<tr>
	<td><br/>
	<div id=error></div>
	<fieldset>
	<legend><b>User Login Details</b></legend><br/><br/>
<form onSubmit='return finalcheck();' action="logging.php" method="POST" >
<table align=center>
<tr>
	<td>User ID :</td>
	<td><input type="text" name="userID" id="admin"/></td>
	</tr>
<tr>
	<td>Password :</td>
	<td><input type="password" name="password" id="password"/></td>
	</tr>
<tr>
	<td>
		<input type="Submit" value="Login"style="background-color:#4f85bb;width:100;height:30;font-weight:bolder;color:#fff"/>
	</td>
	<td align=right>
		<a href="">forgot password?</a>
	</td>
	</tr>
</table><br/><br/>
</form>
</fieldset>

</td></tr>
</table>
</div>
<br/>
<div class="shake"><a href="online/index.php">shakeitmama.com</a></div>
<br/>
<center><?php include("online/copyright.php")?></center>

</body>
</html>