<!--
<?php
print <<<EOT
--> 
<table width='100%' cellspacing='1' cellpadding='3' bgcolor='#CCCCCC' class="tablewidth" id="top_menu">
  <tr>
    <td> $fidDB[name] 
  <!--
EOT;
if($IS_BIZ){print <<<EOT
-->
	[<A HREF="../$dirname/form_search.php?mid=$mid" target="_blank">搜索</A>]
<!--
EOT;
}print <<<EOT
-->
	</td>
  </tr>
</table>
<table width='100%' cellspacing='1' cellpadding='3' bgcolor='#CCCCCC' class="tablewidth">
  <form name="form_work" method="post" action="$admin_path">
    <tr class="head"> 
      <td width="6%" align="center">ID </td>
      $TempLate1 
      <td width="11%" align="center">用户</td>
      <td width="11%" align="center">日期</td>
	  <td width="7%" align="center">$fidDB[statename]</td>
      <td width="17%" align="center">查看 / 修改 / 删除</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor='#FFFFFF'> 
      <td width='6%' align="left"> 
        <input type="checkbox" name="iddb[{$rs[id]}]" value="$rs[id]">
        $rs[id]</td>        
      $TempLate2 
      <td width="11%" align="center"><a href="../member/homepage.php?uid=$rs[uid]" target="_blank">$rs[username]</a></td>
      <td width="11%" align="center">$rs[posttime] </td>
	  <td width="7%" align="center"><!--
EOT;
if($rs[yz]){
print <<<EOT
-->
            <a href="$admin_path&file=form_content&job=yz&yz=0&mid=$mid&id=$rs[id]"><img alt='是' src="images/check_yes.gif" border="0"></a> 
            <!--
EOT;
}else{
print <<<EOT
-->
            <a href="$admin_path&file=form_content&job=yz&yz=1&mid=$mid&id=$rs[id]"><img alt='否' src="images/check_no.gif" border="0"></a> 
            <!--
EOT;
}
print <<<EOT
--></td>
      <td width="17%" align="center"><a href="$admin_path&job=view&mid=$rs[mid]&id=$rs[id]"><img src="../member/images/icon_view.gif" border="0"></a> &nbsp;
        <a href="../$dirname/form.php?lfj=$lfj&job=edit&id=$rs[id]&mid=$rs[mid]" target="_blank"><img alt='点击修改' src='../member/images/button_edit.png' border=0></a>  &nbsp;
        <a href="$admin_path&action=delete&id=$rs[id]" onClick="return confirm('删除后不可恢复,你确实要删除吗?')"><img alt='点击删除' src='../member/images/del_icon2.gif' border=0></a></td>
    </tr>
    <!--
EOT;
}print <<<EOT
-->
    <tr bgcolor='#FFFFFF'> 
      <td colspan="12" align="center"> $showpage</td>
    </tr>
    <tr bgcolor='#FFFFFF'> 
      <td colspan="12" align="center"> <a href="javascript:" onClick="CheckAll('all')">全选</a>/<a href="javascript:" onClick='CheckAll()'>反选</a>
        <input type="button" name="Submit" value="删除" onclick="postdo('delete')">
        <input type="button" name="Submit1" value="导出" onclick="postdo('export')">
        <input type="hidden" name="action" value="0">
        <input type="hidden" name="mid" value="$mid">
      </td>
    </tr>
  </form>
<SCRIPT LANGUAGE="JavaScript">
<!--
function postdo(va){
	document.form_work.action.value=va
	document.form_work.submit();
}
function CheckAll(va){
	form=document.form_work
	for (var i=0;i<form.elements.length;i++){
		var e = form.elements[i];
		if(va=='all'){
			e.checked = true;
		}else{
			e.checked == true ? e.checked = false : e.checked = true;
		}
	}
}
//-->
</SCRIPT>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth"> <form name="form2" method="post" action="$admin_path&job=list&mid=$mid">
  <tr class="head">
      <td> 内容搜索 </td>
  </tr>
  <tr>
      <td> 
        <table width="100%" border="0" cellspacing="1" cellpadding="3" bordercolor="#CCCCCC">
          <tr> 
            <td width="49%">关键字 </td>
            <td width="51%"> 
              <input type="text" name="keyword" value="$keyword">
            </td>
          </tr>
          <tr> 
            <td width="49%">类型: </td>
            <td width="51%"> 
              <input type="radio" name="type" value="username" $typedb[username]>
              帐号
              <input type="radio" name="type" value="id" $typedb[id]>
              ID $TempLate3</td>
          </tr>
          $TempLate4
          <tr> 
            <td align="center" colspan="2"> 
              <input type="submit" name="Submit7" value="搜索">
              <input type="hidden" name="act" value="search">
            </td>
          </tr>
        </table>
      </td>
  </tr>  </form>
</table>
<!--
EOT;
?>
-->


