<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_Resume_List.aspx.cs"
    Inherits="YCHR.Web.admin.Person.YC_Resume_List" %>
<!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 id="Head1" runat="server">
<title>简历管理</title>
<link rel="stylesheet" type="text/css" href="../images/style.css" />
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/function.js"></script>
<script type="text/javascript">
        $(function () {
            $(".msgtable tr:nth-child(odd)").addClass("tr_bg"); //隔行变色
            $(".msgtable tr").hover(
			    function () {
			        $(this).addClass("tr_hover_col");
			    },
			    function () {
			        $(this).removeClass("tr_hover_col");
			    }
		    );
        });
    </script>
</head>
<body style="padding: 10px;">
<form id="form1" runat="server">
  <div class="navigation"> <span class="add"></span><b>您当前的位置：首页 &gt; 简历管理 </b> </div>
  <div class="spClear"> </div>
  <table width="100%" cellspacing="1" cellpadding="2" border="0" align="center" class="border">
    <tbody>
      <tr class="tdbg">
        <td width="8%" height="30"><strong>管理选项：</strong></td>
        <td width="92%" class="dh"><a href="YC_Person_List.aspx">管理首页</a>|<a href="YC_Person_List.aspx">人才管理</a>|<a
                        href="YC_Resume_List.aspx">简历管理</a>| <a href="YC_person_service.aspx">个人服务申请管理</a>| <a href="javascript:location.reload()">刷新页面</a></td>
      </tr>
      <tr class="tdbg">
        <td width="8%" height="30"><strong>性别筛选：</strong></td>
        <td class="dh"><div> <a href="?sex=&amp;type=<%=RequestS("type") %>&amp;resumelock=<%=RequestS("resumelock") %>&amp;isphoto=<%=RequestS("isphoto") %>"
                            class="<%=RequestS("sex")==""?"dhcss":"" %>">不限</a> <a href="?sex=1&amp;type=<%=RequestS("type") %>&amp;resumelock=<%=RequestS("resumelock") %>&amp;isphoto=<%=RequestS("isphoto") %>"
                                class="<%=RequestS("sex")=="1"?"dhcss":"" %>">男</a> <a href="?sex=0&amp;type=<%=RequestS("type") %>&amp;resumelock=<%=RequestS("resumelock") %>&amp;isphoto=<%=RequestS("isphoto") %>"
                                    class="<%=RequestS("sex")=="0"?"dhcss":"" %>">女</a> </div></td>
      </tr>
      <tr class="tdbg">
        <td width="8%" height="30"><strong>人才类型：</strong></td>
        <td class="dh"><div> <a href="?type=&amp;sex=<%=RequestS("sex") %>&amp;resumelock=<%=RequestS("resumelock") %>&amp;isphoto=<%=RequestS("isphoto") %>"
                            class="<%=RequestS("type")==""?"dhcss":"" %>">不限</a> <a href="?type=0&amp;sex=<%=RequestS("sex") %>&amp;resumelock=<%=RequestS("resumelock") %>&amp;isphoto=<%=RequestS("isphoto") %>"
                                class="<%=RequestS("type")=="0"?"dhcss":"" %>">普通人才</a> <a href="?type=1&amp;sex=<%=RequestS("sex") %>&amp;resumelock=<%=RequestS("resumelock") %>&amp;isphoto=<%=RequestS("isphoto") %>"
                                    class="<%=RequestS("type")=="1"?"dhcss":"" %>">自荐人才</a> <a href="?type=2&amp;sex=<%=RequestS("sex") %>&amp;resumelock=<%=RequestS("resumelock") %>&amp;isphoto=<%=RequestS("isphoto") %>"
                                        class="<%=RequestS("type")=="2"?"dhcss":"" %>">推荐人才</a> <a href="?type=3&amp;sex=<%=RequestS("sex") %>&amp;resumelock=<%=RequestS("resumelock") %>&amp;isphoto=<%=RequestS("isphoto") %>"
                                            class="<%=RequestS("type")=="3"?"dhcss":"" %>">高级人才</a> </div></td>
      </tr>
      <tr class="tdbg">
        <td width="8%" height="30"><strong>隐私设置：</strong></td>
        <td class="dh"><div> <a href="?type=<%=RequestS("type") %>&amp;sex=<%=RequestS("sex") %>&amp;resumelock=&amp;isphoto=<%=RequestS("isphoto") %>"
                            class="<%=RequestS("resumelock")==""?"dhcss":"" %>">不限</a> <a href="?type=<%=RequestS("type") %>&amp;sex=<%=RequestS("sex") %>&amp;resumelock=1&amp;isphoto=<%=RequestS("isphoto") %>"
                                class="<%=RequestS("resumelock")=="1"?"dhcss":"" %>">对所有公开</a> <a href="?type=<%=RequestS("type") %>&amp;sex=<%=RequestS("sex") %>&amp;resumelock=2&amp;isphoto=<%=RequestS("isphoto") %>"
                                    class="<%=RequestS("resumelock")=="2"?"dhcss":"" %>">对网站公开</a> <a href="?type=<%=RequestS("type") %>&amp;sex=<%=RequestS("sex") %>&amp;resumelock=3&amp;isphoto=<%=RequestS("isphoto") %>"
                                        class="<%=RequestS("resumelock")=="3"?"dhcss":"" %>">完全保密</a> </div></td>
      </tr>
      <tr class="tdbg">
        <td width="8%" height="30"><strong>有无照片：</strong></td>
        <td class="dh"><div> <a href="?type=<%=RequestS("type") %>&amp;sex=<%=RequestS("sex") %>&amp;resumelock=<%=RequestS("resumelock")%>&amp;isphoto="
                            class="<%=RequestS("isphoto")==""?"dhcss":"" %>">不限</a> <a href="?type=<%=RequestS("type") %>&amp;sex=<%=RequestS("sex") %>&amp;resumelock=<%=RequestS("resumelock")%>&amp;isphoto=0"
                                class="<%=RequestS("isphoto")=="0"?"dhcss":"" %>">未上传</a> <a href="?type=<%=RequestS("type") %>&amp;sex=<%=RequestS("sex") %>&amp;resumelock=<%=RequestS("resumelock")%>&amp;isphoto=1"
                                    class="<%=RequestS("isphoto")=="1"?"dhcss":"" %>">已上传</a> </div></td>
      </tr>
      <tr class="tdbg">
        <td height="30"><strong>姓&nbsp;&nbsp; 名：</strong></td>
        <td><asp:TextBox ID="txtKeywords" runat="server" CssClass="keyword"></asp:TextBox>
          &nbsp;
          <asp:Button ID="btnSelect" runat="server" Text="查询" CssClass="submit" OnClick="btnSelect_Click" /></td>
      </tr>
    </tbody>
  </table>
  <div class="spClear"> </div>
  <div class="clear box">
  <div class="left">
  目前总记录数为：<b class="ft_red ft_16"><%=recordCount %></b></div>  
  <asp:Literal ID="litpagestr0" runat="server"></asp:Literal>
  </div>
  <div class="clear"></div>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
    <tr>
      <th width="7%" align="center"> <input type="checkbox" onclick="checkall(this,'.msgtable');" name="chkBoxAll" id="chkBoxAll"> </th>
      <th width="14%" align="center"> 姓名</th>
      <th width="19%" align="center"> 意向职位 </th>
      <th width="12%" align="center"> 简历等级 </th>
      <th width="12%" align="center"> 隐私设置 </th>
      <th width="15%" align="center"> 新增时间<br />
      更新时间 </th>
      <th width="9%" align="center"> 点击次数 </th>
      <th width="12%" align="center"> 简历状态
      </th>
    </tr>
    <asp:Repeater ID="repList" runat="server" OnItemDataBound="repList_ItemDataBound">
      <ItemTemplate>
        <tr>
          <td align="center">  <asp:CheckBox ID="cb_id" CssClass="checkall" runat="server" />
            <asp:HiddenField ID="hiddemail" Value='<%#Eval("email") %>' runat="server" /></td>
          <td align="left"><strong class="ft_14"><a target="_blank" href="<%#getresumeurl(Eval("resumeid"))%>"> <%#Eval("realname") %></a></strong><br />
            <span style="color: #86BDEA"> <%#Eval("sex").ToString().ToUpper()=="TRUE"?"(男)":"(女)" %></span></td>
          <td align="center"><%#getpostionName(Eval("positionid"))%></td>
          <td align="center"><asp:DropDownList ID="DropDownList1" OnSelectedIndexChanged="DropDownList1_Chang"
                            AutoPostBack="true" ToolTip='<%#Eval("resumeid") %>' runat="server"> </asp:DropDownList></td>
          <td align="center"><asp:DropDownList ID="DropDownList2" OnSelectedIndexChanged="DropDownList2_Chang"
                            AutoPostBack="true" ToolTip='<%#Eval("resumeid") %>' runat="server"> </asp:DropDownList></td>
          <td align="center"><%#Eval("adddate")%><br />
            <span style="color: Red"> <%#Eval("moddate")%></span></td>
          <td align="center"><%#Eval("hits") %></td>
          <td align="center"><asp:HiddenField ID="Hiddenresumelock" Value='<%#Eval("resumelock") %>' runat="server" />
            <asp:HiddenField ID="txtid" Value='<%#Eval("resumeid") %>' runat="server" />
            <asp:HiddenField ID="txttype" Value='<%#Eval("type") %>' runat="server" />
            <asp:HiddenField ID="hiduid" Value='<%#Eval("uid") %>' runat="server" /> <%#getresumestate(Eval("state"))%>
          </td>
        </tr>
      </ItemTemplate>
    </asp:Repeater>
  </table>
  <div class="clear box">
  <div class="left">
  <%--<asp:Button ID="Button1" CssClass="submit" runat="server" Text="人才推荐" OnClick="Button1_Click" />--%>
        &nbsp;
        <asp:Button ID="btndeleresume" runat="server" Text="删除简历" CssClass="submit" 
                    onclick="btndeleresume_Click" />
      <asp:Button ID="btnshresume" runat="server" CssClass="submit" 
          onclick="btnshresume_Click" Text="审核简历" />
      </div>
    <!--page-->
  <asp:Literal ID="litpagestr" runat="server"></asp:Literal>
  </div>
  <div class="clear"></div>
</form>
</body>
</html>
