<%@ page language="C#" autoeventwireup="true" inherits="ProduceAdmin_ProduceRecruitment_Operate, GroupTGWeb_deploy" %>

<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="China315" %>
<%@ Register Assembly="GroupFly.Control" Namespace="GroupFly.Control" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="China315" %>
<!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 rel="stylesheet" type="text/css" href="style/index.css" />

    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>

    <script type="text/javascript" language="javascript" src="../../js/CommonJS.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" EnableScriptGlobalization="true" EnableScriptLocalization="true"
        runat="server">
    </asp:ScriptManager>
    <div class="main">
        <div class="title">
            <asp:Label ID="LabelTitle" runat="server" Text="添加招聘信息"></asp:Label></div>
        <table cellpadding="0" cellspacing="1" width="100%">
            <tr>
                <td align="right" width="20%">
                    <asp:Localize ID="LocalizeCategoryName" runat="server" Text="职位名称："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextPositionName" runat="server" CssClass="allinput2"></asp:TextBox>
                    <asp:Label ID="Label1" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBoxCategoryName" runat="server"
                        ControlToValidate="TextPositionName" ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBoxCategoryName"
                        runat="server" ControlToValidate="TextPositionName" Display="Dynamic" ErrorMessage="最多50个字符"
                        ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" width="20%">
                    <asp:Localize ID="Localize1" runat="server" Text="工作地点："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxWorkPlace" runat="server" CssClass="allinput2"></asp:TextBox>
                    <asp:Label ID="Label2" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxWorkPlace"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxWorkPlace"
                        Display="Dynamic" ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" width="20%">
                    <asp:Localize ID="Localize2" runat="server" Text="招聘人数："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxRecruitingNumber" runat="server" CssClass="allinput2"></asp:TextBox>
                    <asp:Label ID="Label3" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxRecruitingNumber"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorRepertoryOrderID" runat="server"
                        ControlToValidate="TextBoxRecruitingNumber" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" width="20%">
                    <asp:Localize ID="Localize3" runat="server" Text="薪水待遇："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxSalary" runat="server" CssClass="allinput2"></asp:TextBox>
                    <asp:Label ID="Label4" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBoxSalary"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right" width="20%">
                    <asp:Localize ID="Localize4" runat="server" Text="时间："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxSendTime1" runat="server" CssClass="allinput1"></asp:TextBox>
                    <img id="img1" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;
                        position: relative; top: 4px" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBoxSendTime1"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBoxSendTime1"
                        Display="Dynamic" ErrorMessage="时间格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                    -<asp:TextBox ID="TextBoxSendTime2" runat="server" CssClass="allinput1"></asp:TextBox>
                    <img id="img2" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;
                        position: relative; top: 4px" />
                    <asp:Label ID="Label14" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="TextBoxSendTime2"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                    <China315:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBoxSendTime1"
                        PopupButtonID="img1" CssClass="ajax__calendar" />
                    <China315:CalendarExtender ID="CalendarExtender4" runat="server" TargetControlID="TextBoxSendTime2"
                        PopupButtonID="img2" CssClass="ajax__calendar" />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBoxSendTime2" runat="server"
                        ControlToValidate="TextBoxSendTime2" Display="Dynamic" ErrorMessage="时间格式不正确"
                        ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Localize ID="Localize5" runat="server" Text="工作职责："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxJobDescribtion" runat="server" CssClass="allinput1" TextMode="MultiLine"></asp:TextBox>
                    <asp:Label ID="Label6" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBoxJobDescribtion"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Localize ID="Localize6" runat="server" Text="职位要求："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxJobRequirements" runat="server" CssClass="allinput1" TextMode="MultiLine"></asp:TextBox>
                    <asp:Label ID="Label7" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBoxJobRequirements"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Localize ID="Localize7" runat="server" Text="招聘单位："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxRecruitmentComplay" runat="server" CssClass="allinput2"></asp:TextBox>
                    <asp:Label ID="Label8" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBoxRecruitmentComplay"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" ControlToValidate="TextBoxRecruitmentComplay"
                        Display="Dynamic" ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Localize ID="Localize8" runat="server" Text="联系人："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxContact" runat="server" CssClass="allinput2"></asp:TextBox>
                    <asp:Label ID="Label9" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TextBoxContact"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" ControlToValidate="TextBoxContact"
                        Display="Dynamic" ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Localize ID="Localize9" runat="server" Text="联系电话："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxPhone" runat="server" CssClass="allinput2"></asp:TextBox>
                    <asp:Label ID="Label10" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TextBoxPhone"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Localize ID="Localize10" runat="server" Text="联系地址："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxAddress" runat="server" CssClass="allinput2"></asp:TextBox>
                    <asp:Label ID="Label11" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TextBoxAddress"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Localize ID="Localize11" runat="server" Text="邮政编码："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxPostcode" runat="server" CssClass="allinput2"></asp:TextBox>
                    <asp:Label ID="Label12" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="TextBoxPostcode"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Localize ID="Localize12" runat="server" Text="邮箱地址："></asp:Localize>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxEmail" runat="server" CssClass="allinput2"></asp:TextBox>
                    <asp:Label ID="Label13" runat="server" ForeColor="red" Text="*"></asp:Label>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="TextBoxEmail"
                        ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator12" runat="server"
                        ControlToValidate="TextBoxEmail" Display="Dynamic" ErrorMessage="邮箱格式不正确！" ValidationExpression="^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Localize ID="LocalizeDescription" runat="server" Text="是否显示："></asp:Localize>
                </td>
                <td>
                    <asp:CheckBox ID="CheckBoxIsShow" runat="server" Checked="true" />
                </td>
            </tr>
            <tr style="background-color: rgb(238, 238, 238);">
                <td align="right">
                </td>
                <td>
                    <div class="bottomLine">
                        <asp:Button ID="ButtonConfirm" runat="server" Text="确定" CssClass="bnt1" OnClick="ButtonConfirm_Click" />
                        <input id="Reset1" type="reset" value="重置" class="bnt1 cancel" /><asp:Button ID="Button1"
                            runat="server" CssClass="bt3 cancel" CausesValidation="false" PostBackUrl="ProduceRecruitment_List.aspx"
                            Text="返回列表" />
                        <China315:MessageShow ID="MessageShow" Visible="false" runat="server" />
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
    </form>
</body>
</html>
