<?php session_start(); 
if($_SESSION["username"]=="")
{
 	echo "You are not Logged in Please <a href='signin.php'>Sign in </a> First ";
}
elseif($_SESSION["usertype"]=="Parents")
{
 	echo "You are not Authorized This Page <a href='parents.php'>Back </a> ";
}
else
{
$today=date("Y-m-d");
?>
<HTML>
<HEAD>
<TITLE>MIND TECH SOLUTION</TITLE>
<link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-base.css" />
<link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-topbar.css" />
<link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-sidebar.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

<style type="text/css">
<!--
.style1 {font-weight: bold}
.style2 {color: #FFFFFF}
.style3 {font-size: 36px}
.style4 {
	font-family: Tahoma;
	font-size: 12px;
	font-weight: bold;
}
-->
</style>
<script type="text/javascript" src="ddlevelsfiles/ddlevelsmenu.js">

/***********************************************
* All Levels Navigational Menu- (c) Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<!-- ImageReady Slices (home final.psd) -->
<TABLE WIDTH=1000 BORDER=0 CELLPADDING=0 CELLSPACING=0 align=center>
  <TR>
    <TD COLSPAN=3 bgcolor="#2365ED"><div align="center"><img src="logo copy.jpg" width="134" height="130"></div></TD>
    <TD COLSPAN=9 bgcolor="#2365ED"><table width="561" border="0" align="left">
	
      <tr>
        <td width="555" height="123" align="center" valign="middle"><p align="center" class="style28"><span class="style37 style3"><strong><h1><font face="Palatino Linotype" color="#FFFFFF"><? echo "" . $_SESSION["userid"]; ?></font></h1></strong></span></p></td>
      </tr>
    </table></TD>
    <TD COLSPAN=2 bgcolor="#2365ED"><a href="http://www.facebook.com"></a></TD>
    <TD bgcolor="#2365ED"><a href="http://www.twitter.com"></a></TD>
    <TD bgcolor="#2365ED"><a href="signin.php">Signout</a><a href="http://www.youtube.com"></a></TD>
  </TR>
  <TR>
    <TD COLSPAN=16 bgcolor="#2365ED"><div id="ddtopmenubar" class="mattblackmenu">
<?php include("includes/menu.php") ?></TD>
  </TR>
  <TR>
    <TD COLSPAN=16 align=center></TD>
  </TR>
  <TR>
    <TD COLSPAN=16 bgcolor="#2365ED">&nbsp;</TD>
  </TR>
  <TR>
    <TD height="26" COLSPAN=16 bgcolor="#000045"><p align="center" class="style36 style2"><strong> Expense Register Report </strong></p></TD>
  </TR>
  <TR>
    <TD height="254" colspan="16" valign="top" bgcolor="#FFFF66"><table width="755" border="0" align="center">

	  <form action="expense_register_report_Process.php" method="post" name="app_form" id="app_form">

        <tr>

          <td colspan="5" valign="top" bgcolor="#CCCCCC"><?php 

	  if(isset($_GET['Message'])){

    echo $_GET['Message'];

}

	?></td>
          </tr>

        <tr>

          <td valign="top">&nbsp;</td>

          <td valign="top">&nbsp;</td>

          <td>&nbsp;</td>

          <td valign="top">&nbsp;</td>

          <td>&nbsp;</td>
        </tr>

        <tr>

          <td width="103" valign="top">&nbsp;</td>

          <td width="106" valign="top"><span class="style4">From Date </span></td>
          <td width="149"><span class="style4">
            <input name="from_date" type="text" class="form-control datepicker />
          </span></td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><span class=" id="from_date" value="<? echo $today ?>"style4">
          </span></td>
          <td width="106" valign="top">&nbsp;</td>

          <td width="149">&nbsp;</td>
        </tr>

        <tr>

          <td>&nbsp;</td>

          <td><span class="style4">To Date</span>
          <td><input name="to_date" type="text" class="form-control datepicker />
          </span></td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
		
        
        <tr>
          <td colspan=" id="to_date" value="<? echo $today ?>"4">
          <td>&nbsp;</td>

          <td>&nbsp;</td>
        </tr>

		

        

        <tr>

          <td colspan="4">&nbsp;</td>

          <td>&nbsp;</td>
        </tr>

        <tr>

          <td>&nbsp;</td>

          <td colspan="2">

            <div align="center">

              <input name="submit" type="submit" id="submit" onClick="check_data()" value="Veiw Report"/>

              <input type="reset" name="Submit2" value="Refresh">
            </div></td>

          <td>&nbsp;</td>

          <td>&nbsp;</td>
        </tr>
      </table> </TD>
  </TR>
  <TR>
    <TD COLSPAN=16 bgcolor="#2365ED">&nbsp;</TD>
  </TR>
  
  <TR>
    <TD COLSPAN=16><table width="998" border="0" bgcolor="#000144">
      <tr>
        <td height="46" colspan="2" bgcolor="#010044">&nbsp;</td>
        <td width="580" rowspan="2" bgcolor="#010044">&nbsp;</td>
      </tr>
      <tr>
        <td height="52" bgcolor="#010044">&nbsp;</td>
        <td bgcolor="#010044">&nbsp;</td>
      </tr>
    </table></TD>
  </TR>
  <TR>
    <TD height="2"><IMG SRC="images/spacer.gif" WIDTH=233 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=15 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=15 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=77 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=151 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=15 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=17 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=103 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=116 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=14 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=15 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=54 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=56 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=14 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=49 HEIGHT=1 ALT=""></TD>
    <TD><IMG SRC="images/spacer.gif" WIDTH=56 HEIGHT=1 ALT=""></TD>
  </TR>
</TABLE>
<!-- End ImageReady Slices -->
</BODY>
</HTML>
<?php
}
?>