<?
session_start();
ob_start();
?>
<html>
<head>

<title>Fish landing data management system</title>
<script type="text/javascript" src="calendarDateInput.js">

/***********************************************
* Jason's Date Input Calendar- By Jason Moon http://calendar.moonscript.com/dateinput.cfm
* Script featured on and available at http://www.dynamicdrive.com
* Keep this notice intact for use.
***********************************************/

</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
#wrapper {
		border: 1px solid black;
		background-color: #E0E0EF;
		color:#FFFFFF;
		padding:10px;
        height:800px;
        width:1024px;
		text-align:center;
    }
.stylewhite {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #FFFFFF;
}
.stylewhitesmall {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF;
}
.stylegreen {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #00661F;
}
.styleblack {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #000000;
}
.styleblacklarge {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #000000;
}
a:link {
	color: #FFFFFF;
	text-decoration: none;
}
a:visited {
	color: #FFFFFF;
	text-decoration: none;
}
a:hover {
	color: #FF0000;
	text-decoration: none;
}
a:active {
	color: #FFFFFF;
	text-decoration: none;
}
.style1 {color: #FF0000}
.style38 {	color: #CC0000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
}
.style37 {color: #FFFFFF}
.styletextbox {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color:#000000; }
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (Untitled-1) -->
<table width="1024" height="799" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#F3F3F3" id="Table_01">
<tr>
		<td height="50" bgcolor="#ADCE4C" class="stylewhite">&nbsp;Fish Landing Data Management System</td>
  </tr>
	<tr class="stylewhitesmall">
	  <td height="20" bgcolor="#006666"><span class="styleblack">&nbsp;</span><a href="main.php">Home</a><span class="style1">&nbsp;</span> |&nbsp;<a href="usr.php">User</a> |<span class="style1"> <a href="fishingzone.php">Fishing Zone|</a> <a href="district.php">District</a> </span>|<a href="samplingport.php"> Sampling Port </a>| <a href="fgmethod.php">Fishing Gear and Method</a> | <a href="vessel.php">Fishing Vessel</a> | <a href="species.php">Fish Species</a> | <a href="fishoperation.php">Fishing Operation</a> | <a href="biology.php">Biology Data</a> | <a href="report.php">Report</a> |<span class="style1"> <a href="logout.php">Logout</a></span></td>
  </tr>
	<tr>
	  <td height="705" valign="top" bgcolor="#CCCCCC"><br>	    <? 
	  
	  if($_POST[submit])
	  {
	  ?>	  <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="stylewhite">
        <tr bordercolor="#FFFFFF">
          <td bgcolor="#006666" class="stylewhite">Monthly Number of Fishing Days Operational Days Report (Year : 2010) </td>
        </tr>
        <tr bordercolor="#FFFFFF">
          <td bgcolor="#006666" class="stylewhite">Gear: Trawl </td>
        </tr>
        <tr bordercolor="#FFFFFF">
          <td bgcolor="#006666" class="stylewhite">ZONE  1 </td>
        </tr>
        </table>	    
	    <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
          <tr bgcolor="#000000" class="styleblack">
            <td width="11%" class="stylewhitesmall"><div align="center">Vessel Name </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">Jan<br>
        </div></td>
            <td width="4%" class="stylewhitesmall"><div align="center">Feb<br>
        </div></td>
            <td width="9%" class="stylewhitesmall"><div align="center">Mar<br>
        </div></td>
            <td width="5%" class="stylewhitesmall"><div align="center">Apr<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">May<br>
        </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">Jun<br>
        </div></td>
            <td width="9%" class="stylewhitesmall"><div align="center">July<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Aug<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Sep<br>
        </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">Oct<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Nov<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Dec<br>
        </div></td>
            <td width="9%" class="stylewhitesmall"><div align="center">Total</div></td>
          </tr>
          <?
		$totalyear= 0;
		for($i=1;$i<=$numgetdistrict;$i++)
		{
			$resgetdistrict = mysql_fetch_array($qrygetdistrict);
			$dbdtname = $resgetdistrict["disname"];
			$dbdttid = $resgetdistrict["dtid"];
			require_once("totalcatch_report.inc.php");
			$ttcm1 = ttcatchdistrict($yy,1,$dbdttid);
			$sumjan = $sumjan+$ttcm1;
			require_once("totalcatch_report.inc.php");
			$ttcm2 = ttcatchdistrict($yy,2,$dbdttid);
			$sumfeb = $sumfeb+$ttcm2;
			require_once("totalcatch_report.inc.php");
			$ttcm3 = ttcatchdistrict($yy,3,$dbdttid);
			$summar = $summar+$ttcm3;
			require_once("totalcatch_report.inc.php");
			$ttcm4 = ttcatchdistrict($yy,4,$dbdttid);
			$sumapr = $sumapr+$ttcm4;
			require_once("totalcatch_report.inc.php");
			$ttcm5 = ttcatchdistrict($yy,5,$dbdttid);
			$summay  = $summay+$ttcm5;
			require_once("totalcatch_report.inc.php");
			$ttcm6 = ttcatchdistrict($yy,6,$dbdttid);
			$sumjun  = $sumjun+$ttcm6;
			require_once("totalcatch_report.inc.php");
			$ttcm7 = ttcatchdistrict($yy,7,$dbdttid);
			$sumjul  = $sumjul+$ttcm7;
			require_once("totalcatch_report.inc.php");
			$ttcm8 = ttcatchdistrict($yy,8,$dbdttid);
			$sumaug  = $sumaug+$ttcm8;
			require_once("totalcatch_report.inc.php");
			$ttcm9 = ttcatchdistrict($yy,9,$dbdttid);
			$sumsep  = $sumsep+$ttcm9;
			require_once("totalcatch_report.inc.php");
			$ttcm10 = ttcatchdistrict($yy,10,$dbdttid);
			$sumoct  = $sumoct+$ttcm10;
			require_once("totalcatch_report.inc.php");
			$ttcm11= ttcatchdistrict($yy,11,$dbdttid);
			$sumnov  = $sumnov+$ttcm11;
			require_once("totalcatch_report.inc.php");
			$ttcm12 = ttcatchdistrict($yy,12,$dbdttid);
			$sumdec  = $sumdec+$ttcm12;
			$totalyear =$ttcm1+$ttcm2+$ttcm3+$ttcm4+$ttcm5+$ttcm6+$ttcm7+$ttcm8+$ttcm9+$ttcm10+$ttcm11+$ttcm12;		
		?>
          <tr class="styleblack">
            <td bgcolor="#ADCE4C" class="styleblack">
              <div align="left">HASDAA </div></td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C" class="styleblack">&nbsp;</td>
          </tr>
          <?
		  }
			
			  ?>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">ISDU</div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SAHAPAINOON 2 </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI KAPOK 1 </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI MAAMOOR </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI MUBARAK </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI NAJIRAH </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI NARAZURA </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#6B716F" class="styleblack">
            <td height="17" class="stylewhitesmall">Total</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#6B716F" class="styleblack">
            <td height="17" class="stylewhitesmall">Average</td>
            <td height="17" class="stylewhitesmall">Total/number of gear (not include 0) </td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
        </table>
        <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="stylewhite">
          <tr bordercolor="#FFFFFF">
            <td bgcolor="#006666" class="stylewhite">ZONE  2 </td>
          </tr>
        </table>
        <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
          <tr bgcolor="#000000" class="styleblack">
            <td width="14%" class="stylewhitesmall"><div align="center">Vessel Name </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">Jan<br>
        </div></td>
            <td width="5%" class="stylewhitesmall"><div align="center">Feb<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Mar<br>
        </div></td>
            <td width="5%" class="stylewhitesmall"><div align="center">Apr<br>
        </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">May<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Jun<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">July<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Aug<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Sep<br>
        </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">Oct<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Nov<br>
        </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Dec<br>
        </div></td>
            <td width="9%" class="stylewhitesmall"><div align="center">Total </div></td>
          </tr>
          <?
		$totalyear= 0;
		for($i=1;$i<=$numgetdistrict;$i++)
		{
			$resgetdistrict = mysql_fetch_array($qrygetdistrict);
			$dbdtname = $resgetdistrict["disname"];
			$dbdttid = $resgetdistrict["dtid"];
			require_once("totalcatch_report.inc.php");
			$ttcm1 = ttcatchdistrict($yy,1,$dbdttid);
			$sumjan = $sumjan+$ttcm1;
			require_once("totalcatch_report.inc.php");
			$ttcm2 = ttcatchdistrict($yy,2,$dbdttid);
			$sumfeb = $sumfeb+$ttcm2;
			require_once("totalcatch_report.inc.php");
			$ttcm3 = ttcatchdistrict($yy,3,$dbdttid);
			$summar = $summar+$ttcm3;
			require_once("totalcatch_report.inc.php");
			$ttcm4 = ttcatchdistrict($yy,4,$dbdttid);
			$sumapr = $sumapr+$ttcm4;
			require_once("totalcatch_report.inc.php");
			$ttcm5 = ttcatchdistrict($yy,5,$dbdttid);
			$summay  = $summay+$ttcm5;
			require_once("totalcatch_report.inc.php");
			$ttcm6 = ttcatchdistrict($yy,6,$dbdttid);
			$sumjun  = $sumjun+$ttcm6;
			require_once("totalcatch_report.inc.php");
			$ttcm7 = ttcatchdistrict($yy,7,$dbdttid);
			$sumjul  = $sumjul+$ttcm7;
			require_once("totalcatch_report.inc.php");
			$ttcm8 = ttcatchdistrict($yy,8,$dbdttid);
			$sumaug  = $sumaug+$ttcm8;
			require_once("totalcatch_report.inc.php");
			$ttcm9 = ttcatchdistrict($yy,9,$dbdttid);
			$sumsep  = $sumsep+$ttcm9;
			require_once("totalcatch_report.inc.php");
			$ttcm10 = ttcatchdistrict($yy,10,$dbdttid);
			$sumoct  = $sumoct+$ttcm10;
			require_once("totalcatch_report.inc.php");
			$ttcm11= ttcatchdistrict($yy,11,$dbdttid);
			$sumnov  = $sumnov+$ttcm11;
			require_once("totalcatch_report.inc.php");
			$ttcm12 = ttcatchdistrict($yy,12,$dbdttid);
			$sumdec  = $sumdec+$ttcm12;
			$totalyear =$ttcm1+$ttcm2+$ttcm3+$ttcm4+$ttcm5+$ttcm6+$ttcm7+$ttcm8+$ttcm9+$ttcm10+$ttcm11+$ttcm12;		
		?>
          <tr class="styleblack">
            <td bgcolor="#ADCE4C" class="styleblack"><div align="left">AKOJA 1 </div></td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C" class="styleblack">&nbsp;</td>
          </tr>
          <?
		  }
			
			  ?>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">MAWAS 1 </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SAHA 5</div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI JAYA KADONG 1 </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI KIULAP 3 </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI MEKA BERANGKAT </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI NORAZMI</div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI NUR GHANIMAH</div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#6B716F" class="styleblack">
            <td height="17" class="stylewhitesmall">Total</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
        </table>       
        <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="stylewhite">
          <tr bordercolor="#FFFFFF">
            <td bgcolor="#006666" class="stylewhite">Operational Report (Year : 2010) </td>
          </tr>
          <tr bordercolor="#FFFFFF">
            <td bgcolor="#006666" class="stylewhite">Gear: Purse Seine </td>
          </tr>
          <tr bordercolor="#FFFFFF">
            <td bgcolor="#006666" class="stylewhite">ZONE 1</td>
          </tr>
        </table>
        <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
          <tr bgcolor="#000000" class="styleblack">
            <td width="11%" class="stylewhitesmall"><div align="center">Vessel Name </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">Jan<br>
            </div></td>
            <td width="4%" class="stylewhitesmall"><div align="center">Feb<br>
            </div></td>
            <td width="9%" class="stylewhitesmall"><div align="center">Mar<br>
            </div></td>
            <td width="5%" class="stylewhitesmall"><div align="center">Apr<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">May<br>
            </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">Jun<br>
            </div></td>
            <td width="9%" class="stylewhitesmall"><div align="center">July<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Aug<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Sep<br>
            </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">Oct<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Nov<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Dec<br>
            </div></td>
            <td width="9%" class="stylewhitesmall"><div align="center">Total</div></td>
          </tr>
          <?
		$totalyear= 0;
		for($i=1;$i<=$numgetdistrict;$i++)
		{
			$resgetdistrict = mysql_fetch_array($qrygetdistrict);
			$dbdtname = $resgetdistrict["disname"];
			$dbdttid = $resgetdistrict["dtid"];
			require_once("totalcatch_report.inc.php");
			$ttcm1 = ttcatchdistrict($yy,1,$dbdttid);
			$sumjan = $sumjan+$ttcm1;
			require_once("totalcatch_report.inc.php");
			$ttcm2 = ttcatchdistrict($yy,2,$dbdttid);
			$sumfeb = $sumfeb+$ttcm2;
			require_once("totalcatch_report.inc.php");
			$ttcm3 = ttcatchdistrict($yy,3,$dbdttid);
			$summar = $summar+$ttcm3;
			require_once("totalcatch_report.inc.php");
			$ttcm4 = ttcatchdistrict($yy,4,$dbdttid);
			$sumapr = $sumapr+$ttcm4;
			require_once("totalcatch_report.inc.php");
			$ttcm5 = ttcatchdistrict($yy,5,$dbdttid);
			$summay  = $summay+$ttcm5;
			require_once("totalcatch_report.inc.php");
			$ttcm6 = ttcatchdistrict($yy,6,$dbdttid);
			$sumjun  = $sumjun+$ttcm6;
			require_once("totalcatch_report.inc.php");
			$ttcm7 = ttcatchdistrict($yy,7,$dbdttid);
			$sumjul  = $sumjul+$ttcm7;
			require_once("totalcatch_report.inc.php");
			$ttcm8 = ttcatchdistrict($yy,8,$dbdttid);
			$sumaug  = $sumaug+$ttcm8;
			require_once("totalcatch_report.inc.php");
			$ttcm9 = ttcatchdistrict($yy,9,$dbdttid);
			$sumsep  = $sumsep+$ttcm9;
			require_once("totalcatch_report.inc.php");
			$ttcm10 = ttcatchdistrict($yy,10,$dbdttid);
			$sumoct  = $sumoct+$ttcm10;
			require_once("totalcatch_report.inc.php");
			$ttcm11= ttcatchdistrict($yy,11,$dbdttid);
			$sumnov  = $sumnov+$ttcm11;
			require_once("totalcatch_report.inc.php");
			$ttcm12 = ttcatchdistrict($yy,12,$dbdttid);
			$sumdec  = $sumdec+$ttcm12;
			$totalyear =$ttcm1+$ttcm2+$ttcm3+$ttcm4+$ttcm5+$ttcm6+$ttcm7+$ttcm8+$ttcm9+$ttcm10+$ttcm11+$ttcm12;		
		?>
          <tr class="styleblack">
            <td bgcolor="#ADCE4C" class="styleblack">
              <div align="left">HASDAA </div></td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C" class="styleblack">&nbsp;</td>
          </tr>
          <?
		  }
			
			  ?>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">ISDU</div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SAHAPAINOON 2 </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI KAPOK 1 </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI MAAMOOR </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI MUBARAK </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI NAJIRAH </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI NARAZURA </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#6B716F" class="styleblack">
            <td height="17" class="stylewhitesmall">Total</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
        </table>
        <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="stylewhite">
          <tr bordercolor="#FFFFFF">
            <td bgcolor="#006666" class="stylewhite">ZONE 2 </td>
          </tr>
        </table>
        <table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
          <tr bgcolor="#000000" class="styleblack">
            <td width="14%" class="stylewhitesmall"><div align="center">Vessel Name </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">Jan<br>
            </div></td>
            <td width="5%" class="stylewhitesmall"><div align="center">Feb<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Mar<br>
            </div></td>
            <td width="5%" class="stylewhitesmall"><div align="center">Apr<br>
            </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">May<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Jun<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">July<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Aug<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Sep<br>
            </div></td>
            <td width="6%" class="stylewhitesmall"><div align="center">Oct<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Nov<br>
            </div></td>
            <td width="7%" class="stylewhitesmall"><div align="center">Dec<br>
            </div></td>
            <td width="9%" class="stylewhitesmall"><div align="center">Total </div></td>
          </tr>
          <?
		$totalyear= 0;
		for($i=1;$i<=$numgetdistrict;$i++)
		{
			$resgetdistrict = mysql_fetch_array($qrygetdistrict);
			$dbdtname = $resgetdistrict["disname"];
			$dbdttid = $resgetdistrict["dtid"];
			require_once("totalcatch_report.inc.php");
			$ttcm1 = ttcatchdistrict($yy,1,$dbdttid);
			$sumjan = $sumjan+$ttcm1;
			require_once("totalcatch_report.inc.php");
			$ttcm2 = ttcatchdistrict($yy,2,$dbdttid);
			$sumfeb = $sumfeb+$ttcm2;
			require_once("totalcatch_report.inc.php");
			$ttcm3 = ttcatchdistrict($yy,3,$dbdttid);
			$summar = $summar+$ttcm3;
			require_once("totalcatch_report.inc.php");
			$ttcm4 = ttcatchdistrict($yy,4,$dbdttid);
			$sumapr = $sumapr+$ttcm4;
			require_once("totalcatch_report.inc.php");
			$ttcm5 = ttcatchdistrict($yy,5,$dbdttid);
			$summay  = $summay+$ttcm5;
			require_once("totalcatch_report.inc.php");
			$ttcm6 = ttcatchdistrict($yy,6,$dbdttid);
			$sumjun  = $sumjun+$ttcm6;
			require_once("totalcatch_report.inc.php");
			$ttcm7 = ttcatchdistrict($yy,7,$dbdttid);
			$sumjul  = $sumjul+$ttcm7;
			require_once("totalcatch_report.inc.php");
			$ttcm8 = ttcatchdistrict($yy,8,$dbdttid);
			$sumaug  = $sumaug+$ttcm8;
			require_once("totalcatch_report.inc.php");
			$ttcm9 = ttcatchdistrict($yy,9,$dbdttid);
			$sumsep  = $sumsep+$ttcm9;
			require_once("totalcatch_report.inc.php");
			$ttcm10 = ttcatchdistrict($yy,10,$dbdttid);
			$sumoct  = $sumoct+$ttcm10;
			require_once("totalcatch_report.inc.php");
			$ttcm11= ttcatchdistrict($yy,11,$dbdttid);
			$sumnov  = $sumnov+$ttcm11;
			require_once("totalcatch_report.inc.php");
			$ttcm12 = ttcatchdistrict($yy,12,$dbdttid);
			$sumdec  = $sumdec+$ttcm12;
			$totalyear =$ttcm1+$ttcm2+$ttcm3+$ttcm4+$ttcm5+$ttcm6+$ttcm7+$ttcm8+$ttcm9+$ttcm10+$ttcm11+$ttcm12;		
		?>
          <tr class="styleblack">
            <td bgcolor="#ADCE4C" class="styleblack"><div align="left">AKOJA 1 </div></td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C">&nbsp;</td>
            <td bgcolor="#ADCE4C" class="styleblack">&nbsp;</td>
          </tr>
          <?
		  }
			
			  ?>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">MAWAS 1 </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SAHA 5</div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI JAYA KADONG 1 </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI KIULAP 3 </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI MEKA BERANGKAT </div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI NORAZMI</div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#ADCE4C" class="styleblack">
            <td height="17" class="styleblack"><div align="left">SRI NUR GHANIMAH</div></td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
          <tr bgcolor="#6B716F" class="styleblack">
            <td height="17" class="stylewhitesmall">Total</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
            <td height="17" class="stylewhitesmall">&nbsp;</td>
          </tr>
        </table>
        <p>
          <?
		} 
		
		?>
        </p>
        <p>&nbsp;</p>
        <form name="form1" method="post" action="">
          <table width="50%" height="159" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="19" colspan="4" background="images/index_01.gif"><div align="center" class="stylewhite">Select Report </div>
                  <div align="right"></div></td>
            </tr>
            <tr>
              <td width="27%" height="14" valign="top" bgcolor="#ADCE4C" class="style1"><div align="right"><span class="stylegreen">Fishing Sector </span>&nbsp; </div></td>
              <td height="14" colspan="3" bgcolor="#ADCE4C"><label>
                <select name="lstsector" class="styleblack" id="lstsector">
                  <option value="1">Commercial</option>
                  <option value="0">Small Scale</option>
                </select>
              </label></td>
            </tr>
            <tr>
              <td height="14" valign="top" bgcolor="#ADCE4C" class="style1"><div align="right" class="stylegreen">Fishing Gear</div></td>
              <td height="14" colspan="3" bgcolor="#ADCE4C"><span class="styletextbox"><span class="styleblack">&nbsp;&nbsp;&nbsp;
                      <input type="checkbox" name="checkbox4" value="checkbox">
      Trawl &nbsp;&nbsp;&nbsp;
      <input type="checkbox" name="checkbox5" value="checkbox">
      PS &nbsp;&nbsp;&nbsp;
      <input type="checkbox" name="checkbox6" value="checkbox">
      longline </span></span></td>
            </tr>
            <tr>
              <td height="6" rowspan="2" valign="top" bgcolor="#ADCE4C" class="style1"><div align="right" class="stylegreen">Year </div></td>
              <td width="25%" height="0" bgcolor="#ADCE4C" class="styleblack"><span class="styletextbox">&nbsp;&nbsp;&nbsp;
                    <input type="checkbox" name="checkbox" value="checkbox">
              </span>2001 </td>
              <td width="25%" height="0" bgcolor="#ADCE4C" class="styleblack"><span class="styletextbox">&nbsp;&nbsp;&nbsp;
                    <input type="checkbox" name="checkbox2" value="checkbox">
              </span>2002</td>
              <td width="23%" height="0" bgcolor="#ADCE4C" class="styleblack"><span class="stylegreen"> <span class="styletextbox">
                <input type="checkbox" name="checkbox3" value="checkbox">
              </span></span>2003</td>
            </tr>
            <tr>
              <td height="0" bgcolor="#ADCE4C" class="styleblack"><span class="styletextbox">&nbsp;&nbsp;&nbsp;
                    <input type="checkbox" name="checkbox" value="checkbox">
              </span>2004</td>
              <td height="0" bgcolor="#ADCE4C" class="styleblack"><span class="styletextbox">&nbsp;&nbsp;&nbsp;
                    <input type="checkbox" name="checkbox2" value="checkbox">
              </span>2005</td>
              <td height="0" bgcolor="#ADCE4C" class="styleblack"><span class="stylegreen"> <span class="styletextbox">
                <input type="checkbox" name="checkbox3" value="checkbox">
              </span></span>2006</td>
            </tr>
            <tr>
              <td height="3" valign="top" bgcolor="#ADCE4C" class="stylegreen"><div align="right">&nbsp; </div></td>
              <td height="0" bgcolor="#ADCE4C" class="styleblack"><span class="styletextbox">&nbsp;&nbsp;&nbsp;
                    <input type="checkbox" name="checkbox" value="checkbox">
              </span>2007</td>
              <td height="0" bgcolor="#ADCE4C" class="styleblack"><span class="styletextbox">&nbsp;&nbsp;&nbsp;
                    <input type="checkbox" name="checkbox2" value="checkbox">
              </span>2008</td>
              <td height="0" bgcolor="#ADCE4C" class="styleblack"><span class="stylegreen"> <span class="styletextbox">
                <input type="checkbox" name="checkbox3" value="checkbox">
              </span></span>2009</td>
            </tr>
            <tr class="stylegreen">
              <td height="34" colspan="4" bgcolor="#ADCE4C"><div align="right">
                  <label> </label>
                  <div align="center">
                    <input name="submit" type="submit" class="styleblack" id="submit2" value="Select Report" />
                  </div>
              </div></td>
            </tr>
            <tr>
              <td height="19" colspan="4" bgcolor="#6B716F"><div align="right"></div></td>
            </tr>
          </table>
        </form>       <p>&nbsp;</p>
        <p>&nbsp;</p>
      <p>&nbsp;</p></td>
  </tr>
	<tr>
	  <td bgcolor="#006666"><div align="right"><span class="styleblack">@SEAFDEC 2012</span></div></td>
  </tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>