{include file="header.dwt"}
      <div id="list" class="f_l">

		  <TABLE width="100%" border="0" align="center"  cellSpacing="1">
		    <TR><TD colspan="11" class="font_big">
			{include file="in_statistics.dwt"}</TD>
			</TR>
			<!--每个单元格都定义css及div以方便Johny拷贝制表-->
		  <TR align="middle" class="tb_title">
		  <TD class="tb_title"><div align="center">SN </div></TD>
		  <TD class="tb_title"><div align="center">Report Number </div></TD>
          <TD class="tb_title"><div align="center">Product Name </div></TD>
		  <TD class="tb_title"><div align="center">Category </div></TD>
          <TD class="tb_title"><div align="center">Defects Topic </div></TD>
          <TD class="tb_title"><div align="center">Critical </div></TD>
          <TD class="tb_title"><div align="center">Major </div></TD>
          <TD class="tb_title"><div align="center">Minor </div></TD>
		  <TD class="tb_title"><div align="center">Serial Number </div></TD>
		  <TD class="tb_title"><div align="center">Defection Description </div></TD>
		  <TD class="tb_title"><div align="center">Detail </div></TD>
          </TR>
		  <!--{foreach name=loop from=$topd item=con}-->
			<TR align="middle" height="30" bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#E1FFDF'" onMouseOut="this.style.backgroundColor='#ffffff'">
			<TD class="line"><div align="center">{$smarty.foreach.loop.iteration} </div></TD>
			<TD class="line"><div align="center">{$con.tbReportNumber} </div></TD>
            <TD class="line"><div align="center">{$con.tbProductName} </div></TD>
			<TD class="line"><div align="center">{$con.tbCategory} </div></TD>
            <TD class="line"><div align="center">{$con.tbTopical} </div></TD>
            <TD class="line"><div align="center">{$con.tbCritical} </div></TD>
            <TD class="line"><div align="center">{$con.tbMajor} </div></TD>
            <TD class="line"><div align="center">{$con.tbMinor} </div></TD>
			<TD class="line"><div align="center">{$con.tbSerial_NO} </div></TD>
			<TD class="line"><div align="center">{$con.tbDefection} </div></TD>
			<TD class="line"><div align="center"><a href="report_page.php?&client={$pre}&id={$con.tbPN}&active=2"><img src="pics/go.jpg" width="20" height="20" /></a></div>
			</TD>
            </TR>
			<!-- {/foreach} -->
      </TABLE>
		  
		  <table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr height="50">
		    <td width="12">&nbsp;  </td>
			<td width="700" class="font_big"><font class="font_green">F:</font> Final Pre-Shipment Inspection &nbsp;<font class="font_green">I:</font> In-Process Inspection &nbsp; <font class="font_red">R1:</font> 1st Re-Inspection &nbsp; <font class="font_red">R2:</font> 2nd Re-Inspection &nbsp;<font class="font_red">R3:</font> 3rd Re-Inspection &nbsp;<font class="font_red">R4:</font> 4th Re-Inspection &nbsp;<font class="font_green">B:</font> B Stock Inspection &nbsp;<font class="font_red">B1:</font> B Stock 1st Re-Inspection &nbsp;<font class="font_red">B2:</font> B Stock 2nd Re-Inspection &nbsp;<font class="font_red">B3:</font> B Stock 3rd Re-Inspection &nbsp;
　          </td>
			<td width="200">&nbsp;</td>
			<td width="64" align="right">&nbsp;</td>
		  </tr>
		  </table>
      </div>
      {include file="footer.dwt"}
</div>
</body>
</html>