<%@ page language="C#" masterpagefile="~/SiteServer/MasterPage/PageTemplate.Master" autoeventwireup="true" inherits="SiteServer_SystemConfig_SystemInfoConfig, v5star.Web" validaterequest="false" theme="Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <aspx:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server" HeadOPTxt="编辑"
        HeadTitleTxt="系统基本配置">
    </aspx:HeadMenuWebControls>

    <script type="text/javascript">
    function SelectColor(sEL,form){
    var dEL = document.all(sEL);
    var url = 'SelColor.htm?color='+encodeURIComponent(sEL);
    var arr = showModalDialog(url,window,'dialogWidth:280px;dialogHeight:250px;help:no;scroll:no;status:no');
    if (arr) {
        form.value=arr;
        sEL.style.backgroundColor=arr;
        form.style.backgroundColor=arr;
        form.style.color=arr;
    }
}
    </script>

    <aspx:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <aspx:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="网站基本配置">
            <table width="100%" border="0" cellspacing="1" cellpadding="3">
                <tr>
                    <td style="width: 15%" class="table_body" align="right">
                        网站名称：</td>
                    <td style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtSiteName" runat="server"></asp:TextBox>
                    </td>
                    <td class="table_body" align="right">
                        网址：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtDomain" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_body" align="right">
                        网站Logo：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtLogo" runat="server"></asp:TextBox>
                    </td>
                    <td class="table_body" align="right">
                        网站banner：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtBanner" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_body" align="right">
                        ICP备案号：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtIcp" runat="server"></asp:TextBox></td>
                    <td class="table_body" align="right">
                        （暂留）网站开关：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow" title="关闭后网站不能访问。">
                            <asp:ListItem Selected="True" Value="True">开启</asp:ListItem>
                            <asp:ListItem Value="False">关闭</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>
                <tr>
                    <td class="table_body" align="right">
                        地址：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtAddr" runat="server"></asp:TextBox>
                    </td>
                    <td class="table_body" align="right">
                        邮编：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtPassport" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_body" align="right">
                        联系电话：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtTel" runat="server"></asp:TextBox>
                    </td>
                    <td class="table_body" align="right">
                        传真：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtFax" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_body" align="right">
                        手机：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtMp" runat="server"></asp:TextBox></td>
                    <td class="table_body" align="right">
                        联系邮箱:</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="table_body" align="right">
                        SMTP服务器：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtSMTPserver" runat="server" title="如：smtp.163.com"></asp:TextBox>
                    </td>
                    <td class="table_body" align="right">
                        SMTP端口:</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtSMTPport" runat="server" title="如：25"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_body" align="right">
                        系统邮件:</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtEmailuser" runat="server" title="如：xxx@163.com"></asp:TextBox>
                    </td>
                    <td class="table_body" align="right">
                        用户名:</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtEmailusername" runat="server" title="登录上面设置的smtp服务器的用户名:如:username"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="table_body" align="right">
                        登陆密码:</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtEmailuserpwd" runat="server"></asp:TextBox>
                    </td>
                    <td class="table_body" align="right">
                        标题附加关键字:</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtTitle_Add" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body">
                        MetaDescription描述:</td>
                    <td class="table_none table_none_NoWidth" colspan="3">
                        <asp:TextBox ID="txtMetaDescription" runat="server" Rows="3" TextMode="MultiLine" Width="280px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body">
                        MetaKeywords关键字:</td>
                    <td class="table_none table_none_NoWidth" colspan="3">
                        <asp:TextBox ID="txtMetaKeywords" runat="server" Rows="3" TextMode="MultiLine" Width="280px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body">
                        版权说明:</td>
                    <td class="table_none table_none_NoWidth" colspan="3">
                        <asp:TextBox ID="txtCopyright" runat="server" TextMode="MultiLine" Rows="3" Width="280px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="table_body">
                        在线客服代码：</td>
                    <td class="table_none table_none_NoWidth" colspan="3">
                        <asp:TextBox ID="txtOnLinekf" runat="server" Rows="3" TextMode="MultiLine" Width="280px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="4">
                        <br />
                        <asp:Button ID="Button1" runat="server" Text="保 存" CssClass="button_bak" OnClick="Button1_Click" /></td>
                </tr>
            </table>
        </aspx:TabOptionItem>
        <aspx:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="上传配置">
            <table align="center" border="0" cellpadding="3" cellspacing="1" width="100%">
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        图片保存路径：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_imgpath" runat="server"></asp:TextBox>相对路径</td>
                    <td align="right" class="table_body">
                        其他文件保存路径：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_otherpath" runat="server"></asp:TextBox>相对路径</td>
                </tr>
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        水印功能：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:RadioButtonList ID="rb_NoAndOff" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="true">启用</asp:ListItem>
                            <asp:ListItem Value="false" Selected="True">禁用</asp:ListItem>
                        </asp:RadioButtonList></td>
                    <td align="right" class="table_body">
                        自定义文字水印阴影深度<span style="color: #ff0000">X</span>轴：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_ShadowX" runat="server" Width="45px"></asp:TextBox>像素</td>
                </tr>
                <tr style="color: #000000">
                    <td align="right" style="width: 15%" class="table_body">
                        水印类型：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:RadioButtonList ID="rb_PicAndText" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="pic">图片</asp:ListItem>
                            <asp:ListItem Value="text" Selected="True">文字</asp:ListItem>
                        </asp:RadioButtonList></td>
                    <td align="right" class="table_body">
                        自定义文字水印阴影深度<span style="color: #ff0000">Y</span>轴：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_ShadowY" runat="server" Width="45px"></asp:TextBox>像素</td>
                </tr>
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        水印图片路径：
                    </td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_picpath" runat="server"></asp:TextBox></td>
                    <td align="right" class="table_body">
                        自定义水印位置<span style="color: #ff0000">X</span>轴：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_PlaceX" runat="server" Width="45px"></asp:TextBox>像素</td>
                </tr>
                <tr style="color: #000000">
                    <td align="right" style="width: 15%" class="table_body">
                        水印文字：</td>
                    <td style="width: 30%" class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_WM_Text" runat="server"></asp:TextBox></td>
                    <td align="right" class="table_body">
                        自定义水印位置<span style="color: #ff0000">Y</span>轴：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_PlaceY" runat="server" Width="45px"></asp:TextBox>像素</td>
                </tr>
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        上传大小：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_size" runat="server" Width="49px"></asp:TextBox>kb</td>
                    <td align="right" class="table_body">
                        是否生成缩略图：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:CheckBox ID="IsThumbNail" runat="server" Text="是" /></td>
                </tr>
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        水印位置：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:DropDownList ID="ddl_Location" runat="server">
                            <asp:ListItem Value="LeftTop">左上角</asp:ListItem>
                            <asp:ListItem Value="LeftBottom">左下角</asp:ListItem>
                            <asp:ListItem Value="Center">居中</asp:ListItem>
                            <asp:ListItem Value="RightTop">右上角</asp:ListItem>
                            <asp:ListItem Value="RightBottom">右下角</asp:ListItem>
                            <asp:ListItem Value="CenterTop">上居中</asp:ListItem>
                            <asp:ListItem Value="CenterBottom">下居中</asp:ListItem>
                            <asp:ListItem Value="CenterLeft">左居中</asp:ListItem>
                            <asp:ListItem Value="CenterRight">右居中</asp:ListItem>
                        </asp:DropDownList></td>
                    <td align="right" class="table_body">
                        自定义缩略图宽度：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_MinWidth" runat="server" Width="45px"></asp:TextBox>像素（0为自适应）</td>
                </tr>
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        透明度：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_Transparence" runat="server" onkeypress="if (event.keyCode < 48 || event.keyCode >57) event.returnValue = false;"
                            Width="35px" MaxLength="3" Height="20px"></asp:TextBox>% <span style="color: #ff0000;
                                font-size: 8pt">* 最大值为100</span></td>
                    <td align="right" class="table_body">
                        自定义缩略图高度：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_MinHeight" runat="server" Width="45px"></asp:TextBox>像素（0为自适应）</td>
                </tr>
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        旋转角度：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_Angle" runat="server" onkeypress="if (event.keyCode < 48 || event.keyCode >57) event.returnValue = false;"
                            Width="35px" MaxLength="3" Height="20px" title="取0到360度之间的绝对值">度 0~360°></asp:TextBox></td>
                    <td align="right" class="table_body">
                        自定义生成水印图片宽度：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_ZipWidth" runat="server" Width="45px"></asp:TextBox>像素</td>
                </tr>
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        水印字体：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:DropDownList ID="ddl_font" runat="server">
                        </asp:DropDownList></td>
                    <td align="right" class="table_body">
                        自定义生成水印图片高度：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_ZipHeight" runat="server" Width="45px"></asp:TextBox>像素</td>
                </tr>
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        文字大小：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_FontSize" runat="server" onkeypress="if (event.keyCode < 48 || event.keyCode >57) event.returnValue = false;"
                            Width="35px" MaxLength="3" Height="20px"></asp:TextBox>号</td>
                    <td align="right" class="table_body">
                        文字颜色：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_FontColor" runat="server" MaxLength="7" Style="cursor: default"
                            Width="35px"></asp:TextBox>
                        <img id="Img2" src="../../Images/color1.gif" border="0" alt="选择颜色" onmouseover="src='../../Images/color2.gif'"
                            onmouseout="src='../../Images/color1.gif'" style="cursor: default; position: absolute;
                            vertical-align: middle;" onclick='SelectColor(this,ctl00_PageBody_tb_FontColor)' />
                    </td>
                </tr>
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        文字形状：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:DropDownList ID="ddl_Form" runat="server">
                        </asp:DropDownList></td>
                    <td align="right" class="table_body">
                        设置生成图片效果：</td>
                    <td style="font-weight: bold" class="table_none table_none_NoWidth">
                        <asp:DropDownList ID="DropDownList1" runat="server">
                            <asp:ListItem Value="0">原图</asp:ListItem>
                            <asp:ListItem Value="1">黑白图</asp:ListItem>
                            <asp:ListItem Value="2">负片图</asp:ListItem>
                            <asp:ListItem Value="3">水印图</asp:ListItem>
                            <asp:ListItem Value="4">水印黑白图</asp:ListItem>
                            <asp:ListItem Value="5">水印负片图</asp:ListItem>
                            <asp:ListItem Value="6">黑白水印图</asp:ListItem>
                            <asp:ListItem Value="7">负片水印图</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" style="width: 15%" class="table_body">
                        阴影颜色：</td>
                    <td align="right" style="text-align: left; width: 30%;" class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_FontShadow" runat="server" MaxLength="7" Style="cursor: default"
                            Width="35px"></asp:TextBox>
                        <img id="Img1" src="../../Images/color1.gif" border="0" alt="选择颜色" onmouseover="src='../../Images/color2.gif'"
                            onmouseout="src='../../Images/color1.gif'" style="cursor: default; position: absolute;"
                            onclick='SelectColor(this,ctl00_PageBody_tb_FontShadow)' />
                    </td>
                    <td align="right" class="table_body">
                        去水印图片底色：</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="tb_groundcolor" runat="server" MaxLength="7" Style="cursor: default"
                            Width="35px" Height="22px"></asp:TextBox>
                        <img id="selectcolor" src="../../Images/color1.gif" border="0" alt="选择颜色" onmouseover="src='../../Images/color2.gif'"
                            onmouseout="src='../../Images/color1.gif'" style="cursor: default; position: absolute;"
                            onclick='SelectColor(this,ctl00_PageBody_tb_groundcolor)' />
                    </td>
                </tr>
                <tr align="center" class="tablefoot">
                    <td colspan="4" height="25">
                        <asp:Button ID="But_Save" runat="server" Text="保存设置" OnClick="But_Save_Click1" CssClass="button_bak" /></td>
                </tr>
            </table>
        </aspx:TabOptionItem>
    </aspx:TabOptionWebControls>
</asp:Content>
