<?php include 'header.tpl.php';?>
<script>
function meSearchClear(){
	document.frmMain.s_state.value="-1";
	document.frmMain.s_addtime1.value="";
	document.frmMain.s_addtime2.value="";
	document.frmMain.s_name.value="";
	frmExecute('');
}

</script>
<div class="pMenu">
<li class="sel"><a href="javascript:frmExecute('');">管理</a></li>
<li><span onclick="div_show_hide('objSearch');" style="cursor:hand">查找</span></li>
<li class="info"><a href="javascript:inc_show_help(204);" 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="-1">不限</option>
	<option value="1" <?php if($get_s_state==1) echo "selected";?>>已查看</option>
	<option value="0" <?php if($get_s_state==0) echo "selected";?>>待查看</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></tr>
	<?php foreach($arr_invite as $item){ ?>
	<tr class='pTabRow' id="id_row_<?php echo $item["invite_id"]?>" onmouseover="admin_row_mouseover(<?php echo $item["invite_id"];?>)" onmouseout="admin_row_mouseout(<?php echo $item["invite_id"];?>);">
	<td class='pTabCol' width="60"><input type='checkbox' name='inviteid[]' value='<?php echo $item['invite_id'];?>' onclick="admin_row_sel(this.checked,<?php echo $item["invite_id"]?>);"></td><td class='pTabCol'><a href="<?php echo WEB_URL."/index.php?app=companyview&uid=".$item["invite_user_id"];?>" target='_blank'><?php echo $arr_company["id_".$item['invite_user_id']];?></a></td><td class='pTabCol'><a href="<?php echo WEB_URL."/index.php?app=resumeview&uid=".$item["invite_resume_user_id"];?>" target='_blank'><?php echo $arr_resume["id_".$item['invite_resume_user_id']];?></a></td><td class='pTabCol'><?php echo $item['invite_addtime'];?></td><td class='pTabCol'><?php echo $item["state"];?></td>
	<td class='pTabCol' onmousedown="frmSet('id','<?php echo $item['invite_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='inviteidall' value='1' onclick="admin_row_selall(this.form,'inviteidall','inviteid');">全选　<select name="selact">
	<option value="">--操作--</option>
	<?php if($obj_ctl_limit->chk_act("del")){?><option value="del_sel">删除</option><?php }?>
	</select>
	&nbsp;<input type="button" name="btnExe" value="执行" onclick="frmExecute(document.frmMain.selact.value);" class="pBtn"></li>
</div>

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

