<?
session_start();
$brcode=$_SESSION['brcode'];
$user=$_SESSION['user'];
if(strlen($brcode)<=0)
{
  print "<script> alert('Invalid User'); parent.document.location='../index.html' </script>";
  return;
}
include_once('top.php'); 
?>
<style>
 td{font-family:arial;font-size:14;color:black;}
 th{font-family:arial;font-size:14;color:black;}
 
 input
  {border-style:ridge;
   border-color:#22437f;
   
   height:25px;
   border-size=1;
   font-family:sans-serif;
   color:BLACK;
  }
</style>
<title>AMPL</title>  
    <script type="text/javascript" src="../scripts/jquery-latest.js"></script>
	<link type="text/css" href="../includes/style1.css" rel="stylesheet" />
	<link type="text/css" href="../css/form.css" rel="stylesheet" />
    <script type="text/javascript">
        $(function() {
          if ($.browser.msie && $.browser.version.substr(0,1)<7)
          {
			$('li').has('ul').mouseover(function(){
				$(this).children('ul').show();
				}).mouseout(function(){
				$(this).children('ul').hide();
				})
          }
        });        
    </script>
<body background="../back_ground.jpg">

<center>
<p>&nbsp;<p>&nbsp;<p>&nbsp;
<FONT FACE='ARIAL BLACK'>
SELECT DATE FOR THE DAY BOOK
</FONT>
<form action='db2_new.php' method='POST'>
<table border=1 width=250>
<tr><td>From</td><td>
<input type=text name=d value='<?print date("d",time());?>' size=1>
<input type=text name=m value='<?print date("m",time());?>' size=1>
<input type=text name=y value='<?print date("Y",time());?>' size=3>
</td></tr>
<tr><td>To</td><td>
<input type=text name=d1 value='<?print date("d",time());?>' size=1>
<input type=text name=m1 value='<?print date("m",time());?>' size=1>
<input type=text name=y1 value='<?print date("Y",time());?>' size=3>
</td></tr>
<tr><td colspan=2 align=center><input type=submit value="Show"></td></tr>
</table>
</form>
