<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_School_Basemeans.aspx.cs" Inherits="MyITJob.Admin.Admin_School_Basemeans" %>

<!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 href="../images/Admin_Style.css" rel="stylesheet" type="text/css" />
  <script src="../js/My97Date/WdatePicker.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 align="center" border="0" cellpadding="2" cellspacing="1" class="border" width="100%">
        <tr class="topbg2">
          <td align="center" width="100%"><strong class="Glow">院 校 机 构 资 料 管 理</strong></td>
        </tr>
      </table>
      <asp:Panel ID="Manage" runat="server">
        <table border="0" width="100%">
          <tr>
            <td>
              搜索登陆名：
              <asp:TextBox ID="searchText" runat="server"></asp:TextBox>
              <input id="Submit1" type="submit" value="搜 索" /></td>
          </tr>
        </table>
        <table align="center" border="0" cellpadding="4" cellspacing="1" class="border" width="100%">
          <tr class="topbg2">
            <td align="center" width="4%">
              <strong class="Glow">选中</strong></td>
            <td width="7%">
              <strong class="Glow">登录名</strong></td>
            <td width="17%">
              <strong class="Glow">院校名称</strong></td>
            <td align="center" width="6%">
              <strong class="Glow">院校类型</strong></td>
            <td align="center" width="9%">
              <strong class="Glow">成立时间</strong></td>
            <td align="center" width="8%">
              <strong class="Glow">所在地</strong></td>
            <td align="center" width="14%">
              <strong class="Glow">联系邮箱</strong></td>
            <td align="center" width="13%"><strong class="Glow">登陆时间</strong></td>
            <td align="center" width="22%">
              <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 id="checkbox" name="checkbox" type="checkbox" value='<%#Eval("id")%>' /></td>
                <td>
                  <%#Eval("sllogname") %>
                </td>
                <td>
                  <a href='/School/School_Basemeans.aspx?id=<%#Eval("id")%>' target="_blank">
                    <%#Eval("slname") %>
                  </a>
                </td>
                <td align='center'>
                  <%#Eval("slclass") %>
                </td>
                <td align='center'>
                  <%#Eval("slcltime","{0:d}") %>
                </td>
                <td align='center'>
                  <%#Eval("slfromName") %>
                </td>
                <td align='center'>
                  <%#Eval("slemail") %>
                </td>
                <td align='center'><%#Eval("logTime") %></td>
                <td align="center"><a href="?Action=dl&slname=<%#Eval("sllogname") %>">代理登陆</a> | <div id="sure<%#Eval("id")%>" class="YnEnter"><a href="?Action=APic1&id=<%#Eval("id")%>">通过图片招聘</a> | <a href="?Action=APic0&id=<%#Eval("id")%>">取消图片招聘</a></div><a href="#" onclick="YnEnterDiv('sure<%#Eval("id")%>')"> <%#Eval("imgIsPast")%></a>
                | <div id="sure2<%#Eval("id") %>" class="YnEnter"><a href="?Action=VipIsPast1&id=<%#Eval("id")%>">通过审核</a> | <a href="?Action=VipIsPast0&id=<%#Eval("id")%>">未通过审核</a></div><a href="#" onclick="YnEnterDiv('sure2<%#Eval("id") %>')"><%#Eval("vipIsPast") %></a> | <a href='?id=<%#Eval("ID") %>&Action=Del' onclick="return confirm('警告！删除此会员将会删除其所有其他相关资料！此操作不可逆。');">删除</a></td>
              </tr>
            </ItemTemplate>
          </asp:Repeater>
        </table>
        <div>
          <input name="chkAll" onclick="CheckAll(this.form)" type="checkbox" value="checkbox" />
          <asp:Button ID="del_button" runat="server" OnClick="del_button_Click" Text="删 除" />
        </div>
        <div id="paging" runat="server">
        </div>
      </asp:Panel>
    </div>
  </form>
</body>
</html>