<table class="main" border="1">
<tr><td>
<table class="reports_header" border="1" cellpadding="0" cellspacing="0">
<tr>
<td class="timesheet_link" scope="col"><A HREF="reports.php?year=<?php echo $year; ?>&month=<?php echo $month; ?>"> <?php echo gettext('Company report'); ?> </A></td>
<td class="month_switch" scope="col">
<form action="" method="POST" >
<input type="hidden" name="timestamp" value=" <?php echo mktime(01,01,01,$month-1,01,$year); ?>">
<input type="hidden" name="projects_switch" value="<?php echo $project_type; ?>">
<input type="submit" value="<?php echo gettext('Prev Month'); ?>" />
</form>
</td>
<td class="month_switch" scope="col">
<form action="" method="POST" >
<input type="hidden" name="timestamp" value=" <?php echo mktime(01,01,01,$month+1,01,$year); ?>">
<input type="hidden" name="projects_switch" value="<?php echo $project_type; ?>">
<input type="submit" value="<?php echo gettext('Next Month'); ?>" />
</form>
</td>
<td class="projects_switch" scope="col">
<form action='' method='POST'>
<select name="projects_switch">
<?php
for ( $i=0; $i < count($proj_types); $i++){
echo "<option value=$proj_types[$i]>$proj_types[$i]</option>";
} ?>
</select>
<input type="hidden" name="year" value="<?php echo $year; ?>">
<input type="hidden" name="month" value="<?php echo $month ?>">
<input type="submit" value="GO" >
</form>
</td>
<td class="reports_header_block" scope="col"><?php echo $month, '-' ,$year; ?></td>
<td class="timesheet_link" scope="col"><A HREF="timesheet.php?year=<?php echo $year; ?>&month=<?php echo $month; ?>">Timesheet</A></td>
<td class="reports_exit" scope="col"><A HREF="logout.php"><?php echo gettext('exit'); ?></A></td>
</tr>
</table>