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

<!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" />
    <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 src="../js/My97Date/WdatePicker.js" type="text/javascript"></script>
    <script>
        KindEditor.ready(function (K) {
            var editor1 = K.create('#editor_GG', {
                cssPath: '../kindeditor/plugins/code/prettify.css',
                uploadJson: '../kindeditor/upload_json.ashx',
                fileManagerJson: '../kindeditor/file_manager_json.ashx',
                allowFileManager: true
            });
            prettyPrint();
        });
    </script>
    <script language="javascript" src="../MyITJob.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table width='100%' border='0' align='center' cellpadding='6' cellspacing='1' class='border'>
                <tr class='topbg'>
                    <td colspan="2" align='center'>
                        <strong class="Glow">添加招聘会信息</strong></td>
                </tr>
                <tr class='tdbg'>
                    <td width="9%">
                        <div align="right">
                            <strong>招聘会标题：</strong></div>
                    </td>
                    <td width="91%">
                        <asp:TextBox ID="TextBox1" runat="server" Width="300"></asp:TextBox>
                        <asp:DropDownList ID="TitleColor" runat="server" style="font-size:14px;color:#FFFFFF">
                            <asp:ListItem style="background-color:#000000;" Value="">默认</asp:ListItem>
                            <asp:ListItem style="background-color:#FF0000;" Value="#FF0000">红色</asp:ListItem>
                            <asp:ListItem style="background-color:#0000FF;" Value="#0000FF">蓝色</asp:ListItem>
                            <asp:ListItem style="background-color:#009900;" Value="#009900">绿色</asp:ListItem>
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                            ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr class='tdbg'>
                    <td width="9%">
                        <div align="right">
                            <strong>招聘会内容：</strong></div>
                    </td>
                    <td width="91%">
                        <textarea id="editor_GG" name="editor_GG" rows="30" runat="server" enableviewstate="false" style="width:auto;"></textarea>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="editor_GG"
                            ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr class='tdbg'>
                    <td width="9%">
                        <div align="right">
                            <strong>顶部图片：</strong></div>
                    </td>
                    <td width="91%">
                        <asp:FileUpload ID="FileUpload1" runat="server" Width="311px" />
                        支持jpg/gif图片，最大不能超过宽度为991像素，高度不限。新增招聘会时不能为空。</td>
                </tr>
                <tr class='tdbg'>
                    <td width="9%">
                        <div align="right">
                            <strong>会场展示图：</strong></div>
                    </td>
                    <td width="91%">
                        <asp:FileUpload ID="FileUpload2" runat="server" Width="311px" />新增招聘会时不能为空。</td>
                </tr>
                <tr class='tdbg'>
                    <td width="9%">
                        <div align="right">
                            <strong>企业邀请函：</strong></div>
                    </td>
                    <td width="91%">
                        <asp:FileUpload ID="FileUpload3" runat="server" Width="311px" />
                        仅支持Doc文档的上传（Word文档）。新增招聘会时不能为空。</td>
                </tr>
                <tr class='tdbg'>
                    <td width="9%">
                        <div align="right">
                            <strong>展会日期：</strong></div>
                    </td>
                    <td width="91%">
                        <asp:TextBox ID="start_time" runat="server" onClick="WdatePicker()"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="start_time"
                            ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr class='tdbg'>
                    <td width="9%">
                        <div align="right">
                            <strong>展会地址：</strong></div>
                    </td>
                    <td width="91%">
                        <asp:TextBox ID="TextBox2" runat="server" Width="300"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox2"
                            ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr class='tdbg'>
                    <td width="9%">
                        <div align="right">
                            <strong>乘车路线：</strong></div>
                    </td>
                    <td width="91%">
                        <asp:TextBox ID="TextBox3" runat="server" Width="300"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox3"
                            ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr class='tdbg'>
                    <td width="9%">                        
                    </td>
                    <td width="91%">
                        <asp:Button ID="LookCode_Button" runat="server" Text=" 保存资料 " OnClick="LookCode_Button_Click" />
                    </td>
                </tr>
            </table>            
        </div>
    </form>
</body>
</html>
