<%@ Page Language="C#" MasterPageFile="../Admin.Master" AutoEventWireup="true" ValidateRequest="false"
    CodeBehind="Config.aspx.cs" Inherits="ETongJin.YM.Web.Admin.Config1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="tableBorder" border="0" cellpadding="0" cellspacing="1">
        <tr>
            <th colspan="2" class="ym12_bti">
                网站基本参数配置
            </th>
        </tr>
        <tr>
            <td width="150" class="td2">
                站点名称：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtSiteName" runat="server" CssClass="ym12_input"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                站点标题：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtSiteTitle" runat="server" CssClass="ym12_input4"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                SEO关键词：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtKeyWords" runat="server" CssClass="ym12_input4"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2" style="height: 7px">
                SEO网页描述：
            </td>
            <td class="td1" style="height: 7px">
                <asp:TextBox ID="txtDescription" runat="server" CssClass="ym12_input4"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                网站地址：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtSiteUrl" runat="server" CssClass="ym12_input">http://</asp:TextBox>
                例如：http://www.12ym.com
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                LOGO地址：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtLogoUrl" runat="server" CssClass="ym12_input"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                模板风格：
            </td>
            <td class="td1">
                <asp:DropDownList ID="ddltemplate" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                ICP：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtICP" runat="server" CssClass="ym12_input"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                <span class="td2">网站相关版权信息：</span>
            </td>
            <td class="td1">
                <asp:TextBox ID="txtCopyRight" runat="server" TextMode="MultiLine" Rows="4" CssClass="ym12_input4"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                管理员信息：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtWebMasterName" runat="server" TextMode="MultiLine" Rows="4" CssClass="ym12_input4"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                第三方统计代码：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtStatistics" runat="server" TextMode="MultiLine" Rows="4" CssClass="ym12_input4"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                首页自动生成：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtAutoIndex" runat="server" CssClass="ym12_input" Width="56px"></asp:TextBox>
                &nbsp;分钟
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                列表页自动生成：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtAutoList" runat="server" CssClass="ym12_input" Width="52px"></asp:TextBox>
                &nbsp;分钟
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                是否生成静态页面：
            </td>
            <td class="td1">
                <asp:RadioButtonList ID="rblIsHtml" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1">生成静态</asp:ListItem>
                    <asp:ListItem Value="0">不生成静态</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                静态页面存放的目录：
            </td>
            <td class="td1">
                <asp:TextBox ID="txtHtmlPath" runat="server" CssClass="ym12_input" Width="252px">/</asp:TextBox>
                <br />
                &quot;/&quot;表示根目录,如果存放于子文件夹，请以&nbsp;&quot;/&quot;结尾，如：&nbsp;&quot;/html/&quot;。
            </td>
        </tr>
        <tr>
            <td width="150" class="td2" colspan="2">
                图片水印的相关设置:
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                水印类型：
            </td>
            <td class="td1">
                <asp:RadioButtonList ID="watermarktype" runat="server" EnableViewState="False" RepeatDirection="Horizontal">
                    <asp:ListItem Value="-1">无水印</asp:ListItem>
                    <asp:ListItem Value="0">文字水印</asp:ListItem>
                    <asp:ListItem Selected="True" Value="1">图片水印</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                文字水印的内容：
            </td>
            <td class="td1">
                <asp:TextBox ID="watermarktext" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                文字水印的字体：
            </td>
            <td class="td1">
                <asp:DropDownList ID="watermarkfontname" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                文字水印的文字大小：
            </td>
            <td class="td1">
                <asp:TextBox ID="watermarkfontsize" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                水印图片的路径：
            </td>
            <td class="td1">
                <asp:TextBox ID="watermarkpic" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                jpg图片质量：
            </td>
            <td class="td1">
                <asp:TextBox ID="attachimgquality" runat="server"></asp:TextBox>
                <br />
                <span class="HTML_TXT"><span class="HTML_TAG"><span class="HTML_VAL">本设置只适用于加水印的jpeg格式图片.取值范围
                    0-100, 0质量最低, 100质量最高, 默认80'</span></span></span>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                图片水印透明度：
            </td>
            <td class="td1">
                <asp:TextBox ID="watermarktransparency" runat="server"></asp:TextBox>
                <br />
                <span class="HTML_TXT"><span class="HTML_TAG"><span class="HTML_VAL">取值范围1--10 (10为不透明).</span></span></span>
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                选择水印的位置：
            </td>
            <td class="td1">
                <asp:Literal ID="position" runat="server"></asp:Literal>
                <br />
                请在此选择水印添加的位置(共 9 个位置可选).添加水印暂不支持动画 GIF 格式.
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                &nbsp;
            </td>
            <td class="td1">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td width="150" class="td2">
                &nbsp;
            </td>
            <td class="td1">
                &nbsp;
            </td>
        </tr>
        <tr>
            <th colspan="2" style="text-align: center; height: 40px">
                <asp:Button ID="Button1" runat="server" Text=" 确认更新 " OnClick="Button1_Click" CssClass="button4" />
            </th>
        </tr>
    </table>
</asp:Content>
