<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Admin_Person_info.aspx.cs"
    Inherits="MyITJob.Admin.Admin_Person_info" %>
<!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><%=Application["PageTitle"]%>- 个人用户求职管理</title>
<link href="../images/Admin_Style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../MyITJob.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
function CheckAll(form){
  for (var i=0;i<form.elements.length;i++){
    var e = form.elements[i];
    if (e.name != 'chkAll' && e.disabled == false && e.type == 'checkbox') {
      e.checked = form.chkAll.checked;
      if (e.checked)
        hL(e);
      else
        dL(e);
    }
  }
}

function hL(E){
  while (E.tagName!='TR') {E=E.parentElement;}
  E.className='tdbg2';
}
function dL(E){
  while (E.tagName!='TR') {E=E.parentElement;}
  E.className='tdbg';
}
</script>
</head>
<body>
<form id="form1" runat="server">
  <div>
  <table width='100%' border='0' align='center' cellpadding='2' cellspacing='1' class='border'>
                <tr class='topbg'>
                  <td height='30' colspan='2'><table width='100%'>
                    <tr class='topbg'>
                      <td align='center'><strong>个 人 用 户 求 职 管 理</strong></td>
                    </tr>
                  </table></td>
                </tr>
                <tr class="tdbg">
                  <td width='99' height='30'><strong>简历筛选：</strong></td>
                  <td class="dh">
                  <div>
                  <%foreach ( ClassLibrary1.strClass.dhClass d in dh) {%>
                    <a <%= d.id == q("type") ? "class='dhcss'":"" %> href="?type=<%=d.id %>&sex=<%= q("day") %>"><%=d.name %></a>
                  <%} %>                  
                  </div>
                  </td>
                </tr>
                <tr class="tdbg">
                  <td width='99' height='30'><strong>性别筛选：</strong></td>
                  <td class="dh">
                  <%foreach (ClassLibrary1.strClass.dhClass d in sex) {%>
                    <a <%= d.id == q("sex") ? "class='dhcss'":"" %> href="?sex=<%=d.id %>&type=<%=q("type") %>"><%=d.name %></a>
                  <%} %>
                  </td>
                </tr>
                <tr class="tdbg">
                  <td height='30'><strong>登 录 名：</strong></td>
                  <td><asp:TextBox ID="searchText" runat="server"></asp:TextBox>
                  <asp:Button ID="searchButton" runat="server" OnClick="searchButton_Click" Text="搜 索" /></td>
                </tr>
              </table>
    <asp:Panel ID="Manage" runat="server">
      <table width='100%' border='0' align='center' cellpadding='6' cellspacing='1' class='border'>
        <tr class='topbg'>
          <td width="4%" align='center'><strong class="Glow">选中</strong></td>
          <td width="8%" align='center'><strong class="Glow">登录名</strong></td>
          <td width="7%" align='center'><strong class="Glow">真实姓名</strong></td>
          <td width="4%" align='center'><strong class="Glow">性别</strong></td>
          <td width="6%" align='center'><strong class="Glow">工作类型</strong></td>
          <td width="14%" align='center'><strong class="Glow">职位意向</strong></td>
          <td width="19%" align='center'><strong class="Glow">自荐书</strong></td>
          <td width="20%" align='center'><strong class="Glow">求职要求</strong></td>
          <td width="18%" align='center'><strong class="Glow">操作</strong></td>
        </tr>
        <asp:Repeater ID="RP1" runat="server">
          <ItemTemplate>
            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
              <td align='center'><input type="checkbox" name="checkbox" id="checkbox" value='<%#Eval("id")%>' /></td>
              <td><a href='../Person_Lookzl.aspx?id=<%#Eval("id") %>' target="_blank"><%#Eval("pname") %></a></td>
              <td><a href='../Person_Lookzl.aspx?id=<%#Eval("id") %>' target="_blank"> <%#Eval("prealname")%> </a></td>
              <td align='center'><%#Eval("psex") %></td>
              <td align='center'><%#Eval("Jobtype") %></td>
              <td><%#Eval("JobPostText") %></td>
              <td><%#FormatLeft(Eval("Jobelcet").ToString(),16,16)%></td>
              <td><%#FormatLeft(Eval("JobAsk").ToString(),16,16)%></td>              
              <td><div id="sure<%#Eval("id") %>" class="YnEnter"><a href="?id=<%#Eval("ID") %>&Action=status&sure=1">通过审核</a> <a href="?id=<%#Eval("ID") %>&Action=status&sure=0">取消审核</a></div>
              <a href="###" onclick="YnEnterDiv('sure<%#Eval("id") %>')"><%#statusBind()%></a> | <a href="?id=<%#Eval("ID") %>&Action=Edit">修改</a> | <a href="?id=<%#Eval("ID") %>&Action=Del" onclick="return confirm('警告！删除此会员将会删除其所有其他相关资料！此操作不可逆。');">删除</a></td>
            </tr>
          </ItemTemplate>
        </asp:Repeater>
      </table>
      <div>
        <input name='chkAll' type='checkbox' onclick='CheckAll(this.form)' value='checkbox' />
        <asp:Button ID="status_Yes" runat="server" Text="推荐简历" OnClick="ungent_Yes_Click" />
        <asp:Button ID="status_No" runat="server" Text="取消推荐" OnClick="ungent_No_Click" />
        <asp:Button ID="del_button" runat="server" Text="删 除" OnClick="del_button_Click" />
      </div>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="669" height="18"><div id="paging" runat="server"></div></td>
        </tr>
      </table>
      </asp:Panel>
    <asp:Panel ID="Add" runat="server" Visible="false">
      <table width='100%' border='0' align='center' cellpadding='2' cellspacing='1' class='border'>
        <tr class='tdbg'>
          <td colspan="2" class="topbg2"><div align="center" class="Glow"> <strong>个人意向求职修改</strong></div></td>
        </tr>
        <tr class='tdbg'>
          <td width="23%" class="tdbg1"><div align="right"> 工作类型：</div></td>
          <td width="77%" class="tdbg2"><asp:DropDownList ID="DropDownList1" runat="server">
              <asp:ListItem Value="不限">不限</asp:ListItem>
              <asp:ListItem Value="全职">全职</asp:ListItem>
              <asp:ListItem Value="兼职">兼职</asp:ListItem>
              <asp:ListItem Value="临时工">临时工</asp:ListItem>
              <asp:ListItem Value="合同工">合同工</asp:ListItem>
            </asp:DropDownList></td>
        </tr>
        <tr class='tdbg'>
          <td class="tdbg1"><div align="right"> 工作地点：</div></td>
          <td class="tdbg2"><asp:DropDownList ID="DropDownList2" runat="server"> </asp:DropDownList></td>
        </tr>
        <tr class='tdbg'>
          <td class="tdbg1"><div align="right"> 工作岗位：</div></td>
          <td class="tdbg2"><asp:DropDownList ID="DropDownList3" runat="server"> </asp:DropDownList></td>
        </tr>
        <tr class='tdbg'>
          <td class="tdbg1"><div align="right"> 待遇：</div></td>
          <td class="tdbg2"><asp:DropDownList ID="DropDownList4" runat="server">
              <asp:ListItem Value="面议">面议</asp:ListItem>
              <asp:ListItem Value="500以下">500以下</asp:ListItem>
              <asp:ListItem>500-1000</asp:ListItem>
              <asp:ListItem>1000-2000</asp:ListItem>
              <asp:ListItem>2000-3000</asp:ListItem>
              <asp:ListItem>3000-5000</asp:ListItem>
              <asp:ListItem>5000-8000</asp:ListItem>
              <asp:ListItem>8000-10000</asp:ListItem>
              <asp:ListItem>10000-20000</asp:ListItem>
              <asp:ListItem>20000以上</asp:ListItem>
            </asp:DropDownList></td>
        </tr>
        <tr class='tdbg'>
          <td class="tdbg1"><div align="right"> 其他要求：</div></td>
          <td class="tdbg2"><asp:TextBox ID="TextBox1" runat="server" Height="102px" TextMode="MultiLine" Width="380px"></asp:TextBox></td>
        </tr>
        <tr class='tdbg'>
          <td class="tdbg1"><div align="right"> 自荐书：</div></td>
          <td class="tdbg2"><asp:TextBox ID="TextBox2" runat="server" Height="102px" TextMode="MultiLine" Width="380px"></asp:TextBox></td>
        </tr>
      </table>
      <table width="100%" border="0">
        <tr>
          <td><div align="center">
              <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="保存" />
              &nbsp;
              <label>
                <input type="reset" name="Submit2" value="重置" />
                <br />
                <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
              </label>
            </div></td>
        </tr>
      </table>
      </asp:Panel>
    <br />
    <table width="100%" border="0" cellspacing="1" cellpadding="3">
      <tr>
        <td class="topbg"><div align="center"> Copyright 2009-2019  <%=Application["PageTitle"] %> All Rights Reserved.</div></td>
      </tr>
    </table>
  </div>
</form>
</body>
</html>
