<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>{#$title#}</title>
<meta http-equiv="X-UA-Compatible" content="IE=7">
<link rel="shortcut icon" href="{#$QISHI.site_dir#}favicon.ico" />
<meta name="author" content="骑士CMS" />
<meta name="copyright" content="74cms.com" />
<link href="{#$QISHI.site_template#}css/user.css" rel="stylesheet" type="text/css" />
<script src="{#$QISHI.site_template#}js/jquery.js" type='text/javascript' language="javascript"></script>

<script src="{#$QISHI.site_template#}js/jquery.idTabs.min.js" type='text/javascript' language="javascript"></script>
<script src="{#$QISHI.site_template#}js/jquery.vtip-min.js" type="text/javascript" ></script>
<script type="text/javascript">
<!--
$(document).ready(function()
{
	$(".nolook").click(function(){
	var tsTimeStamp= new Date().getTime();
	var id=$(this).parent().parent().attr("id");
	$.get("{#$QISHI.site_dir#}plus/ajax_member.php", { "id": $(this).parent().parent().attr("id"),"time":tsTimeStamp,"act":"edit_apply"},
	 function (data,textStatus)
	  {
	  if (data=="ok")
	  {
	  $("#"+id+" td:first span").html("[已看]");
	  $("#"+id+" td:first span").css("color","#999999");
	  }
	  })
	});
	
	$('#jobselect').change(function(){ 
	var p1=$(this).children('option:selected').val();
	window.location.href="?act=apply_jobs&jobsid="+p1;
	});
	
	
});
//-->
</script>
</head>
<body>
{#include file="member_company/header.htm"#}
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:8px;" >
  <tr>
    <td width="173" valign="top" class="link_bk">
	{#include file="member_company/left.htm"#}
	</td>
    <td valign="top">
	<div class="user_right_box">
		<div class="user_right_top_tit_bg">		
		  <h1>收到的职位申请</h1>
		</div>
		<div class="us_tab">
			<a href="?act={#$act#}&look=" {#if $smarty.get.look==""#}class="select"{#/if#}>所有的<span>({#$count#})</span></a>
              <a href="?act={#$act#}&look=1" {#if $smarty.get.look=="1"#}class="select"{#/if#}>未查看的<span>({#$count1#})</span></a>
              <a href="?act={#$act#}&look=2" {#if $smarty.get.look=="2"#}class="select"{#/if#}>已查看的<span>({#$count2#})</span></a>
			  <div style="padding-right:10px; text-align:right; float:right" >
			  按职位查看：			 
			  <select name="jobselect" id="jobselect" style="font-size:12px;">
			   <option value="">所有职位</option>
			  {#foreach from=$jobs item=li#}
			    <option value="{#$li.id#}" {#if $li.id==$smarty.get.jobsid#}selected="selected"{#/if#}>{#$li.jobs_name#}</option>
					{#/foreach#}
		      
			  </select>
		</div>	
			  <div class="clear"></div>
	    </div>
		 
	<form id="form1" name="form1" method="post" action="?act=set_apply_jobs">
		  <table width="98%" border="0" cellpadding="0" cellspacing="0"  align="center" class="link_lan">
              <tr>
                <td width="130" height="32"  class="us_list_title">
				<label id="chkAll"><input type="checkbox" name="chkAll"  id="chk" title="全选/反选" />投递的简历</label>                 </td>
				  <td width="100"  class="us_list_title">
				  申请的职位				  </td>
                  <td  class="us_list_title">技能特长</td>
                  <td width="60" align="center"  class="us_list_title">其他</td>              
                <td width="80" align="center"   class="us_list_title">申请时间</td>
            </tr>
				 {#foreach from=$jobs_apply item=list#}
				
              <tr id="{#$list.did#}">
                <td height="32" >
				<input name="y_id[]" type="checkbox" id="y_id"   value="{#$list.did#}"/>
				{#if $list.sex_cn#}
				<a href="{#$list.resume_url#}" target="_blank" {#if $list.personal_look=="1"#}class="nolook"{#/if#}>{#$list.resume_name#}</a>
				{#else#}
				{#$list.resume_name#}
				{#/if#}
				 {#if $list.personal_look=="1"#}
				   <span style="color: #FF6600">[未看]</span>
				   {#else#}
				   <span style="color: #999999">[已看]</span>
				   {#/if#}				</td>
                <td>
				{#$list.jobs_name#}</td>
                <td >
				{#if $list.specialty_#}
				<span title="{#$list.specialty_|nl2br#}<br />意向职位：{#$list.intention_jobs#}" class="vtip">{#$list.specialty#}</span>
				{#else#}
				未知
				{#/if#}				</td>
                <td align="center"  >
				{#if $list.notes#}
				<img src="{#$QISHI.site_template#}images/32.gif"  border="0"  style="cursor:pointer" title="{#$list.notes|nl2br#}" class="vtip"/>
				{#else#}
				无
				{#/if#}				</td>
     
                <td align="center" >
				{#$list.apply_addtime|date_format:"%Y-%m-%d"#}				</td>
              </tr>
              <tr id="{#$list.did#}">
                <td height="23" colspan="5" valign="top" class="us_list">
				
				<div style="color:#999999; padding-left:20px;">
				{#if $list.sex_cn#}
				性别：{#$list.sex_cn#}&nbsp;&nbsp;|&nbsp;&nbsp
				工作经验：{#$list.experience_cn#}&nbsp;&nbsp;|&nbsp;&nbsp
				学历：{#$list.education_cn#}&nbsp;&nbsp;|&nbsp;&nbsp
				所在地区：{#$list.district_cn#}&nbsp;&nbsp;|&nbsp;&nbsp
				简历更新日期：{#$list.refreshtime|date_format:"%Y-%m-%d"#}
				{#else#}
				<strong  style="color:#000000">{#$list.resume_name#}</strong> 的简历可能已被系统删除。
				{#/if#}
				</div>
				</td>
              </tr>
			{#/foreach#}
          </table>
			{#if $jobs_apply#}
            <table width="100%" border="0" cellspacing="8" cellpadding="0">
              <tr>
                <td><input type="submit" name="set" value="设为已查看"   class="user_submit"/>
                </td>
              </tr>
            </table>
			{#else#}
			<div class="us_list_no_content">没有您要找的信息</div>
			{#/if#}
            <table border="0" align="center" cellpadding="0" cellspacing="0" class="link_bk">
              <tr>
                <td height="50" align="center"> <div class="page link_bk">{#$page#}</div></td>
              </tr>
            </table> 
        </form>
	  </div>
    </td>
  </tr>
</table>
{#include file="footer.htm"#}
</body>
</html>
