<center>
<form action="rptsmr.php" method="post">
<input type="hidden" name="pg" value="<?= $_GET["pg"] ?>" />
<input type="hidden" name="ac" value="<?= $_GET["ac"] ?>" />
<table style="font-family:Arial; font-size:14px" width="500">
<tr bgColor="#999999" style="color: #EEEEEE">
<td colspan="2">&nbsp;</td>
</tr>
<tr>
  <th bgColor="#999999" style="color: #EEEEEE">
    YEAR
  </th>
  <th bgcolor="#EEEEEE">
  <?
    $syr = (date("Y")-5);
	$tyr = date("Y");
  ?>
  <select name="pyr">
<?
    while($tyr >= $syr){
	?>
	<option value="<?= $tyr ?>" <?= $selected ?>><?= $tyr ?></option>
	<?
	  $tyr--;
	}
?>
  </select>
  </th>
</tr>

<tr bgColor="#999999" style="color: #EEEEEE">
  <th colspan="2"><input type="submit" value="REPORT"></th>
</tr>


</table>
</form>
</center>