<%@ page language="C#" autoeventwireup="true" inherits="admin_configure, aoshuosoft" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<!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>网站信息配置</title>
    <link href="admin.css" rel="stylesheet" type="text/css" />
</head>
<script language="javascript">
function sy()
{
if(document.getElementById("ms").value=="双语模式")
{
document.getElementById("ms").value="简体中文";
tbtitlel.style.display="";
tburl.style.display="";
tbkeywords.style.display="";
tbdesscription.style.display="";
tbmastername.style.display="";
tbbottom.style.display="";
}
else
{
document.getElementById("ms").value="双语模式";
tbtitlel.style.display="none";
tburl.style.display="none";
tbkeywords.style.display="none";
tbdesscription.style.display="none";
tbmastername.style.display="none";
tbbottom.style.display="none";
}
}
</script>
<body>
    <form id="form1" runat="server">
    <div>
        <table  class="adminmaintable" border="0" cellpadding="3" cellspacing="1">
            <tr>
                <td class="bt" colspan="2" style="height: 35px; text-align: center">
                    网站信息配置(*号为必填项)</td>
            </tr>
            <tr>
                <td style="width: 175px">
                    模式选择：</td>
                <td>
                    <input id="ms" type="button" value="双语模式" onclick="sy()" /></td>
            </tr>
            <tr>
                <td style="width: 175px">
                    网站标题：</td>
                <td  >
                    <asp:TextBox ID="titlel" CssClass="textput" runat="server" Width="216px"></asp:TextBox>*</td>
            </tr>
            <tr class="en" id="tbtitlel" style="display:none;">
                <td style="width: 175px">
                    网站标题（英文）：</td>
                <td>
                    <asp:TextBox ID="entitlel" runat="server" CssClass="entextput" Width="216px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 175px" >
                    网站地址：</td>
                <td >
                    <asp:TextBox ID="url" runat="server" CssClass="textput" Width="216px"></asp:TextBox></td>
            </tr>
            <tr class="en" id="tburl" style="display:none;">
                <td style="width: 175px">
                    网站地址（英文）：</td>
                <td>
                    <asp:TextBox ID="enurl" runat="server" CssClass="entextput" Width="216px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 175px">
                    网站关键词：</td>
                <td>
                <asp:TextBox ID="keywords" runat="server" CssClass="textput" Width="550px" Height="60px" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr class="en" id="tbkeywords" style="display:none;">
                <td style="width: 175px">
                    网站关键词（英文）：</td>
                <td>
                    <asp:TextBox ID="enkeywords" runat="server" CssClass="entextput" Height="60px" TextMode="MultiLine"
                        Width="550px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 175px">
                    网站网页描述：</td>
                <td>
                <asp:TextBox ID="description" runat="server" CssClass="textput" Width="550px" Height="60px" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr class="en" id="tbdesscription" style="display:none;">
                <td style="width: 175px">
                    网站网页描述（英文）：</td>
                <td>
                    <asp:TextBox ID="endescription" runat="server" CssClass="entextput" Height="60px" TextMode="MultiLine"
                        Width="550px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 175px" >
                    站长姓名：</td>
                <td >
                    <asp:TextBox ID="mastername" CssClass="textput" runat="server" Width="216px"></asp:TextBox></td>
            </tr>
            <tr class="en" id="tbmastername" style="display:none;">
                <td style="width: 175px">
                    站长姓名（英文）：</td>
                <td>
                    <asp:TextBox ID="enmastername" runat="server" CssClass="entextput" Width="216px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 175px" >
                    站长邮箱：</td>
                <td  >
                    <asp:TextBox ID="mastermail" CssClass="textput" runat="server" Width="216px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 175px" >
                    是否允许注册：</td>
                <td >
                    <asp:RadioButton ID="regyes"  runat="server" Checked="True" GroupName="0" Text="是" />
                    <asp:RadioButton ID="regno" runat="server" GroupName="0" Text="否" /></td>
            </tr>
            <tr>
                <td style="width: 175px" >
                    网站底部信息：</td>
                <td >
                    <fckeditorv2:fckeditor id="bottom" Width="550px" runat="server"  EnableXHTML="true" EnableSourceXHTML="true" ToolbarSet="Basic" basepath="~/FCKeditor/" height="150px"></fckeditorv2:fckeditor>
            </tr>
            <tr class="en" id="tbbottom" style="display:none;">
                <td style="width: 175px">
                    网站底部信息（英文）：</td>
                <td>
                    <fckeditorv2:fckeditor id="enbottom" Width="550px" runat="server"  EnableXHTML="true" EnableSourceXHTML="true" ToolbarSet="Basic" basepath="~/FCKeditor/" height="150px">
                    </FCKeditorV2:FCKeditor>
                    <asp:Literal ID="tj" runat="server" ></asp:Literal></td>
            </tr>
            <tr>
                <td class="bt" colspan="2">
                    邮件设置</td>
            </tr>
            <tr>
                <td style="width: 175px">
                    发送邮件服务器：</td>
                <td >
                    <asp:TextBox ID="smtp" CssClass="textput" runat="server" Width="216px"></asp:TextBox>
                    &nbsp; 如：smtp.126.com</td>
            </tr>
            <tr>
                <td style="width: 175px" >
                    发送邮件地址：</td>
                <td  >
                    <asp:TextBox ID="fromaddress" CssClass="textput" runat="server" Width="216px"></asp:TextBox>
                    &nbsp; 如：***@126.com</td>
            </tr>
            <tr>
                <td style="width: 175px">
                    验证用户名：</td>
                <td  >
                    <asp:TextBox ID="mailname" CssClass="textput" runat="server" Width="216px"></asp:TextBox>
                    如：123456</td>
            </tr>
            <tr>
                <td style="width: 175px">
                    验证密码：</td>
                <td>
                    <asp:TextBox ID="mailpassword" runat="server" CssClass="textput" Width="216px"></asp:TextBox>
                    如：123456</td>
            </tr>
            <tr style="display:none;">
                <td style="width: 175px">
                    商业序列号：</td>
                <td>
                    <asp:TextBox ID="key" runat="server" CssClass="textput" Width="415px"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: center; height: 5px;">
                    <asp:Button ID="save" runat="server" Text="保存设置" OnClick="save_Click" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
