<?php include 'header.tpl.php';?>
<script>
function meSearchClear(){
	document.frmMain.s_addtime1.value="";
	document.frmMain.s_addtime2.value="";
	document.frmMain.s_name.value="";
	document.frmMain.s_state.value="";
	frmExecute('');
}
function me_change(msgx){
	obj_id_state=document.getElementById("id_state");
	if(msgx=="state"){
		obj_id_state.style.display="";
	}else{
		obj_id_state.style.display="none";
	}
}
</script>
<div class="pMenu">
<li class="sel"><a href="javascript:frmExecute('');">管理</a></li>
<li><a href="javascript:frmSet('pannel','photo');frmExecute('');">照片人才</a></li>
<li><span onclick="div_show_hide('objSearch');" style="cursor:hand">查找</span></li>
<li class="info"><a href="javascript:inc_show_help(208);" style="color:#ff0000">帮助</a></li>
</div>
<div class="pSearchDiv" id="objSearch" style="display:<?php if($get_issearch!="1")echo "none"?>">
<table class="sTab">
<tr><td>状态：<select name="s_state"><option value=-101>不限</option>
		<?php
		foreach($arr_state as $item=>$key){
			$str_sel="";
			if($key==$get_s_state) $str_sel=" selected";
			echo "<option value='".$key."'".$str_sel.">".$item."</option>";
		}
		?>
		</select>　更新时间：<input type="text" name="s_addtime1" value="<?php echo $get_s_addtime1;?>" onfocus="setday(this);"> 到 <input type="text" name="s_addtime2" value="<?php echo $get_s_addtime2;?>" onfocus="setday(this);"></td></tr><tr><td>关键字：<input type="text" name="s_name" value="<?php echo $get_s_name?>">　<input type="button" name="s_btnok" value="查找" class="pBtn" onclick="frmExecute('')"> 　<input type="button" name="s_btnok" value="清空" class="pBtn" onclick="meSearchClear();frmExecute('');"></td><tr>
</table>
</div>
<div>
<table class='pTable'>
<tr class='pTabTitRow'>
	<td class='pTabTitCol'></td><td class='pTabTitCol'>账号</td><td class='pTabTitCol'>姓名</td><td class='pTabTitCol'>性别</td><td class='pTabTitCol'>年龄</td>
	<td class='pTabTitCol'>状态</td><td class='pTabTitCol'>更新时间</td><td class='pTabTitCol'>操作</td></tr>
	<?php foreach($arr_resume as $item){ ?>
<tr class='pTabRow' id="id_row_<?php echo $item["resume_id"]?>" onmouseover="admin_row_mouseover(<?php echo $item["resume_id"];?>)" onmouseout="admin_row_mouseout(<?php echo $item["resume_id"];?>);">
	<td class='pTabCol' width="60"><input type='checkbox' name='resumeids[]' value='<?php echo $item['resume_id'];?>' onclick="admin_row_sel(this.checked,<?php echo $item["resume_id"]?>);"></td><td class='pTabCol'><a href="<?php echo WEB_URL."/index.php?app=resumeview&id=".$item["resume_id"];?>" target="_blank"><?php echo $arr_uname["id_".$item['resume_user_id']];?></a></td><td class='pTabCol'><a href="<?php echo WEB_URL."/index.php?app=resumeview&id=".$item["resume_id"];?>" target="_blank"><?php echo $item['resume_name'];?></a></td><td class='pTabCol'><?php echo $item['resume_sex'];?></td><td class='pTabCol'><?php echo $item['age'];?></td>
	<td class='pTabCol'>
	<?php echo $item["state"];?></td><td class='pTabCol'><?php echo $item['updatetime'];?></td>
	<td class='pTabCol' onmousedown="frmSet('id','<?php echo $item['resume_id'];?>')">
	<?php if($obj_ctl_limit->chk_act("edit")){?><img src="../images/b_edit.png" onclick="javascript:frmExecute('edit');" class="pImgbtn" title="编辑"><?php }?>
	<?php }?>
</table>
</div>
<div class="pPage">
<?php echo $page_split_page?>
</div>
<div class="pFootAct">
<li><input type='checkbox' name='resumeidall' value='1' onclick="admin_row_selall(this.form,'resumeidall','resumeids');">全选　<select name="selact" onchange="me_change(this.value);">
	<option value="">--操作--</option>
	<option value="state">状态</option>
	<?php if($obj_ctl_limit->chk_act("html_exe")&&$this_is_resume_html==true){?><option value="html_exe">生成html</option><?php }?>
	<?php if($obj_ctl_limit->chk_act("del")){?><option value="del_sel">删除</option><?php }?>
	</select>
	<span id="id_state" style="display:none">
		<select name="state_val">
		<?php
		foreach($arr_state as $item=>$key){
			echo "<option value='".$key."'>".$item."</option>";
		}
		?>
		</select></span>
	&nbsp;<input type="button" name="btnExe" value="执行" onclick="frmExecute(document.all.selact.value);" class="pBtn"></li>
</div>
<?php include 'footer.tpl.php';?>		