<script type="text/javascript">
function setFocus()
{
document.getElementById("fname").focus();
}
</script>
<body onload="setFocus()">
<form method="POST" action="login.php">
<center>
<br /><br />
<br /><br />
<br /><br />
<br /><br />
<br /><br />
<table style="width: 550px" style="margin:0;border: 1px dotted #ffffff" cellspacing="0">
	<tr>
		<td class="tcat">لوحة الإدارة لبرنامج My Tickets</td>
	</tr>
</table>

<?php
if(isset($_GET)){
foreach($_GET as $val => $value ){
$xGET[]=$val;
}
}
?>
<table style="width: 550px" style="margin:0;border: 1px dotted #ffffff" cellspacing="0">
	<tr>
		<td width="267" height="30" align="center" bgcolor="#F4F4F4">اسم المستخدم :</td>
		<td align="center"  height="30" align="center" bgcolor="#F4F4F4"> 
			<input value="<? print $xGET[0]; ?>" id="fname" name="username" size="26" maxlength="45" style="text-decoration: underline; font-weight: 700"></p>
		</td>
	</tr>
	<tr>
		<td width="267" height="30" align="center" bgcolor="#F4F4F4">&nbsp;كلمة المرور :</td>
		<td align="center"  height="30" align="center" bgcolor="#F4F4F4">
		<input value="<? print $xGET[1]; ?>" type="password" name="password" size="26" maxlength="50" style="font-weight: 700; text-decoration: underline"></td>
	</tr>
</table>
<p align="center"><br />
<input type="submit" value="login / دخول" name="B1" style="border: 1px outset #C0C0C0; padding: 1px;font-size:16pt;width: 250px; height: 40px;"></p>
</center>
		</form>
		
		<br />		<br />		<br />
		<br />		<br />		<br />
		<span style="font-family:Tahoma;font-size: 9pt" dir="ltr">MyTickets <?= $GLOBALS['Version']; ?><br /> برمجة : <a href="http://phpx3.com">موقع مبرّمج</a></span>
		
		</center></body></html>