<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="YC_Config.aspx.cs"
    Inherits="YCHR.Web.admin.YC_Config" %>

<!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 rel="stylesheet" href="../images/style.css" type="text/css" />
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript" src="../js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../js/messages_cn.js"></script>
    <script type="text/javascript" src="../js/cursorfocus.js"></script>
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
        });

        //Tab控制函数
        function tabs(tabId, tabNum) {
            //设置点击后的切换样式
            $(tabId + " .tab_nav li").removeClass("selected");
            $(tabId + " .tab_nav li").eq(tabNum).addClass("selected");
            //根据参数决定显示内容
            $(tabId + " .panels").hide();
            $(tabId + " .panels").eq(tabNum).show();
        }
    </script>
    <style type="text/css">
        .checkbox
        {
            height: 14px;
        }
        .radio, .checkbox
        {
            border: none;
            background: none;
            vertical-align: middle;
        }
    </style>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <b>您当前的位置：首页 &gt; 系统管理 &gt; 系统参数设置</b></div>
    <div style="padding-bottom: 10px;">
    </div>
    <div id="contentTab">
        <ul class="tab_nav">
            <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">网站基本信息</a></li>
            <li><a onclick="tabs('#contentTab',1);" href="javascript:void(0);">功能权限配置</a></li>
            <li><a onclick="tabs('#contentTab',2);" href="javascript:void(0);">企业功能配置</a></li>
        </ul>
        <div class="panels" style="display: block;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                    <tr>
                        <td width="25%" class="wleft" align="right">
                            网站名称：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteName" runat="server" CssClass="input required" size="48"
                                MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft" align="right">
                            公司名称：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteCompany" runat="server" CssClass="input required" size="48"
                                MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            网站域名：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteDomain" runat="server" CssClass="input required" size="48"
                                MaxLength="100"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            安装目录：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSitePath" runat="server" CssClass="input required" size="25"
                                MaxLength="20"></asp:TextBox>
                        </td>
                    </tr>
                    <tr style="display:none;">
                        <td class="wleft">
                            管理目录：
                        </td>
                        <td>
                            <asp:TextBox ID="txtsiteAdminPath" runat="server" CssClass="input required" size="25"
                                MaxLength="20"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            模板主题：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSitetemplatetheme" runat="server" CssClass="input required" size="25"
                                MaxLength="50" Enabled="False"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            网站备案号：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSitecrod" runat="server" CssClass="input required" size="25"
                                MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            网站标题：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteTitle" runat="server" CssClass="input" Style="width: 300px;"
                                MaxLength="250"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            网站关健字：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteKeywords" runat="server" CssClass="input" Style="width: 300px;"
                                MaxLength="250"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            网站描述：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteDescription" runat="server" CssClass="textarea" Style="width: 350px;
                                height: 65px;" MaxLength="250" TextMode="MultiLine"></asp:TextBox>
                            &nbsp;<label>页面描述(description)</label>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            第三方统计信息
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteCount" runat="server" TextMode="MultiLine" CssClass="textarea"
                                Style="width: 350px; height: 80px;"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            网站版权信息：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSitecopyrigth" runat="server" TextMode="MultiLine" CssClass="textarea"
                                Style="width: 350px; height: 80px;"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            客服QQ：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteQQ" runat="server" CssClass="input" size="25" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            联系电话：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteLinktel" runat="server" CssClass="input" size="25" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            传真号码：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteFax" runat="server" CssClass="input" size="25" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            联系地址：
                        </td>
                        <td>
                            <asp:TextBox ID="txtCompanyAddress" runat="server" CssClass="input" size="25" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="wleft">
                            管理员信箱：<br />
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteEmail" runat="server" CssClass="input" size="25" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="panels" style="display: none;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                    <tr>
                        <td align="right" class="wleft">
                            是否开启URL重写：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="radiostaticstatus" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <asp:ListItem Value="0">关闭</asp:ListItem>
                                <asp:ListItem Selected="True" Value="1">开启</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            URL后缀：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSitestaticextension" runat="server"  CssClass="input required" size="25" MaxLength="8"></asp:TextBox> 
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            是否关闭网站：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="radiositestatus" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <asp:ListItem Value="0">关闭</asp:ListItem>
                                <asp:ListItem Selected="True" Value="1">开启</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            关闭原因：
                        </td>
                        <td>
                            <asp:TextBox ID="txtSiteColsereason" runat="server" CssClass="small" Height="143px"
                                MaxLength="500" TextMode="MultiLine" Width="314px"></asp:TextBox>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="panels" style="display: none;">
            <div class="toptitle">
                基本设置</div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                    <tr>
                        <td align="right" class="wleft">
                            发布招聘默认有效期：
                        </td>
                        <td>
                            <asp:TextBox ID="txtjobdefaultdate" runat="server" CssClass="input  required number"
                                size="25" MaxLength="5"></asp:TextBox> 天
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            招聘有效时间最少为：
                        </td>
                        <td>
                            <asp:TextBox ID="txtjobmindate" runat="server" CssClass="input  required number"
                                size="25" MaxLength="5"></asp:TextBox> 天
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            上传营业执照文件限制：
                        </td>
                        <td>
                            <asp:TextBox ID="txtcompanylisencelength" runat="server" CssClass="input  required number"
                                size="25" MaxLength="5"></asp:TextBox> kb
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            企业LOGO文件限制：
                        </td>
                        <td>
                            <asp:TextBox ID="txtcompanylogolength" runat="server" CssClass="input  required number"
                                size="25" MaxLength="5"></asp:TextBox> kb
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="toptitle">
                查看联系方式设置</div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                    <tr>
                        <td align="right" class="wleft">
                            查看联系方式设置：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="RadioLinkReadStatus" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="toptitle">
                认证与审核状态设置</div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                    <tr>
                        <td align="right" class="wleft">
                            企业认证状态默认为：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="RadioCompanyCertificationStatus" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            修改企业资料后认证状态为：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="RadioCompanyCertificationStatus_mod" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            已认证企业<font color="red"> 发布职位</font>后审核状态为：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            已认证企业<font color="red"> 修改职位</font>后审核状态为：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            未认证企业<font color="red"> 发布职位</font>后审核状态为：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            未认证企业<font color="red"> 修改职位</font>后审核状态为：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="RadioButtonList4" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </tbody>
            </table>
             <div class="toptitle">
                会员设置</div>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                  <tr>
                        <td align="right" class="wleft">
                            会员注册(登录)必须先邮件激活帐号：
                        </td>
                        <td>
                           <asp:RadioButtonList ID="Radioemailcheck" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:RadioButtonList>（如开启，未激活的帐号无法登录）
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="wleft">
                            个人新注册会员：
                        </td>
                        <td>
                           <asp:RadioButtonList ID="Radioregstateps" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                     <tr>
                        <td align="right" class="wleft">
                            企业新注册会员：
                        </td>
                        <td>
                           <asp:RadioButtonList ID="Radioregstatehr" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="toptitle">
                其它设置</div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tbody>
                    <tr>
                        <td align="right" class="wleft">
                            允许公司名重复：
                        </td>
                        <td>
                            <asp:RadioButtonList ID="radiorepeatercompanyname" RepeatDirection="Horizontal"
                                RepeatLayout="Flow" runat="server">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div style="margin-top: 10px; text-align: center;">
            <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
            &nbsp;
            <input name="重置" type="reset" class="submit" value="重置" />
        </div>
    </div>
    </form>
</body>
</html>
