{include file="header.dwt"}
      <div id="list" class="f_l">
		  <TABLE width="100%" border="0" align="center"  cellSpacing="1">
		    <TR><TD colspan="10" class="title"><a href="management.php?tab=user_list"><font class="font_big">User List</font></a> | <a href="management.php?act=add_user"><font class="font_big">New Users</font></a> | <a href="management.php?tab=company_list"><font class="font_big">Company List</font></a> | <a href="management.php?act=add_company"><font class="font_big">New Companys</font></a></TD></TR>
			<TR align="middle" class="tb_title">
			  <TD> SN </TD>
			  <TD>Type</TD>
			  <TD>Short Name</TD>
			  <TD>Nick Name</TD>
			  <TD>Full Name</TD>
			  <TD>Address</TD>
			  <TD>Contact</TD>
			  <TD>Tel</TD>
			  <TD>Detail</TD>
			</TR>
		 
		  <!--{foreach name=loop from=$list item=con}-->
            <TR align="middle" height="30" bgcolor="#ffffff" onMouseOver="this.style.backgroundColor='#E1FFDF'" onMouseOut="this.style.backgroundColor='#ffffff'"  class="lline">
			  <TD><div align="center">{$smarty.foreach.loop.iteration}</div></TD>
              <TD><div align="center"><!--{if $con.tbType eq 0}-->Chunyin<!--{elseif $con.tbType eq 1}-->Client<!--{elseif $con.tbType eq 2}-->Factory<!--{/if}--></div></TD>
              <TD><div align="center">{$con.tbShortName}</div></TD>
              <TD>{$con.tbNickName}</TD>
              <TD>{$con.tbCompanyName}</TD>
              <TD>{$con.tbAddress}</TD>
			  <TD>{$con.tbContactPerson}</TD>
			  <TD>{$con.tbTel}</TD>
			  <TD><div align="center"><a href="management.php?id={$con.tbCompanyID}&act=edit_company" target="_blank"><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="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} -->
                <option value="management.php?nowpage={$per_page}&tab=company_list">Page {$per_page}</option>
                <!-- {/foreach} -->
              </select>
			</td>
			</form>
		  </tr>
		  </table>
        
      </div>
      {include file="footer.dwt"}	 
</div>
</body>
</html>
