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

<!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>
    <meta name="Keywords" content="<%=Application["PageKeywords"] %>" />
    <meta name="Description" content="<%=Application["Pagede"] %>" />
    <link href="../images/Admin_Style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
    function showtable(n) {
        for(var i=1;i<=5;i++){
            document.getElementById("table_"+i).style.display='none';
            if(n == i){
                document.getElementById("table_"+i).style.display='block';
            }
        }		
	}
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div>            
            <table align="center" border="0" cellpadding="2" cellspacing="1" class="border" width="100%">
                <tr class="topbg">
                    <td colspan="2" height="22">
                        <table width="100%">
                            <tr class="topbg">
                                <td align="center">
                                    <b>系 统 基 本 设 置</b></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td height="30" style="width: 88px">
                        <strong>管理导航：</strong></td>
                    <td class="dh">                    
                        <a href="###" onclick="showtable(1);">网站基本设置</a> | <a href="###" onclick="showtable(2);">页面UI及安全设置</a>
                        | <a href="###" onclick="showtable(3);">上传文件大小设置</a> | <a href="###" onclick="showtable(4);">上传网站Logo图片</a> | <a href="###" onclick="showtable(5)">QQ整合登录</a></td>
                </tr>
            </table>
            <br />
            <table id="table_1" width='100%' border='0' align='center' cellpadding='5' cellspacing='1'
                class='border' style="display: block;">
                <tr class='tdbg'>
                    <td width="25%">
                        <div align="right">
                            <strong>系统名称：<br />
                            </strong><span style="color: #ff0000">用于描述title的部分</span></div>
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="TextBox1" runat="server" Width="207px" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                            ErrorMessage="系统名称不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr class='tdbg'>
                    <td>
                        <div align="right">
                            <strong>系统名称（副）：</strong><br /><span style="color: #ff0000">用于描述title的部分</span></div>
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="TextBox1_1" runat="server" Width="207px" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox1_1"
                            ErrorMessage="系统名称不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr class='tdbg'>
                    <td>
                        <div align="right">
                            <strong>网站地址：</strong></div>
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="TextBox4" runat="server" Width="207px" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox4"
                            ErrorMessage="网站地址不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr class='tdbg'>
                    <td>
                        <div align="right">
                            <strong>网站邮件：</strong></div>
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="TextBox5" runat="server" Width="207px" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox5"
                            ErrorMessage="网站地址不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox5"
                            ErrorMessage="请填写电子邮箱" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
                </tr>
                <tr class='tdbg'>
                    <td>
                        <div align="right">
                            <strong>系统描述：<br />
                            </strong><span class="style4">用于描述description的内容</span></div>
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="TextBox2" runat="server" Height="83px" TextMode="MultiLine" Width="506px"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td>
                        <div align="right">
                            <strong>系统关键字：<br />
                            </strong><span class="style4">用于描述keywords的内容</span></div>
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="TextBox3" runat="server" TextMode="MultiLine" Height="98px" Width="506px"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td>
                        <div align="right">
                            <strong>企业注册是否默认通过审核：</strong></div>
                    </td>
                    <td width="19%">
                        <asp:RadioButtonList ID="RBisPast" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Selected="True">是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </asp:RadioButtonList></td>
                    <td width="56%">
                        <strong>注册附送：
                            <asp:TextBox ID="addgolddl" runat="server" Width="42px" onkeyup="if(isNaN(value))execCommand('undo')"></asp:TextBox>
                            点数</strong></td>
                </tr>
                <tr class='tdbg'>
                    <td>
                        <div align="right">
                            <strong>是否显示未审核企业：</strong></div>
                    </td>
                    <td colspan="2">
                        <asp:RadioButtonList ID="RBisPastShow" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Selected="true">显示</asp:ListItem>
                            <asp:ListItem>不显示</asp:ListItem>
                        </asp:RadioButtonList>
                        (管理员无此限制)</td>
                </tr>
                <tr class='tdbg'>
                    <td>
                        <div align="right">
                            <strong>默认显示套餐/VIP企业联系方式：</strong></div>
                    </td>
                    <td colspan="2">
                        <asp:RadioButtonList ID="showlxfs" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Selected="true" Value="1">显示</asp:ListItem>
                            <asp:ListItem Value="0">不显示</asp:ListItem>
                        </asp:RadioButtonList>
                        <span class="style4">*无需登陆时的查看状态。仿51job设置，让企业和求职者之间能更加效率的沟通工作。</span></td>
                </tr>
                <tr class='tdbg'>
                    <td>
                        <div align="right">
                            <strong>企业发布招聘信息是否扣点数：</strong></div>
                    </td>
                    <td colspan="2">
                        <asp:RadioButtonList ID="GiveMoney" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Selected="True" Value="1">扣点</asp:ListItem>
                            <asp:ListItem Value="0">不扣点</asp:ListItem>
                        </asp:RadioButtonList>&nbsp; <span class="style4">*默认扣点方式为1天/1点</span></td>
                </tr>
                <tr class='tdbg'>
                    <td>
                        <div align="right">
                            <strong>企业查看个人简历是否扣点数：</strong></div>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="LookMoney" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Value="1">扣点</asp:ListItem>
                            <asp:ListItem Selected="True" Value="0">不扣点</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    <td>
                        <strong>自动扣除：
                            <asp:TextBox ID="LookMoney_Text" onkeyup="if(isNaN(value))execCommand('undo')" runat="server"
                                Width="42px"></asp:TextBox>点数</strong>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td align="right">
                        <strong>短信用户名整合接口：</strong></td>
                    <td colspan="2">
                        <asp:TextBox ID="sitekey" MaxLength="10" runat="server"></asp:TextBox>
                            <span style="color: #ff0000">*请输入您在短信平台注册的用户名，绑定在人才系统网站里面，保证短信的正常使用。</span></td>
                </tr>
                <tr class="tdbg">
                    <td>
                    </td>
                    <td colspan="2">
                        <asp:Button ID="Button1" runat="server" Text="保 存" OnClick="Button1_Click" /></td>
                </tr>
            </table>            
            <table id="table_2" width='100%' border='0' align='center' cellpadding='5' cellspacing='1'
                class='border' style="display: none">
                <tr class='tdbg'>
                    <td width="23%" align="right">
                        <strong>网站整体CSS风格地址：</strong></td>
                    <td width="77%">
                        <asp:DropDownList ID="style_url" runat="server">
                            <asp:ListItem Value="/images/style.css">蓝色样式</asp:ListItem>
                            <asp:ListItem Value="/images/style_Yellow/style.css">橙色样式</asp:ListItem>
                        </asp:DropDownList>
                </tr>
                <tr class='tdbg'>
                    <td width="23%" align="right">
                        <strong>是否显示404错误页面：</strong></td>
                    <td width="77%">
                        <asp:RadioButtonList ID="RBL404" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="On" Selected="True">如出错将显示404页面</asp:ListItem>
                            <asp:ListItem Value="Off">如出错将显示程序核心错误信息</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>
                <tr class='tdbg'>
                    <td width="23%" align="right">
                        <strong>主页新闻显示列表：</strong></td>
                    <td width="77%">
                        <asp:TextBox ID="default_newCount" Width="47px" runat="server" MaxLength="2" Text="10"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right">
                        <strong>主页图文企业招聘：</strong></td>
                    <td>
                        <asp:TextBox ID="default_qyimg" Width="47px" runat="server" MaxLength="2" Text="20"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right">
                        <strong>主页知名企业招聘：</strong></td>
                    <td>
                        <asp:TextBox ID="default_qyvip" Width="47px" runat="server" MaxLength="2" Text="20"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right">
                        <strong>主页普通企业招聘：</strong></td>
                    <td>
                        <asp:TextBox ID="default_qy" Width="47px" runat="server" MaxLength="2" Text="40"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right" style="height: 16px">
                        <strong>主页推荐简历列表：</strong></td>
                    <td style="height: 16px">
                        <asp:TextBox ID="default_HotJL" Width="47px" runat="server" MaxLength="2" Text="10"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right">
                        <strong>主页自荐人才列表：</strong></td>
                    <td>
                        <asp:TextBox ID="default_Hotrc" Width="47px" runat="server" MaxLength="2" Text="10"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right">
                        <strong>主页最新求职列表：</strong></td>
                    <td>
                        <asp:TextBox ID="default_rc" Width="47px" runat="server" MaxLength="2" Text="12"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right">
                        <strong>紧急职位列表：</strong></td>
                    <td>
                        <asp:TextBox ID="urgent" Width="47px" runat="server" MaxLength="2" Text="6"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right">
                        <strong>普通企业最大发布职位数：</strong></td>
                    <td>
                        <asp:TextBox ID="puMaxZW" Width="47px" runat="server" MaxLength="2" Text="3"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right">
                        <strong>热线电话：</strong></td>
                    <td>
                        <asp:TextBox ID="Phone" Width="94px" MaxLength="12" runat="server" Text="135-74574855"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right">
                        <strong>FMS视频流服务器路径设置：</strong></td>
                    <td>
                        <asp:TextBox ID="FMSURL" Width="400px" runat="server" Text="6"></asp:TextBox></td>
                </tr>
                <tr class='tdbg'>
                    <td align="right">&nbsp;
                        
                    </td>
                    <td>
                        <asp:Button ID="Button2" runat="server" Text="保 存" OnClick="Button2_Click" /></td>
                </tr>
            </table>
            <table id="table_3" width='100%' border='0' align='center' cellpadding='5' cellspacing='1'
                class='border' style="display: none">
                <tr class="tdbg">
                    <td colspan="2" style="padding-left:136px; font-family:Verdana, Geneva, sans-serif; font-size:14px; color:Red">
                        填写的内容只能是正整数，单位为字节。换算方式：1KB=1024字节；1MB=1024KB=1048576字节。</td>
                </tr>
                <tr class='tdbg'>
                    <td width="306" align="right" style="width: 248px">
                        <strong>上传个人照片大小：</strong></td>
                    <td width="921">
                        <asp:TextBox ID="PersonSize" Width="84px" runat="server" Text="51200" onkeyup="if(isNaN(value))execCommand('undo')" ></asp:TextBox>字节，默认51200字节
                        = 50KB。</td>
                </tr>
                <tr class='tdbg'>
                  <td align="right" style="width: 248px"><strong>上传企业Loog图片大小：</strong></td>
                  <td><asp:TextBox ID="CompanyLogo" Width="84px" runat="server" Text="51200" onkeyup="if(isNaN(value))execCommand('undo')" ></asp:TextBox>字节，默认51200字节
                      = 50KB。</td>
                </tr>
                <tr class='tdbg'>
                  <td align="right"><strong>上传企业营业执照大小：</strong></td>
                  <td><asp:TextBox ID="CompanyYYZZ" Width="84px" runat="server" Text="51200" onkeyup="if(isNaN(value))execCommand('undo')" ></asp:TextBox>字节，默认51200字节
                      = 50KB。</td>
                </tr>
                <tr class='tdbg'>
                  <td align="right"><strong>上传企业视频文件大小：</strong></td>
                  <td><asp:TextBox ID="CompanyFlv" Width="84px" runat="server" Text="3145728" onkeyup="if(isNaN(value))execCommand('undo')" ></asp:TextBox>字节，默认3145728字节
                      = 3MB。</td>
                </tr>
                <tr class='tdbg'>
                  <td align="right"></td>
                  <td>
                      <asp:Button ID="Button3" runat="server" Text="保 存" OnClick="Button3_Click" /></td>
                </tr>
            </table>
            <table id="table_4" width='100%' border='0' align='center' cellpadding='5' cellspacing='1'
                class='border' style="display: none">
                <tr class='tdbg'>
                    <td width="306" align="right" style="width: 248px">
                        <strong>网站Logo图片：</strong></td>
                    <td width="921">
                        <asp:FileUpload ID="FileUpload1" runat="server" Width="379px" /><br />
                        Logo图片大小为：290*78、Gif格式。<br />
                        <span class="style4">手动上传法：</span>网站<span class="style4">Logo</span>请修改图片<strong>../images/title.gif(蓝色风格) 或 ../images/style_Yellow/title.gif(橙色风格)</strong>
            即可。</td>
                </tr>
                <tr class='tdbg'>
                  <td align="right"></td>
                  <td>
                      <asp:Button ID="Button4" runat="server" Text="上 传" OnClick="Button4_Click" /></td>
                </tr>
            </table>
            
            <table id="table_5" width='100%' border='0' align='center' cellpadding='5' cellspacing='1'
                class='border' style="display: none">
                <tr class='tdbg'>
                    <td width="306" align="right" style="width: 248px">
                        <strong>APP ID：</strong></td>
                    <td width="921">
                        <asp:TextBox ID="QQID" runat="server" Width="300"></asp:TextBox>
                    </td>
                </tr>
                <tr class='tdbg'>
                    <td width="306" align="right" style="width: 248px">
                        <strong>Key：</strong></td>
                    <td width="921">
                        <asp:TextBox ID="QQKey" runat="server" Width="300"></asp:TextBox>
                    </td>
                </tr>
                <tr class='tdbg'>
                  <td align="right"></td>
                  <td>
                      <asp:Button ID="QQButton" runat="server" Text="确认绑定QQ登录" 
                          onclick="QQButton_Click" /></td>
                </tr>
            </table>
            </div>
    </form>
</body>
</html>
