<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Onezp.aspx.cs" Inherits="MyITJob.Admin.Onezp"
    EnableViewState="false" %>

<!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 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 border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>
                        <div id="LookDiv" runat="server">
                            <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>
                            <table align="center" border="0" cellpadding="4" cellspacing="1" class="border" width="100%">
                                <tr class="tdbg">
                                    <td align="right" class="tdbg2" width="15%">
                                        招聘职位：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="zw" runat="server" MaxLength="180" Width="290px"></asp:TextBox></td>
                                </tr>
                                <tr class="tdbg">
                                    <td align="right" class="tdbg2">
                                        招聘人数：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="rs" runat="server" MaxLength="2" Width="48px"></asp:TextBox></td>
                                </tr>
                                <tr class="tdbg">
                                    <td align="right" class="tdbg2">
                                        招贤要求：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="yaoqiu" runat="server" MaxLength="180" Width="290px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tdbg">
                                    <td align="right" class="tdbg2">
                                        联 系 人：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="lxr" runat="server" MaxLength="10" Width="290px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tdbg">
                                    <td align="right" class="tdbg2">
                                        联系电话：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="lxdh" runat="server" MaxLength="15" Width="290px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tdbg">
                                    <td align="right" class="tdbg2">
                                        公司名称：
                                    </td>
                                    <td>
                                        <asp:TextBox ID="gsmc" runat="server" MaxLength="20" Width="290px"></asp:TextBox></td>
                                </tr>
                                <tr class="tdbg">
                                    <td align="right" class="tdbg2">
                                        公司地址：</td>
                                    <td>
                                        <asp:TextBox ID="gsdz" runat="server" MaxLength="20" Width="290px"></asp:TextBox></td>
                                </tr>
                            </table>
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td style="height: 22px">
                                        <div align="center">
                                            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="确 定" />
                                            <input id="Reset1" type="reset" value="重 置" />
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div id="ManageDiv" runat="server">
                            <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>
                            <table width='100%' border='0' align='center' cellpadding='4' cellspacing='1' class='border'>
                                <tr class='topbg2'>
                                    <td width="4%" align='center'>
                                        选中
                                    </td>
                                    <td width="6%" align='center'>
                                        序号
                                    </td>
                                    <td width="17%" align='center'>
                                        公司名称</td>
                                    <td width="40%" align='center'>
                                        招聘岗位（人数）</td>
                                    <td width="8%" align='center'>联系人 
                                    <td width="13%" align='center'>
                                        联系电话</td>
                                    <td width="12%" align='center'>
                                        常规操作                                    </td>
                                </tr>
                                <asp:Repeater ID="Manage_1zp" runat="server">
                                    <ItemTemplate>
                                        <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                            <td align='center'>
                                                <input id="Checkbox1" name="Checkbox1" type="checkbox" value="<%#Eval("id") %>" />
                                            </td>
                                            <td align='center'>
                                                NO.<%# Eval("id") %>
                                            </td>
                                            <td align='center'>
                                                <%#FormatLeft( Eval("Company").ToString() ,24 ,22) %>
                                            </td>
                                            <td align='center'>
                                                <%#Eval("zw")%>
                                                【<%#Eval("pCount") %>人】
                                            </td>
                                            <td align='center'>
                                                <%#Eval("lxr")%>
                                            </td>
                                            <td align='center'>
                                                <%#Eval("mobile")%>
                                            </td>
                                            <td align='center'>
                                                <a href="?Action=Edit&id=<%# Eval("id")%>">修改</a> | <a href="?Action=Del&id=<%# Eval("id")%>"
                                                    onclick="return confirm('确定要删除此项吗？此操作不可逆。')">删除</a>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                          </table>
                            <input name='chkAll' type='checkbox' onclick='CheckAll(this.form)' value='checkbox' /><asp:Button ID="DelNews_Button" runat="server" OnClick="DelNews_Button_Click" Text="删除选定内容" />
                            <div id="paging" runat="server">
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
