<?PHP
session_start();
if($_SESSION["login"]==true){header("Location:index.php");}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Maximumdev : Administrator</title>
<link rel="stylesheet" type="text/css" href="css/backoffice.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script>


<style type="text/css">
<!--
body {
	background-image: url(img/bg_login.jpg);
}
-->
</style></head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="331" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3"><img src="images/login_01.jpg" width="331" height="160" /></td>
  </tr>
  <tr>
    <td colspan="3"><table height="204" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="10" valign="top"><img src="images/login_02.jpg" width="20" height="14" /></td>
        <td><img src="images/login_03.jpg" width="294" height="14" /></td>
        <td height="10" valign="top"><img src="images/login_04.jpg" width="20" height="14" /></td>
      </tr>
      <tr>
        <td><img src="images/login_05.jpg" width="20" height="170" /></td>
        <td align="right" valign="top" bgcolor="#FCFCFC">
        
         <form name="myLoginForm" method="post" action="chklogin.inc.php" onSubmit=" with(document.myLoginForm) {if(inputUserName.value=='') {inputUserName.focus();
		 return false;}if(inputPassword.value==''){inputPassword.focus();return false;}}">
        <table width="95%" border="0" cellspacing="0" cellpadding="0">
          
          <tr>
            <td align="left" class="login">&nbsp;</td>
            <td align="left">&nbsp;</td>
            <td align="left">&nbsp;</td>
          </tr>
          <tr>
            <td width="25%" align="left" class="login">Username</td>
            <td width="4%" align="left">:</td>
            <td width="68%" align="left">
              <label>
                <input name="inputUserName" type="text" id="inputUserName" size="20" />
              </label>            </td>
          </tr>
          <tr>
            <td align="left">&nbsp;</td>
            <td align="left">&nbsp;</td>
            <td align="left">&nbsp;</td>
          </tr>
          <tr>
            <td align="left" class="login">Password</td>
            <td align="left">:</td>
            <td align="left">
              <label>
                <input name="inputPassword" type="password" id="inputPassword" size="20" />
              </label>            </td>
          </tr>
          <tr>
            <td><input name="action" type="hidden" value="login" /></td>
            <td align="left">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td colspan="3" align="left">
              <table width="270" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td>
                    <input type="checkbox" name="remember" id="remember" />
                    <span class="font-13">Remember Me&nbsp;&nbsp;</span></td>
                  <td align="right">
                  <input name="image" type="image" src="img/login_p.jpg" width="80" height="30" border="0" />
</td>
                </tr>
              </table></td>
            </tr>
          <tr>
            <td height="15" colspan="3" align="left" valign="middle"><span class="font-13">
              <?PHP if(!empty($_GET["login"])){echo"<img src=\"images/icon_err.gif\" align=\"absmiddle\">&nbsp;Username or Password Invalid.";}?>
            </span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          </tr>
        </table>
        </form>
        
        </td>
        <td><img src="images/login_07.jpg" width="20" height="170" /></td>
      </tr>
      <tr>
        <td height="20" valign="top"><img src="images/login_08.jpg" width="20" height="18" /></td>
        <td valign="top"><img src="images/login_09.jpg" width="294" height="18" /></td>
        <td height="19" valign="top"><img src="images/login_10.jpg" width="20" height="18" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>