<?
	require("config.inc");
	
?>
<html>
	<head>
		<title>Android System - Login</title>
	</head>
	
	<body>
		
		<a href="http:www.tnchemie.com.my"><img src="pic/projectTitle.JPG" border="0px"></a>
		
		<?
		$query1 = mysql_query("select * from tbl_notice");
		$i = 1;
		?>
		
			<table align="left" height="25%" width="300px">
				<tr height="1px" valign="top"><td align="center">
				</td></tr>
				<tr><td valign="center" align="center" height="100%">
					<form name="LoginForm" action="logging.php" method="POST">
						<table border="1" bordercolor="green" rules="none">
							<tr><th colspan=2 bgcolor="green">Admin Login</th></tr>
							<tr><td>Admin ID</td><td><input type="text" name="AdminID"></td></tr>
							<tr><td>Password</td><td><input type="password" name="Password"></td></tr>
							<tr><td colspan="2" align="center"><input type="submit" name="logging" value="login"></td></tr>
						</table>
					</form>
				</td></tr>
			</table>
		
		<table align="center" height="25%" width="400px" cellspacing= "0 "   cellpadding= "0 "  style= "table-layout:fixed;word-wrap:break-word ">
			<tr height="1px" valign="top"><td align="center">
			</td></tr>
			<tr><td valign="center" align="center" height="100%" width="400px">
				<table border="1" bordercolor="green" rules="none">
					<?
				while ($row=mysql_fetch_array($query1))
				{
					echo "<tr><td><u><b>".$row['content']."</b></u></td></tr>";
					echo "<tr><td></td></tr>";
				}
				?>
				</table>
			</td></tr>
		</table>
	</body>
</html>