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

<%@ Register TagPrefix="ascx" TagName="PageFooter" Src="~/ascx/PageFooter.ascx" %>
<%@ Register TagPrefix="ascx" TagName="LeftPage" Src="~/Company/LeftDH.ascx" %>
<%@ Register TagPrefix="ascx" TagName="PageTop2" Src="~/ascx/PageTop2.ascx" %>
<!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>
        <%=Application["PageTitle"] %>
        - 猎 头 信 息 管 理</title>
    <link href="../images/Admin_Style.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="../kindeditor/themes/default/default.css" />
    <link rel="stylesheet" href="../kindeditor/plugins/code/prettify.css" />
    <script charset="utf-8" src="../kindeditor/kindeditor.js"></script>
    <script charset="utf-8" src="../kindeditor/lang/zh_CN.js"></script>
    <script charset="utf-8" src="../kindeditor/plugins/code/prettify.js"></script>
    <script>
        KindEditor.ready(function (K) {
            var editor1 = K.create('#FreeTextBox1,#FreeTextBox2', {
                cssPath: '../kindeditor/plugins/code/prettify.css',
                uploadJson: '../kindeditor/upload_json.ashx',
                fileManagerJson: '../kindeditor/file_manager_json.ashx',
                allowFileManager: true
            });
            prettyPrint();
        });
    </script>
    <script type="text/javascript" language="javascript">
        function yanzheng() {
            if (form1.JobFrom.value == '') {
                alert('工作地区不能为空！');
                form1.JobFrom.focus();
                return false;
            }
            if (form1.JobTitle.value == '') {
                alert('猎头职位不能为空！');
                form1.JobTitle.focus();
                return false;
            }
            if (isNaN(form1.JobMan.value)) {
                alert('招聘人数出现非法数字！');
                form1.JobMan.focus();
                return false;
            }
            if (form1.JobMan.value == '') {
                alert('招聘人数不能为空！');
                form1.JobMan.focus();
                return false;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" onsubmit='return yanzheng();'>
    <ascx:PageTop2 ID="PageTop2" runat="server" />
    <table width="990" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td width="13%" valign="top">
                <ascx:LeftPage ID="LeftPage" runat="server" />
            </td>
            <td width="8%" valign="top">
            </td>
            <td width="79%" valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <table width='100%' border='0' align='center' cellpadding='2' cellspacing='1' class='border'>
                                <tr class='topbg2'>
                                    <td width="100%" align='center'>
                                        <strong class="Glow">猎 头 信 息 管 理</strong>
                                    </td>
                                </tr>
                            </table>
                            <asp:Panel ID="P1" runat="server">
                                <table width='100%' border='0' align='center' cellpadding='4' cellspacing='1' class='border'>
                                    <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                        <td width="14%" align="right">
                                            职位职位类别：
                                        </td>
                                        <td width="37%">
                                            <asp:DropDownList ID="JobClass" runat="server">
                                            </asp:DropDownList>
                                            <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
                                        </td>
                                        <td width="49%">
                                            工作地区：<asp:TextBox class="input_text" ID="JobFrom" runat="server" MaxLength="10" EnableViewState="false"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                        <td align="right">
                                            &nbsp;猎头公司名：
                                        </td>
                                        <td colspan="2">
                                            <asp:TextBox class="input_text" ID="JobTitle" runat="server" Width="290px" MaxLength="40"
                                                EnableViewState="false" />
                                            如：某大型综合公司
                                        </td>
                                    </tr>
                                    <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                        <td align="right">
                                            工作经验：
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="JobYear" runat="server" EnableViewState="false">
                                                <asp:ListItem Selected="True">不限</asp:ListItem>
                                                <asp:ListItem>应届生</asp:ListItem>
                                                <asp:ListItem>一年</asp:ListItem>
                                                <asp:ListItem>二年</asp:ListItem>
                                                <asp:ListItem>三年</asp:ListItem>
                                                <asp:ListItem>三年到五年</asp:ListItem>
                                                <asp:ListItem>五到十年</asp:ListItem>
                                                <asp:ListItem>十年以上</asp:ListItem>
                                            </asp:DropDownList>
                                            年
                                        </td>
                                    </tr>
                                    <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                        <td align="right">
                                            职位月薪：
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="JobMoney" runat="server" EnableViewState="false">
                                                <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' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                        <td align="right">
                                            招聘人数：
                                        </td>
                                        <td colspan="2">
                                            <asp:TextBox class="input_text" ID="JobMan" runat="server" Width="56px" MaxLength="4" />
                                        </td>
                                    </tr>
                                    <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                        <td align="right">
                                            最低学历：
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="Jobxl" runat="server" EnableViewState="false">
                                                <asp:ListItem Value="不限">不限</asp:ListItem>
                                                <asp:ListItem>初中</asp:ListItem>
                                                <asp:ListItem>高中</asp:ListItem>
                                                <asp:ListItem>中技</asp:ListItem>
                                                <asp:ListItem>中专</asp:ListItem>
                                                <asp:ListItem>大专</asp:ListItem>
                                                <asp:ListItem>本科</asp:ListItem>
                                                <asp:ListItem>硕士</asp:ListItem>
                                                <asp:ListItem>博士</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                        <td align="right">
                                            工作性质：
                                        </td>
                                        <td colspan="2">
                                            <asp:DropDownList ID="jobxz" runat="server" EnableViewState="false">
                                                <asp:ListItem Selected="True" 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' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                        <td align="right">
                                            职位描述/要求：
                                        </td>
                                        <td colspan="2">
                                            <textarea id="FreeTextBox1" name="FreeTextBox1" runat="server" style="width:auto; height:400px"
                                                enableviewstate="false"></textarea>
                                        </td>
                                    </tr>
                                    <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                        <td align="right">
                                            联系方式：
                                        </td>
                                        <td colspan="2">
                                            <textarea id="FreeTextBox2" name="FreeTextBox2" runat="server" style="width:auto; height:400px"
                                                enableviewstate="false"></textarea>
                                        </td>
                                    </tr>
                                </table>
                                <div align="center">
                                    <asp:Button ID="Button1" runat="server" Text="添 加" OnClick="Button1_Click" />
                                    <input name="reset" type="reset" id="Reset1" value="重 置" />
                                </div>
                            </asp:Panel>
                            <asp:Panel ID="P2" runat="server" EnableViewState="false">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tbindex">
                                    <tr>
                                        <td style="height: 22px">
                                            <div align="center">
                                                <br />
                                                <table width='100%' border='0' align='center' cellpadding='4' cellspacing='1' class='border'>
                                                    <tr class='topbg2'>
                                                        <td width="36%" align='center'>
                                                            猎头职位类型
                                                        </td>
                                                        <td width="11%" align='center'>
                                                            工作地区
                                                        </td>
                                                        <td width="10%" align='center'>
                                                            招聘人数
                                                        </td>
                                                        <td width="12%" align='center'>
                                                            猎头状态
                                                        </td>
                                                        <td width="13%" align='center'>
                                                            加入时间
                                                        </td>
                                                        <td width="18%" align='center'>
                                                            常规操作
                                                        </td>
                                                    </tr>
                                                    <asp:Repeater ID="RP1" runat="server" EnableViewState="false">
                                                        <ItemTemplate>
                                                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                                                <td align='center'>
                                                                    <%#Eval("JobClass") %>
                                                                </td>
                                                                <td align='center'>
                                                                    <%#Eval("jobfrom")%>
                                                                </td>
                                                                <td align='center'>
                                                                    <%#Eval("jobman")%>
                                                                    人
                                                                </td>
                                                                <td align='center'>
                                                                    <%#Eval("ispast")%>
                                                                </td>
                                                                <td align='center'>
                                                                    <%#Eval("AddTime")%>
                                                                </td>
                                                                <td align='center'>
                                                                    <a href="addhunter.aspx?Action=Edit&id=<%# Eval("id")%>">修改</a> | <a href="addhunter.aspx?Action=Del&id=<%# Eval("id")%>"
                                                                        onclick="return confirm('确定要删除此项吗？此操作不可逆。')">删除</a>
                                                                </td>
                                                            </tr>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                </table>
                                                <table width="100%" height="18" border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td width="669" style="height: 3px">
                                                            共<b>
                                                                <asp:Label ID="LbRecord" runat="server" ForeColor="Red"></asp:Label>
                                                            </b>条记录 页数:
                                                            <asp:Label ID="CurrentPage" runat="server" ForeColor="Red"></asp:Label>
                                                            /
                                                            <asp:Label ID="TotalPage" runat="server" ForeColor="Red"></asp:Label>
                                                            页 <b>
                                                                <asp:Label ID="LbPageRecord" runat="server"></asp:Label>
                                                            </b>篇文章/页
                                                            <asp:HyperLink ID="Linkhead" runat="server">首页</asp:HyperLink>
                                                            <asp:HyperLink ID="LinkPrev" runat="server">上一页</asp:HyperLink>
                                                            <asp:HyperLink ID="LinkNext" runat="server">下一页</asp:HyperLink>
                                                            <asp:HyperLink ID="LinkFoot" runat="server">尾页</asp:HyperLink>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <p>
                                                <span class="style4">备注：</span>当状态为“申请猎头”时，请及时联系管理员验证通过，方能立即发布。<br />
                                                当状态为“猎头中..”时,表示猎头服务正在服务中，任何人都可以浏览相关猎头内容。</p>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <ascx:PageFooter ID="PageFooter" runat="server" />
    </form>
</body>
</html>
