<!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_interview"},
	 function (data,textStatus)
	  {
	  if (data=="ok")
	  {
	  $("#"+id+" td:first span").html("[已看]");
	  $("#"+id+" td:first span").css("color","#999999");
	  //$(".us_list_tip").hide();
	  }
	  })
	});
	
	
	$('#resumeselect').change(function(){ 
	var p1=$(this).children('option:selected').val();
	window.location.href="?act={#$act#}&resume_id="+p1;
	});
	
});
</script>
</head>
<body>
{#include file="member_personal/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_personal/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.2#})</span></a>
              <a href="?act={#$act#}&look=1" {#if $smarty.get.look=="1"#}class="select"{#/if#}>未查看的<span>({#$count.0#})</span></a>
              <a href="?act={#$act#}&look=2" {#if $smarty.get.look=="2"#}class="select"{#/if#}>已查看的<span>({#$count.1#})</span></a>
			   <div style="padding-right:10px; text-align:right; float:right" >
			  按简历查看：			 
			  <select name="resumeelect" id="resumeselect" style="font-size:12px;">
			   <option value="">所有简历</option>
			  {#foreach from=$resume_list item=li#}
			    <option value="{#$li.id#}" {#if $li.id==$smarty.get.resume_id#}selected="selected"{#/if#}>{#$li.title#}</option>
					{#/foreach#}
		      
			  </select>
		</div>	
			  <div class="clear"></div>
			  </div>
	<form id="form1" name="form1" method="post" action="?act=set_interview" >
 <table width="97%" border="0" cellpadding="0" cellspacing="0" align="center"   class="link_lan">
              <tr >
                <td height="25" class="us_list_title">
				<label id="chkAll"><input type="checkbox" name="chkAll"  id="chk" title="全选/反选" />邀请面试职位</label>				</td>
                <td  class="us_list_title">邀请公司</td>
				<td width="80" class="us_list_title">所属简历</td>
                <td width="80" align="center" class="us_list_title">其他说明</td>
          </tr>
		  {#foreach from=$interview item=list#}
		  {#if $list.wage_cn#}
              <tr >
                <td height="30">
				<input name="y_id[]" type="checkbox" id="y_id"   value="{#$list.did#}"/>
				  <a href="{#$list.jobs_url#}" target="_blank" {#if $list.personal_look=="1"#}class="nolook"{#/if#}>{#$list.jobs_name#}</a>
				  {#if $list.personal_look=="1"#}
				   <span style="color: #FF6600">[未看]</span>
				   {#else#}
				   <span style="color: #999999">[已看]</span>
				   {#/if#}				  </td>
                <td  >
				<a href="{#$list.company_url#}" target="_blank" {#if $list.personal_look=="1"#}class="nolook"{#/if#}>{#$list.companyname#}</a></td>
				<td  >{#$list.resume_name#}&nbsp;</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#}
				&nbsp;
				{#/if#}</td>
              </tr>
              <tr>
                <td height="23" colspan="5" valign="top" class="us_list">	
				<div style="padding-left:20px;">			
				月薪：{#$list.wage_cn#}&nbsp;&nbsp;|&nbsp;&nbsp;
				工作地区：{#$list.district_cn#}&nbsp;&nbsp;|&nbsp;&nbsp;
				邀请时间：{#$list.interview_addtime|date_format:"%Y-%m-%d"#}&nbsp;&nbsp;|&nbsp;&nbsp;
				职位到期时间：{#$list.deadline|date_format:"%Y-%m-%d"#}&nbsp;&nbsp;|&nbsp;&nbsp;
				点击：{#$list.click#}次
				</div>
				</td>
              </tr>
			  {#else#}
			   <tr>
                <td height="26" colspan="5"  class="us_list">			
				<input name="y_id[]" type="checkbox" id="y_id"   value="{#$list.did#}"/><strong style="color:#000000">{#$list.jobs_name#}</strong> 可能已经被删除，您可以删除本条信息
				</td>
              </tr>
			  {#/if#}
			  {#/foreach#}
        </table>
		{#if $interview#}
            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="8">
              <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>
