<?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_photo=document.getElementById("id_photo");
	if(msgx=="photo"){
		obj_id_photo.style.display="";
	}else{
		obj_id_photo.style.display="none";
	}
}
</script>
<style>
.me_box1{float:left;width:210px;}
.me_box1 .x_pic{float:left;width:100px;}
.me_box1 .x_pic img{width:100px;height:100px;border:0px}
.me_box1 .x_info{float:left;width:100px;padding:10px 0px 0px 5px;text-align:left;line-height:20px}
.me_box1 .x_act{float:left;width:200px;text-align:left;padding:5px 0px 0px 5px}
</style>
<div class="pMenu">
<li><a href="javascript:frmSet('pannel','');frmExecute('');">管理</a></li>
<li class="sel"><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 style="float:left;padding:10px">
<?php foreach($arr_resume as $item){ ?>
	<div class="me_box1">
		<div class="x_pic"><a href="<?php echo WEB_URL."/index.php?app=resumeview&id=".$item["resume_id"];?>" target="_blank"><img src="<?php echo $item["resume_photo"]?>"></a></div>
		<div class="x_info">姓名：<a href="<?php echo WEB_URL."/index.php?app=resumeview&id=".$item["resume_id"];?>" target="_blank"><?php echo $item["resume_name"]?></a><br>性别：<?php echo $item["resume_sex"]?><br>年龄：<?php echo $item["age"]?><br>状态：<?php echo $item["photo_state"];?></div>
		<div class="x_act"><input type='checkbox' name='resumeids[]' value='<?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 }?>
</div>
	</div>
<?php }?>
</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>
	<?php if($obj_ctl_limit->chk_act("photo")){?><option value="photo">照片状态</option><?php }?>
	<?php if($obj_ctl_limit->chk_act("del")){?><option value="del_sel">删除简历</option><?php }?>
	</select>
	<span id="id_photo" style="display:none">
	<select name="photo_val"><option value=1>审核</option><option value=0>待审</option><option value=-1>删除</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';?>		