<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SysConfig.aspx.cs" Inherits="WstWeb.Admin.Basic.SysConfig" %>

<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <script src="../Js/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../Js/easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../Js/easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../Js/PublicComm.js" type="text/javascript"></script>
    <script src="../Js/WinFuns.js" type="text/javascript"></script>
    <script src="../Js/pageloader.js" type="text/javascript"></script>
    <script src="../kindeditor/kindeditor-min.js" type="text/javascript"></script>
    <script src="../kindeditor/lang/zh_CN.js" type="text/javascript"></script>
    <script src="../Js/CommonHtmlEditInit.js" type="text/javascript"></script>
    <script type="text/javascript">
        var editor;
        KindEditor.ready(function (K) {
            editor = K.create('textarea[id="txtWebFootInfo"]', _kindeditoritemsJson);
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="ctright">
        <div class="map">
            <h3>
                <strong class="left">网站配置</strong><strong class="right search_icon"><a href="JavaScript:void(0)"
                    onclick="EditInfo(-1)"></a></strong></h3>
        </div>
        <div class="formclum">
        </div>
        <div class="form">
            <table class="table1" width="100%" border="1" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td width="160" bgcolor="f1f7fc">
                            <span class="mag">网站Logo：</span>
                        </td>
                        <td>
                            &nbsp;<img src="../images/nopic.gif" id="logoimg"  runat="server" />
                            <br />
                            &nbsp;<asp:FileUpload ID="filelogo" Width="290px" runat="server" />
                            <asp:Button ID="Button3" runat="server" Text="点击上传" OnClick="Button3_Click"/>
                        </td>
                    </tr>
                    <tr>
                        <td width="160" bgcolor="f1f7fc">
                            <span class="mag">网站名称：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtWebName" CssClass="inp1" runat="server" MaxLength="300" Width="250"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">网站域名：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtWebUrl" CssClass="inp1" runat="server" MaxLength="100" Width="250"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">网站形象照：</span>
                        </td>
                        <td>
                            &nbsp;<img src="../images/nopic.gif" id="imgPicurl" width="120" height="100" runat="server" />
                            <br />
                            &nbsp;<asp:FileUpload ID="FileLoUrl" Width="290px" runat="server" />
                            <asp:Button ID="Button1" runat="server" Text="点击上传" OnClick="Button1_Click" />
                            大小建议：83*83
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">备案号：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtBackNumber" CssClass="inp1" runat="server" MaxLength="100" Width="250"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">首页公司简介显示字数：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtHomCorpTextNum" CssClass="inp1" runat="server" MaxLength="4"
                                Width="120"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">首页新闻页显示记录数：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtNewsShowNum" CssClass="inp1" runat="server" MaxLength="4" Width="120"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">首页产品页显示记录数：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtProductShowNum" CssClass="inp1" runat="server" MaxLength="4"
                                Width="120"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">网站底部信息：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtWebFootInfo" CssClass="inp1" runat="server" TextMode="MultiLine"
                                Width="750" Height="80"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">流量统计代码：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtStatScript" CssClass="inp1" runat="server" TextMode="MultiLine"
                                Width="600" Height="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">公司地址：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCorpAddress" CssClass="inp1" runat="server" MaxLength="300" Width="250"></asp:TextBox>
                        </td>
                    </tr>
                    <tr style="display: none">
                        <td bgcolor="f1f7fc">
                            <span class="mag">经度 & 纬度：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtMapX" CssClass="inp1" Enabled="false" runat="server" MaxLength="20"
                                Width="120"></asp:TextBox>
                            &
                            <asp:TextBox ID="txtMapY" CssClass="inp1" Enabled="false" runat="server" MaxLength="20"
                                Width="120"></asp:TextBox>
                            &nbsp;&nbsp;&nbsp;<asp:Button ID="Button2" runat="server" Text="选择" />
                        </td>
                    </tr>
                    <tr style="display: none">
                        <td bgcolor="f1f7fc">
                            <span class="mag">比例尺级别：</span>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlMapRate" CssClass="inp1" runat="server" Width="120">
                                <asp:ListItem Value="1" Text="1"></asp:ListItem>
                                <asp:ListItem Value="2" Text="2"></asp:ListItem>
                                <asp:ListItem Value="3" Text="3"></asp:ListItem>
                                <asp:ListItem Value="4" Text="4"></asp:ListItem>
                                <asp:ListItem Value="5" Text="5"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr style="display: none">
                        <td bgcolor="f1f7fc">
                            <span class="mag">标注信息：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtMapShowTip" CssClass="inp1" runat="server" MaxLength="150" Width="250"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">是否开启301重定向：</span>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlReEn301" CssClass="inp1" runat="server" Width="120">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0" Selected="True">否</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="f1f7fc">
                            <span class="mag">是否开启伪静态：</span>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlHtmlType" CssClass="inp1" runat="server" Width="120">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0" Selected="True">否</asp:ListItem>
                            </asp:DropDownList>
                            <font color="red">伪静态空间服务需要支持ISAPI_Rewrite</font>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Button ID="btnSave" runat="server" CssClass="button3" Text="" OnClick="btnSave_Click" />
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <input type="hidden" id="hdnId" runat="server" />
    </form>
</body>
</html>
