<?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
{
include 'dbc.php';
$userid=$_SESSION["userid"];
$sql3="Select * from addclass where user_id='$userid'";
$data3=mysql_query($sql3) or die ("Error:" . mysql_error());
$rows3=mysql_num_rows($data3);
?>
<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>
<script type="text/javascript">
function check_data()
{

if(document.getElementById("disc").value=="")
{
alert("Field is Compulsary");
document.getElementById("disc").focus();
}
else
{
document.getElementById("app_form").submit();
}
}
</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="60" align="center" valign="middle"><p align="center" class="style28"><span class="style37 style3"><h1><font face="Palatino Linotype" color="#000000">DREAMLAND INTERNATIONAL SCHOOLS</font> </h1></span></p></td>
      </tr>
      <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>Genrate Annual Fee </strong></p></TD>
  </TR>
  <TR>
    <TD height="254" colspan="16" valign="top" bgcolor="#FFFF66">
	
      <table width="479" border="0" align="center">
	   <form action="issue_slip_an.php" method="post" name="app_form" id="app_form">
        <tr>
          <td width="128"><span class="style4">Month Name :</span></td>
          <td width="310"><span class="style4">
            <select name="month_name" id="month_name">
              <option>January 2013</option>
              <option>Febuary 2013</option>
              <option>March 2013</option>
              <option>April 2013</option>
              <option>May 2013</option>
              <option>June 2013</option>
              <option>July 2013</option>
              <option>August 2013</option>
              <option>September 2013</option>
              <option>October 2013</option>
              <option>November 2013</option>
              <option>December 2013</option>
              <option>January 2014</option>
              <option>Febuary 2014</option>
              <option>March 2014</option>
              <option>April 2014</option>
              <option>May 2014</option>
              <option>June 2014</option>
              <option>July 2014</option>
              <option>August 2014</option>
              <option>September 2014</option>
              <option>October 2014</option>
              <option>November 2014</option>
              <option>December 2014</option>
              <option>January 2015</option>
              <option>Febuary 2015</option>
              <option>March 2015</option>
              <option>April 2015</option>
              <option>May 2015</option>
              <option>June 2015</option>
              <option>July 2015</option>
              <option>August 2015</option>
              <option>September 2015</option>
              <option>October 2015</option>
              <option>November 2015</option>
              <option>December 2015</option>
              <option>January 2016</option>
              <option>Febuary 2016</option>
              <option>March 2016</option>
              <option>April 2016</option>
              <option>May 2016</option>
              <option>June 2016</option>
              <option>July 2016</option>
              <option>August 2016</option>
              <option>September 2016</option>
              <option>October 2016</option>
              <option>November 2016</option>
              <option>December 2016</option>
              <option>January 2017</option>
              <option>Febuary 2017</option>
              <option>March 2017</option>
              <option>April 2017</option>
              <option>May 2017</option>
              <option>June 2017</option>
              <option>July 2017</option>
              <option>August 2017</option>
              <option>September 2017</option>
              <option>October 2017</option>
              <option>November 2017</option>
              <option>December 2017</option>
              <option>January 2018</option>
              <option>Febuary 2018</option>
              <option>March 2018</option>
              <option>April 2018</option>
              <option>May 2018</option>
              <option selected>June 2018</option>
              <option>July 2018</option>
              <option>August 2018</option>
              <option>September 2018</option>
              <option>October 2018</option>
              <option>November 2018</option>
              <option>December 2018</option>
              <option>January 2019</option>
              <option>Febuary 2019</option>
              <option>March 2019</option>
              <option>April 2019</option>
              <option>May 2019</option>
              <option>June 2019</option>
              <option>July 2019</option>
              <option>August 2019</option>
              <option>September 2019</option>
              <option>October 2019</option>
              <option>November 2019</option>
              <option>December 2019</option>
              <option>January 2020</option>
              <option>Febuary 2020</option>
              <option>March 2020</option>
              <option>April 2020</option>
              <option>May 2020</option>
              <option>June 2020</option>
              <option>July 2020</option>
              <option>August 2020</option>
              <option>September 2020</option>
              <option>October 2020</option>
              <option>November 2020</option>
              <option>December 2020</option>
              </select>
          </span></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td><span class="style4">Class Name<span class="style2">:</span></span></td>
          <td><span class="style4">
            <select name="class_name" id="class_name">
              <?php
  while($user_data3=mysql_fetch_array($data3))
  {
  ?>
                <option value="<? echo $user_data3['subname']; ?>"><? echo $user_data3["subname"]; ?></option>
                <?php
  }
  ?>
            </select>
          </span></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td><span class="style4">Due date  :</span></td>
          <td><span class="style4">
            <input name="due_date" type="text" id="due_date" size="50"/>
          </span></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>Annual Fee Amount  </td>
          <td><span class="style4">
            <input name="amount" type="text" id="amount" size="25"/>
          </span></td>
          <td width="27">&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
		</form>
        <tr>
          <td>&nbsp;</td>
          <td>
            <div align="left">
              <input type="submit" value="Genrate " onClick="check_data()"/>
              <input type="reset" name="Submit2" value="Refresh">
            </div></td>
          <td>&nbsp;</td>
        </tr>
      </table>
    </form>    </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
}
?>