<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_Person_List.aspx.cs"
    Inherits="YCHR.Web.admin.Person.YC_Person_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="76" height="30"><strong>管理选项：</strong></td>
        <td width="907" 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="76" height="30"><strong>身份筛选：</strong></td>
        <td class="dh"><div> <a class="dhcss" href="?state=&amp;day="> 不限</a> <a class="" href="?state=0&amp;day="> 未审核</a> <a class="" href="?state=1&amp;day="> 审核通过</a> <a class="" href="?state=2&amp;day="> 审核未通过</a> </div></td>
      </tr>
      <tr class="tdbg">
        <td height="30"><strong>登 陆 名：</strong></td>
        <td><asp:TextBox ID="txtKeywords" class="keyword" runat="server"></asp:TextBox>
          <asp:Button ID="Button1" runat="server" CssClass="submit" Text="搜索" OnClick="Button1_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="5%" align="center"> 编号 </th>
      <th width="30%" align="center"> 会员名|姓名|状态 </th>
      <th width="10%" align="center"> 登录|注册时间 </th>
      <th width="10%" align="center"> 个人信息认证 </th>
      <th width="20%" align="center"> 联系方式 </th>
      <th width="10%" align="center"> 登录次数 </th>
      <th width="10%" align="center"> <input type="checkbox" id="chkBoxAll" name="chkBoxAll" onclick="checkall(this,'.msgtable');">
      </th>
    </tr>
    <asp:Repeater ID="repList" runat="server">
      <ItemTemplate>
        <tr>
          <td align="center"><asp:HiddenField ID="pid" Value='<%#Eval("id") %>' runat="server" />
            <%#Eval("uid") %></td>
          <td align="left"><a target="_blank" href="../adlogin.aspx?username=<%#Eval("username")%>&password=<%#YCHR.Common.StringHelper.StrDe(Eval("password").ToString())%>"> <%#Eval("username") %></a> <br>
            </br>
            <span style="color: Black"> <%#Eval("realname")%></span><br /></td>
          <td align="center"><%#(Eval("regdate").ToString())%></td>
          <td align="center"><%#YCHR.Common.Enumerations.getpersonstatename(Eval("state"))%></td>
          <td align="center"><%#Eval("email") %></td>
          <td align="center"><%#Eval("logintimes") %></td>
          <td align="center"><asp:HiddenField ID="txtid" Value='<%#Eval("uid") %>' 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="btnrqzzzt" runat="server" CssClass="submit" 
                    OnClientClick="return confirm( '你要认证该求职会员吗？同意将状态改为已认证 ');" Text="认证会员" 
                    onclick="btnrqzzzt_Click" />
        &nbsp;
        <asp:Button ID="btnqxrz" runat="server" CssClass="submit" OnClick="btnqxrz_Click"
                    OnClientClick="return confirm( '你要取消认证该求职会员吗？同意将状态改为未认证 ');" Text="取消认证" /></div>
    <!--page-->
  <asp:Literal ID="litpagestr" runat="server"></asp:Literal>
  </div>
  <div class="clear"></div>
</form>
</body>
</html>
