<!--
<?php
print <<<EOT
--> 
<style>.MainCont .ListTable .h td{font-weight:bold;background:#EFEFEF;}</style>
<div class="ListTopMenu"> $fidDB[name] 
<!--
EOT;
if($IS_BIZ){print <<<EOT
-->
	[<A HREF="../$dirname/form_search.php?mid=$mid" target="_blank">搜索</A>]
<!--
EOT;
}print <<<EOT
-->
</div>
<form name="form_work" method="post" action="$admin_path">
<div class="MainCont">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListTable">
    <tr class="h"> 
      <td width="6%">ID</td>
      <td align='center'>职位名称</td><td align='center'>招聘人数</td><td align='center'>工作经验要求</td><td align='center'>性别要求</td><td align='center'>学历要求</td> 
      <td width="11%">用户</td>
      <td width="11%">日期</td>
	  <td width="7%">$fidDB[statename]</td>
      <td width="17%">查看/修改/删除</td>
    </tr>
<!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr> 
      <td><input type="checkbox" name="iddb[{$rs[id]}]" value="$rs[id]"> $rs[id]</td>        
      <td align='center'>$rs[workplace] </td><td align='center'>$rs[nums] 人</td><td align='center'>$rs[wageyear] </td><td align='center'>$rs[asksex] </td><td align='center'>$rs[schoo_age] 以上</td> 
      <td><a href="../member/homepage.php?uid=$rs[uid]" target="_blank">$rs[username]</a></td>
      <td>$rs[posttime] </td>
	  <td>
<!--
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><a href="$admin_path&job=view&mid=$rs[mid]&id=$rs[id]"><img src="../member/images/icon_view.gif" border="0"></a> &#160;
        <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>  &#160;
        <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;
}
$showpage=$showpage?"<div class='ShowPage'>$showpage</div>":"";
print <<<EOT
-->
</table>
	$showpage
    <div class="ListBut"> 
    	<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">
	</div>
</div>
</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>
<form name="form2" method="post" action="$admin_path&job=list&mid=$mid">
<div class="MainCont">
	<div class="head"><div class="tag">内容搜索</div></div>
	<table width='100%' cellspacing='0' cellpadding='0' class="FormTable">
      <tr> 
        <td class="tdL">关键字 </td>
        <td class="tdR"> 
          <input type="text" name="keyword" value="$keyword">
        </td>
      </tr>
      <tr> 
        <td class="tdL">类型: </td>
        <td class="tdR"> 
          <input type="radio" name="type" value="username" $typedb[username]> 帐号
          <input type="radio" name="type" value="id" $typedb[id]> ID </td>
      </tr>
      
      <tr> 
        <td class="tdL"><br/></td>
        <td class="tdR">
          <input type="submit" name="Submit7" value="搜索">
          <input type="hidden" name="act" value="search">
        </td>
      </tr>
    </table>
</div>
</form>
<!--
EOT;
?>
-->


