<?php
require_once "include/dbconnect.php"; 
session_start();
if (!isset($_SESSION['username'])){
echo"";
}else{
header('location:donor_data.php');
}
//

require_once "application_top.php";
?>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Bihar Blood Bank</title>
<meta http-equiv="Cache-control" content="no-cache">
<? include ("include/header.php"); ?>

	<table id="containerTable" border="0">
	<tr>
		<td width="220">
		<? require "left.php";?>
		</td>
		
		<td width="500px;text-align:center;">
		<div class="msg">
		<h1>My Account Login</h1>
		</div>
		<?=$msg;?>
		
		<div id="form">


<form method="post" action="login_process.php"> 

<table width="200"  cellspacing="3" cellpadding="3">
  <tr>
    <td>UserName</td>
   <td><input type="text" name="username"/></td>
  </tr>
  <tr>
    <td>Password</td>
    <td><input type="text" name="ipassword"/></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
      <td><input type="submit" name="submit" id="submit" value="Login" /></td>
   
  </tr>
</table>


 </form>



	</div>
</div>
		
		</td>
		
		<td width="220" align="right">
		<? require "right.php";?>
		</td>
	</tr>
	</table>
	
<? include ("include/footer.php"); ?>