<?php include 'header.tpl.php';?>
<script>
function me_change(msgval){
	obj_id_state=document.getElementById("id_state");
	switch(msgval){
		case "state":
		{
			obj_id_state.style.display="";
			break;
		}
		default:
		{
			obj_id_state.style.display="none";
		}
	}
}
</script>
<div class="pMenu">
<li <?php if($get_verify_type==1) echo 'class="sel"';?>><a href="javascript:frmSet('verify_type','1');frmExecute('');">邮箱认证</a></li>
<li <?php if($get_verify_type==2) echo 'class="sel"';?>><a href="javascript:frmSet('verify_type','2');frmExecute('');">身份认证</a></li>
<li <?php if($get_verify_type==4) echo 'class="sel"';?>><a href="javascript:frmSet('verify_type','4');frmExecute('');">毕业证书</a></li>
<li <?php if($get_verify_type==8) echo 'class="sel"';?>><a href="javascript:frmSet('verify_type','8');frmExecute('');">营业执照</a></li>
<li><span onclick="div_show_hide('objSearch');" style="cursor:hand">查找</span></li>
<li class="info"><a href="javascript:inc_show_help(235);" 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_updatetime1" value="<?php echo $get_s_updatetime1;?>" onfocus="setday(this);"> 到 <input type="text" name="s_updatetime2" value="<?php echo $get_s_updatetime2;?>" onfocus="setday(this);"></td><tr>
	<tr><td>用户名或id：<input type="text" name="s_key" value="<?php echo $get_s_key?>">　<input type="button" name="s_btnok" value="查找" class="pBtn" onclick="frmExecute('')"> 　<input type="button" name="s_btnok" value="清空" class="pBtn" onclick="window.open('?','_self');"></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></tr>
	<?php foreach($arr_verify as $item){ ?>
	<tr class='pTabRow' id="id_row_<?php echo $item["verify_id"]?>" onmouseover="admin_row_mouseover(<?php echo $item["verify_id"];?>)" onmouseout="admin_row_mouseout(<?php echo $item["verify_id"];?>);">
	<td class='pTabCol' width="60"><input type='checkbox' name='verifyid[]' value='<?php echo $item['verify_id'];?>' onclick="admin_row_sel(this.checked,<?php echo $item["verify_id"]?>);"></td><td class='pTabCol'><?php echo $item['user_name'];?></td><td class='pTabCol'><?php echo $arr_name['id_'.$item['verify_user_id']];?></td><td class='pTabCol'><?php if($get_verify_type==1):?><?php echo $item['verify_val'];?><?php else:?><img src="<?php echo $item['verify_val'];?>" style="width:100px;height:80px;border:0px"><?php endif;?></td>
	<td class='pTabCol'<?php if($item["verify_state"]<1) echo " style='color:#ff0000'";?>><?php echo $item['state'];?></td>
	<td class='pTabCol'><?php echo $item['updatetime'];?></td>
	<td class='pTabCol' onmousedown="frmSet('id','<?php echo $item['verify_id'];?>')">
	<?php if($obj_ctl_limit->chk_act("del")){?>　<img src="../images/b_drop.png" onclick="javascript:frmExecute('del');" class="pImgbtn" title="删除"><?php }?>
	</td></tr>
	<?php }?>
</table>
</div>
<div class="pPage">
<?php echo $page_split_page;?>
</div>
<div class="pFootAct">
<li><input type='checkbox' name='verifyidall' value='1' onclick="admin_row_selall(this.form,'verifyidall','verifyid');">全选　<select name="selact" onchange="me_change(this.value);">
	<option value="">--操作--</option>
	<?php if($obj_ctl_limit->chk_act("state")){?><option value="state">状态设置</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">
	<option value=""></option>
	<?php foreach($arr_state as $item=>$val){
		$str_sel="";
		if($get_s_state==$val) $str_sel=" selected";
		echo "<option value='".$val."'>".$item."</option>";
		}
		?>
	</select></span>
	&nbsp;<input type="button" name="btnExe" value="执行" onclick="frmExecute(document.frmMain.selact.value);" class="pBtn"></li>
</div>

<?php include 'footer.tpl.php';?>		
