<?php

   if(isset($_COOKIE['adminname']) && isset($_COOKIE['adminpass'])){
      $cusername = $_COOKIE['adminname'];
      $cpassword = $_COOKIE['adminpass'];
	 // include($absolute_path."checkpass.php");
	  }
	  
	  		// Get user input
		$username = isset($_POST['username']) ? $_POST['username'] : '';
		$password = isset($_POST['password']) ? $_POST['password'] : '';
	  

?>
<html>
<head>
<title>WEBInsta File manager - Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="images/admin.css" rel="stylesheet" type="text/css">
</head>

<body >
<br>
<br>
<br>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="efefef" class="codeboxes">
  <tr>
    <td>
	<table width="400" height="62" border="0" cellpadding="0" cellspacing="0">
          
          </table><table width="100%" border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td bgcolor="#FFFFFF">
            <form name="form1" method="post" action="checkpass.php">
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td ><br>
                    &nbsp;&nbsp;<strong><br>
                    </strong></td>
                  <td bgcolor="#FFFFFF"> <br>
                    <table width="100%" border="0" cellspacing="0" cellpadding="5">
                      <tr>
                        <td><span class="menuheader">Log in ...</span></td>
                      </tr>
                    </table></td>
                </tr>
                <tr>
                  <td width="25%">&nbsp;</td>
                  <td width="75%" valign="bottom" bgcolor="#FFFFFF">
<table border="0" align="left" cellpadding="5" cellspacing="0">
                      <tr>
                        <td ><div align="right">Username</div></td>
                        <td ><input name="username" type="text" class="textboxgray" id="username22"></td>
                      </tr>
                      <tr>
                        <td >Passwords</td>
                        <td ><input name="password" type="password" class="textboxgray" id="password3"></td>
                      </tr>
                    </table></td>
                </tr>
                <tr>
                  <td background="images/top_bg.gif"><div align="left">&nbsp;</div></td>
                  <td background="images/top_bg.gif"> <table border="0" cellspacing="0" cellpadding="4">
                      <tr>
                        <td width="60"><div align="right"> </div></td>
                        <td width="126"><input name="Submit2" type="submit" class="textboxgray" value="Submit"></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="19%"><input type="checkbox" name="remember" value="true"></td>
                              <td width="81%">Remember me
                              </td>
                            </tr>
                          </table>

                        </td>
                      </tr>
                    </table></td>
                </tr>
              </table>
              <div align="right"></div>
            </form>

          </td>
        </tr>
        <tr>
          <td bgcolor="#FFFFFF">
            <div align="right">
     

            </div></td>
        </tr>
      </table></td>
  </tr>
</table>
<p>&nbsp;</p>
</body>
</html>