<!--
<?php
print <<<EOT
--> 
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <tr class="head"> 
    <td width="6%" align="center">UID</td>
    <td width="17%" align="center">用戶名</td>
    <td align="center">企業名稱 </td>
    <td width="17%" align="center">電子郵箱</td>
    <td width="12%" align="center">用戶權限</td>
    <td width="9%" align="center">修改/刪除</td>
    <td width="10%" align="center">審核與否</td>
  </tr>
  <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
  <tr bgcolor="#FFFFFF"> 
    <td width="6%" align="center">$rs[uid]</td>
    <td width="17%"> <a href="$webdb[www_url]/member/userinfo.php?uid=$rs[uid]" onclick="$rs[alert]" target="_blank">$rs[username]</a></td>
    <td align="center"> <a href="../member/company.php?job=view&uid=$rs[uid]" target="_blank">$rs[cpname]</a></td>
    <td width="17%" align="center">$rs[email]</td>
    <td width="12%" align="center">{$ltitle[$rs[groupid]]}</td>
    <td width="9%" align="center"> 
      <!--
EOT;
if($rs[groupid]){
print <<<EOT
-->
      <a href="index.php?lfj=$lfj&job=editmember&uid=$rs[uid]" onclick="$rs[alert]"><img alt='點擊修改' src='../member/images/button_edit.png' border=0></a> 
      &nbsp; <a href="index.php?lfj=$lfj&action=delete&uid=$rs[uid]" onclick="{$rs[alert]};return confirm('你確實要刪除此企業資料嗎?不可恢復,你要考慮清楚。會員普通資料不會一起刪除')"><img alt='點擊刪除' src='../member/images/del_icon2.gif' border=0></a> 
      <!--
EOT;
}
print <<<EOT
-->
    </td>
    <td width="10%" align="center">$rs[yz]</td>
  </tr>
  <!--
EOT;
}
print <<<EOT
-->
  <tr bgcolor="#FFFFFF"> 
    <td colspan="7" align="center">$showpage<a href="index.php?lfj=$lfj&action=delete&uid=$rs[uid]"></a></td>
  </tr>
  <form name="form1" method="post" action="index.php?lfj=$lfj&job=$job">
    <tr bgcolor="#FFFFFF" align="left"> 
      <td colspan="7">只列出指定用戶組的用戶$select_group<br>
        <br>
        搜索&gt;&gt; 關鍵字<a href="index.php?lfj=$lfj&action=delete&uid=$rs[uid]"></a> 
        <input type="text" name="keywords">
        <select name="type">
          <option value="cpname">企業名稱</option>
          <option value="username">用戶帳號</option>
          <option value="uid">用戶uid</option>
        </select>
        <input type="submit" name="Submit" value="搜索">
        [<a href="index.php?lfj=$lfj&job=$job">查看全部企業</a>] </td>
    </tr>
  </form>
</table>
<!--
EOT;
?>
-->