<body background="i.jpg">
<?php include("../../include/dbconnect.php");?>
<title>Turnover Entry</title>
<body background=blater01.gif  topmargin=0>
<center> 
<table cellpadding=0 cellspacing=4 width=590>
  <tr> 
    <td style="padding:3px;" colspan=2 bgcolor="#93BEE2"><font face="Verdana, Arial, Helvetica, sans-serif"><b><b>Turnover Entry</b></font></td>
  </tr>
  <tr valign="top"> 
    <td colspan=2> <font >&nbsp;</font> </td>
  </tr>
</table>

<form name='myForm02' method='POST' action='turn_post.php' >

<?

$sdt = date(d).'-'.date(m).'-'.date(Y); 

?>

  
<table border=0 cellpadding=3 cellspacing=4 width="590">

<tr>
<td width="216" height="31" align="right" ><font color="#003366" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Company
  &nbsp;</b></font></td>

<td width="350">

<?


$sBuyQuery = mysql_query("SELECT distinct compcode,name from company order by name ") or die(mysql_error());


?>
<SELECT name=compcode  >
<?

while($row1 = mysql_fetch_row($sBuyQuery))
{
	$temp = $row1[1];
	echo "<option value=\"$row1[0]\">$temp";
}

?>
</SELECT></td></tr>


<?



$sdt = date(d).'-'.date(m).'-'.date(Y); 
$year1= date(Y);
$year2=$year1-10;

  
  ?>
 </table>
<table cellpadding=0 cellspacing=4 width=590>  
<tr> 
<td width="222" height="26" align="right" ><font color="#003366" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Month and Year </b></font></td>
<td>
  <SELECT name='month'>

	<option value="01">January
	<option value="02">February	
	<option value="03">March
	<option value="04">April		
	<option value="05">May
	<option value="06">June
	<option value="07">July		
	<option value="08">August
	<option value="09">September					
	<option value="10">October	
	<option value="11">November
	<option value="12">December
  </SELECT>
  
   <SELECT name='year'>
   <?
   for($ind=0;$ind<=10;$ind++)
   {
   ?>
	<option value="<? echo($year2+1);?>"><? echo($year2+1);?>
	<?
		$year2=$year2+1;
	}
	?>
  </SELECT></td>
  
  </tr>

  
<tr > 
  <td width="222" height="31" align="right" ><font color="#003366" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Account Year 
    &nbsp;</b></font></td>
  <td width="354" bgcolor="#CC0000" > <input type="text"    onKeyPress="return event.keyCode!=13"   name="account_year" value=''>&nbsp;Eg:2007-2008 
  </td></tr>  

  <tr > 
<td width="222" height="31" align="right" ><font color="#003366" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Turnover Amount
    &nbsp;</b></font></td>
  <td> <input type="text"    onKeyPress="return event.keyCode!=13"   name="amount"  value= '' > 
  </td>
</tr>


  
 
  </table>
  
  
  <table cellpading=0 cellspacing=10 width= 50>
    <tr> 
      <td> <blockquote> <input type =submit name="submit" value = "Submit"></td></blockquote></td></tr>
  </table>
</table>


<br><br><font size=1><center><a href= "index.html">Return to index page</a></center></font>
                                                                             
</body></form>
