<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_pugong_List.aspx.cs"
    Inherits="YCHR.Web.admin.pugong.YC_pugong_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="77" height="30"><strong>管理选项：</strong></td>
        <td width="906" class="dh"><a href="YC_pugong_List.aspx">管理首页</a>|<a href="YC_pugong_List.aspx">普工人才管理</a>| <a href="javascript:location.reload()">刷新页面</a></td>
      </tr>
      <tr class="tdbg">
        <td width="77" height="30"><strong>性别筛选：</strong></td>
        <td class="dh"><div> <a href="?sex=&amp;state=<%=RequestS("state") %>" class="<%=RequestS("sex")==""?"dhcss":"" %>"> 不限</a> <a href="?sex=1&amp;state=<%=RequestS("state") %>" class="<%=RequestS("sex")=="1"?"dhcss":"" %>"> 男</a> <a href="?sex=0&amp;state=<%=RequestS("state") %>" class="<%=RequestS("sex")=="0"?"dhcss":"" %>"> 女</a> </div></td>
      </tr>
      <tr class="tdbg">
        <td width="77" height="30"><strong>简历状态：</strong></td>
        <td class="dh"><div> <a href="?state=&amp;sex=<%=RequestS("sex") %>" class="<%=RequestS("state")==""?"dhcss":"" %>"> 不限</a> <a href="?state=0&amp;sex=<%=RequestS("sex") %>" class="<%=RequestS("state")=="0"?"dhcss":"" %>"> 未审核普工</a><a href="?state=1&amp;sex=<%=RequestS("sex") %>" class="<%=RequestS("state")=="1"?"dhcss":"" %>">已审核普工</a><a
                                    href="?state=0&amp;sex=<%=RequestS("sex") %>" class="<%=RequestS("state")=="2"?"dhcss":"" %>">推荐普工</a> </div></td>
      </tr>
      <tr class="tdbg">
        <td height="30"><strong>　　姓名：</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="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"> 编号 </th>
      <th width="21%" align="center"> 姓名 </th>
      <th width="16%" align="center"> 意向职位 </th>
      <th width="14%" align="center"> 简历状态  </th>
      <th width="16%" align="center"> 新增时间|更新时间 </th>
      <th width="14%" align="center"> 联系QQ </th>
      <th width="12%" align="center"> <input type="checkbox" onclick="checkall(this,'.msgtable');" name="chkBoxAll" id="chkBoxAll">
      </th>
    </tr>
    <asp:Repeater ID="repList" runat="server" OnItemDataBound="repList_ItemDataBound">
      <ItemTemplate>
        <tr>
          <td align="center"><%#Eval("id")%>
            <asp:HiddenField ID="hiddemail" Value='<%#Eval("email") %>' runat="server" /></td>
          <td align="left"><em style="color: #86BDEA"> <%#Eval("sex").ToString().ToUpper()=="TRUE"?"(男)":"(女)" %>　(<%#Eval("AGE")%> 岁)　</em><strong><%#Eval("realname") %></strong>
            </td>
          <td align="left"><%#Eval("position")%></td>
          <td align="center"><asp:DropDownList ID="DropDownList1" OnSelectedIndexChanged="DropDownList1_Chang"
                            AutoPostBack="true" ToolTip='<%#Eval("id") %>' runat="server"> </asp:DropDownList></td>
          <td align="center"><%#Eval("addtime")%></td>
          <td align="center"><%#Eval("qq")%></td>
          <td align="center"><asp:HiddenField ID="txtid" Value='<%#Eval("id") %>' runat="server" />
            <asp:HiddenField ID="hidstate" Value='<%#Eval("state") %>' runat="server" />
            <asp:CheckBox ID="cb_id" CssClass="checkall" runat="server" /></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" /></div>
    <!--page-->
  <asp:Literal ID="litpagestr" runat="server"></asp:Literal>
  </div>
  <div class="clear"></div>

</form>
</body>
</html>
