<? project_select_droplist($proj_id); ?>
									</td>
								</tr>
							</table>
						</td>											
						<td align="center" nowrap class="outer_table_heading">
			  			<? 
							if ($mode == "weekly")
								echo date('F d, Y',$time); 
							else
								echo date('F Y',$time);
						?>
						</td>												
						<td align="right" nowrap>
						<?
							printPrevNext($time, $next_week, $prev_week, $next_month, $prev_month, $time_middle_month,"proj_id=$proj_id", $mode);
						?>
						</td>
					</tr>
				</table>

<!-- include the timesheet face up until the heading start section -->
<? include("timesheet_face_part_2.inc"); ?>

	<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" class="outer_table">
		<tr>
			<td>			
				<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_body">
<?
	if ($num == 0) {
		print "	<tr>\n";
						<td align="left" nowrap>
							<table width="100%" height="100%" border="0" cellpadding="1" cellspacing="2">
								<tr>
									<td align="right" width="0" class="outer_table_heading">Client:</td>
									<td align="left" width="100%">
											<? client_select_droplist($client_id, false); ?>
									</td>
								</tr>
							</table>
						</td>																
						<td align="center" nowrap class="outer_table_heading">
			  			<? echo date('F Y',mktime(0,0,0,$month,1,$year)) ?>
						</td>												
						<td align="right" nowrap>
						<?
							printPrevNext($time, $next_week, $prev_week, $next_month, $prev_month, $time_middle_month,"client_id=$client_id", $mode);
						?>
						</td>
					</tr>
				</table>
				
<!-- include the timesheet face up until the heading start section -->
<? include("timesheet_face_part_2.inc"); ?>

	<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" class="outer_table">
		<tr>
			<td>			
				<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_body">
<?php 
	if ($num == 0) {
		print "	<tr>\n";