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

<!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 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>                
            </table>
            <br />
            <table width='100%' border='0' align='center' cellpadding='4' cellspacing='1' class='border'>
                    <tr class='topbg'>
                        <td width="4%" align='center'><strong>选中</strong></td>
                        <td width="9%"><strong class="Glow">会展编号</strong></td>
                        <td width="27%"><strong class="Glow">会展名称</strong></td>
                        <td width="24%" align="center"><strong class="Glow">企业名称</strong></td>
                        <td width="9%" align="center"><strong class="Glow">联系人</strong></td>
                        <td width="15%" align="center"><strong class="Glow">联系方式</strong></td>
                        <td width="12%" 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 name="checkbox" id="checkbox" type="checkbox" value="<%#Eval("id") %>" /></td>
                                <td><%#Eval("zwid") %></td>
                                <td>
                                  <%#FormatLeft(Eval("ccname").ToString(), 10, 10) %></td>
                                <td align="center"><%#Eval("qyName") %><%#Eval("ispast").ToString() == "1" ? "" : "(未通过审核)"%></td>
                              <td align="center"><%#Eval("lxr") %></td>
                            <td align="center"><%#Eval("mobile") %></td>
                                <td align="center">
                                <a href="JobFair_AddCompany.aspx?Action=Edit&id=<%#Eval("id") %>&type=<%=q("id") %>">修改</a> | <a href="JobFair_AddCompany.aspx?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="Button2" runat="server" Text=" 删除展示 " OnClick="Button2_Click" />
                </div>
                <div id="paging" runat="server"></div>                
        </div>
    </form>
</body>
</html>