{include file="header.dwt"}
      <div id="list" class="f_l">
		<script language="javascript" type="text/javascript" src="ajax/ajax_status.js"></script>
		  <TABLE width="100%" border="0" align="center"  cellSpacing="1">
		    <TR><TD colspan="10" id="show_item" class="font_big title">Project List</TD></TR>
			<TR align="middle" class="tb_title">
			  <TD>Booking Date</TD>
			  <TD>Factory Booking NO.</TD>
			  <TD>Check Booking</TD>
			  <TD>PO Number</TD>
			  <TD>Customer</TD>
			  <TD>Factory</TD>
			  <TD>SI Leader </TD>
			  <TD>Inspection Date</TD>
			  <TD>Status</TD>
			  <TD>Detail</TD>
			</TR>
		 
		  <!--{foreach from=$list_pro item=con}-->
            <TR align="middle" height="30" bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#E1FFDF'" onMouseOut="this.style.backgroundColor='#ffffff'" class="cline">
              <TD>{$con.tbBookingDate}</TD>
              <TD>{$con.tbFactoryBookNO}</TD>
              <TD>
			  <!--{if $con.tbCheckone neq "Final Pre-Shipment Inspection"}-->
			  <font color="#FF0000">{$con.tbCheckone}</font>
			  <!--{else}-->
			  {$con.tbCheckone}
			  <!-- {/if}-->
			  
			  </TD>
              <TD>{$con.tbPONumber}</TD>
              <TD>{$con.client}</TD>
              <TD title="{$con.tbCompanyName}">{$con.tbNickName}</TD>
              <TD>{$con.tbPM}</TD>
              <TD>{$con.tbInspectionDate}</TD>
			  <TD id="pro_{$con.tbSN}">
			  <!-- {if $con.tbStatus eq "Cancelled"} -->
			  		<!--{if $rank gt '60'}-->
			  <a href="#" onclick="mod_status('{$con.tbSN}','On Going','#pro_{$con.tbSN}');"><font color="#FF0000">{$con.tbStatus}</font></a>
			  		<!--{else}-->
			  <font color="#FF0000">{$con.tbStatus}</font>
			  		<!--{/if}-->
			  <!--{elseif $con.tbStatus eq "On Going"}-->
			  		<!--{if $rank gt '60'}-->
			  <a href="#" onclick="mod_status('{$con.tbSN}','Cancelled','#pro_{$con.tbSN}');"><font color="#0000FF">{$con.tbStatus}</font></a>
				    <!--{else}-->
					<font color="#0000FF">{$con.tbStatus}</font>
					<!--{/if}-->
			  <!--{else}-->
			  {$con.tbStatus}
			  <!-- {/if}-->
			  
			  </TD>
			  <TD><a href="project_page.php?id={$con.tbSN}&act=show&client={$pre}" target="_blank"><img src="pics/go.jpg" width="20" height="20" /></a></TD>
			</TR>
			
          <!-- {/foreach} -->
     	  </TABLE>
		  
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr height="50">
		    <td width="12">&nbsp;  </td>
			<td width="672" class="font_big"><font class="font_green">A:</font> Accepted &nbsp; <font class="font_red">R:</font> Rejected &nbsp; <font class="font_blue">C:</font> Concessible</td>
			<td width="200">Current Page:{$now_page} / {$all_page}</td>
			<td width="84" align="right">Jump To:</td>
			<form name="jump_form" id="jump_form">
			<td width="118" align="left" valign="middle">
			  <select name="menu1" onchange="MM_jumpMenu('parent',this,0)" style="width:100px; margin-right:4px;">
                <option value="">Page {$now_page}</option>
                <option value="">======</option>
                <!-- {foreach from=$all_pages item=per_page} -->
				<!--{if $act neq 'search'}-->
                <option value="projects.php?nowpage={$per_page}&client={$pre}&active=1">Page {$per_page}</option>
				<!--{else}-->
				<option value="search.php?act={$act}&nowpage={$per_page}&client={$pre}&category={$cat_val}&keywords={$keywords}">Page {$per_page}</option>
				<!--{/if}-->
                <!-- {/foreach} -->
              </select>
			</td>
			</form>
		  </tr>
		  </table>
        
      </div>
      {include file="footer.dwt"}	 
</div>
</body>
</html>