<?php include("includes/config.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Fee Structure | Frontier Public High School</title>
<link rel="stylesheet" type="text/css" href="styles/my.css"  />
</head>
<body>
<!-- Wrapper Starts Here -->
<div id="wrapper">
<?php 
include("includes/header.php");
?>
<!-- Contents Starts -->
<div class="content">
	<?php
			$content=mysql_query("select * from `articles` where `page_name` like 'Fee Structure'");
			while($row=mysql_fetch_array($content))
			{
			?>
    <div class="article">
    	<h1><?php echo $row['article_heading']; ?></h1>
               <p>
        <img src="admin/<?php echo $row['article_picture']; ?>"/><?php echo nl2br($row['article_content']);?></p>
    </div>
<?php } ?>
<div class="table">
<table cellspacing="0" cellpadding="0" border="1">
  <col width="221" />
  <col width="46" />
  <col width="71" />
  <col width="201" />
  <col width="43" />
  <tr>
    <th colspan="2">Monthly    Fee (Boys) </th>
    <td width="71"></td>
    <th colspan="2">Monthly Fee (Girls) </th>
    </tr>
  <tr>
    <th width="221" align="left">Class</th>
    <th width="46" align="left">Fee</th>
    <td></td>
    <th width="201" align="left">Class</th>
    <th width="43" align="left">Fee</th>
  </tr>
<?php
			$content=mysql_query("select * from `monthly_fee`");
			while($row=mysql_fetch_array($content))
			{
			?>
  <tr>
    <th align="left"><?php echo $row['Class_b']; ?></th>
    <th align="left"><?php echo $row['Fee_b']; ?></th>
    <td></td>
    <th align="left"><?php echo $row['Class_g']; ?></th>
    <th align="left"><?php echo $row['Fee_g']; ?></th>
  </tr>
  <?php } ?>
</table>
</div>
</div>
<!-- Contents Ends -->

<?php
include("includes/sidebar.php");
include("includes/footer.php");
?>
</div>
<!-- Wrapper Ends -->
</body>
</html>
