<%@ page language="C#" autoeventwireup="true" inherits="GroupFlyProduce_ProduceAdmin_ProduceSite_Settings, GroupTGWeb_deploy" %>

<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="China315" %>
<!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 rel="stylesheet" type="text/css" href="style/index.css" />

    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>

    <script type="text/javascript" src="js/default.js"></script>

    <script type="text/javascript">
    //选择单图
    function openSingleChild()
    { 
        var k = window.showModalDialog("Image_List_Select.aspx",window,"dialogWidth:820px;status:no;dialogHeight:650px"); 
        if(k != null) 
        {
          var imgvalue = new Array();
         imgvalue = k.split(",");
         document.getElementById("textBoxImgAddress").value = imgvalue[0]; 
         document.getElementById("ImageOriginalImge").src = imgvalue[1]; 
        }
    } 
    </script>

    <style type="text/css">
        .style1
        {
            height: 30px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="main">
        <ul id="tab">
            <li>站点信息</li>
            <li>邮件设置</li>
        </ul>
        <div class="content" id="content">
            <ul>
                <li class="cur">
                    <table cellpadding="0" cellspacing="1" border="0" width="100%">
                        <tr>
                            <td colspan="2" style="background-color: #FAFFDE">
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;" width="20%">
                                <asp:Localize ID="LocalizeName" runat="server" Text="站点名称："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxName" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                                <asp:Label ID="Label1" runat="server" ForeColor="red" Text="*"></asp:Label>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBoxName" runat="server"
                                    ControlToValidate="TextBoxName" ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;" width="20%">
                                <asp:Localize ID="LocalizeTitle" runat="server" Text="站点标题："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxTitle" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                                <asp:Label ID="Label2" runat="server" ForeColor="red" Text="*"></asp:Label>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBoxTitle" runat="server"
                                    ControlToValidate="TextBoxTitle" ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;" width="20%">
                                <asp:Localize ID="LocalizeDescription" runat="server" Text="站点描述："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxDescription" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                                <asp:Label ID="Label3" runat="server" ForeColor="red" Text="*"></asp:Label>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBoxDescription" runat="server"
                                    ControlToValidate="TextBoxDescription" ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;" width="20%">
                                <asp:Localize ID="LocalizeKeyWords" runat="server" Text="站点关键字："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxKeyWords" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                                <asp:Label ID="Label4" runat="server" ForeColor="red" Text="*"></asp:Label>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBoxKeyWords"
                                    ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right; vertical-align: top; padding-top: 15px;">
                                <asp:Localize ID="LocalizeCopyright" runat="server" Text="站点版权："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxCopyright" runat="server" TextMode="MultiLine" CssClass="allinput1"
                                    Width="300px"></asp:TextBox>
                                <asp:Label ID="Label5" runat="server" ForeColor="red" Text="*"></asp:Label>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBoxCopyright" runat="server"
                                    ControlToValidate="TextBoxCopyright" ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;" valign="bottom">
                                <asp:Localize ID="LocalizeLogo" runat="server" Text="站点Logo："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="textBoxImgAddress" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                                <input id="ButtonSelectSingleImage" type="button" value="选择图片" onclick="openSingleChild()"
                                    class="bt3 cancel" />
                                <img id="ImageOriginalImge" runat="server" src="~/ProduceAdmin/images/noImage.gif"
                                    alt="" width="100" height="60" />
                                <asp:Label ID="Warning7" runat="server" Text="建议尺寸: 550*80 px "></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="LocalizeLink" runat="server" Text="Logo的链接地址："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxLink" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="Localize1" runat="server" Text="Banner幻灯片："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxAD1" runat="server">http://</asp:TextBox>
                                <asp:Localize ID="Localize6" runat="server" Text="图片："></asp:Localize>
                                <asp:FileUpload ID="FileUploadAD1" runat="server" />
                                <asp:Label ID="Warning2" runat="server" Text="建议尺寸: 670*110 px "></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="Localize7" runat="server" Text="Banner幻灯片："></asp:Localize>
                            </td>
                            <td>
                                </asp:Localize><asp:TextBox ID="TextBoxAD2" runat="server">http://</asp:TextBox>
                                <asp:Localize ID="Localize5" runat="server" Text="图片："></asp:Localize>
                                <asp:FileUpload ID="FileUploadAD2" runat="server" />
                                <asp:Label ID="Warning3" runat="server" Text="建议尺寸: 670*110 px "></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;" class="style1">
                                <asp:Localize ID="Localize2" runat="server" Text="Banner幻灯片："></asp:Localize>
                            </td>
                            <td class="style1">
                                <asp:TextBox ID="TextBoxAD3" runat="server">http://</asp:TextBox>
                                <asp:Localize ID="Localize8" runat="server" Text="图片："></asp:Localize>
                                <asp:FileUpload ID="FileUploadAD3" runat="server" />
                                <asp:Label ID="Warning4" runat="server" Text="建议尺寸: 670*110 px "></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="Localize3" runat="server" Text="Banner幻灯片："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxAD4" runat="server">http://</asp:TextBox>
                                <asp:Localize ID="Localize9" runat="server" Text="图片："></asp:Localize>
                                <asp:FileUpload ID="FileUploadAD4" runat="server" />
                                <asp:Label ID="Warning5" runat="server" Text="建议尺寸: 670*110 px "></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="Localize4" runat="server" Text="Banner幻灯片："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxAD5" runat="server">http://</asp:TextBox>
                                <asp:Localize ID="Localize10" runat="server" Text="图片："></asp:Localize>
                                <asp:FileUpload ID="FileUploadAD5" runat="server" />
                                <asp:Label ID="Warning6" runat="server" Text="建议尺寸: 670*110 px "></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="Localize11" runat="server" Text="是是否启用URL重写："></asp:Localize>
                            </td>
                            <td>
                                <asp:CheckBox ID="CheckBoxURL" runat="server" />
                            </td>
                        </tr>
                    </table>
                </li>
                <li>
                    <table cellpadding="0" cellspacing="1" width="100%">
                        <tr>
                            <td style="text-align: right;" width="20%">
                                <asp:Localize ID="LocalizeEmailServer" runat="server" Text="邮件服务："></asp:Localize>
                            </td>
                            <td>
                                <asp:CheckBoxList ID="CheckBoxListEmailServer" runat="server" RepeatDirection="Horizontal">
                                </asp:CheckBoxList>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="LocalizeSMTP" runat="server" Text="发送邮件服务器地址(SMTP)："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxSMTP" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="LocalizeServerPort" runat="server" Text="服务器端口："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxServerPort" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="LocalizeEmailAccount" runat="server" Text="邮件发送账号："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxEmailAccount" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="LocalizeEmailPassword" runat="server" Text="账号密码："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxEmailPassword" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="LocalizeRestoreEmail" runat="server" Text="邮件回复地址："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxRestoreEmail" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="LocalizeEmailCode" runat="server" Text="邮件编码："></asp:Localize>
                            </td>
                            <td>
                                <asp:CheckBoxList ID="CheckBoxListEmailCode" runat="server" RepeatDirection="Horizontal">
                                </asp:CheckBoxList>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">
                                <asp:Localize ID="LocalizeEmailAddress" runat="server" Text="邮件地址："></asp:Localize>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxEmailAddress" runat="server" CssClass="allinput1" Width="300px"></asp:TextBox>
                                <asp:Button ID="ButtonSend" runat="server" Text="发送测试邮件" CssClass="bt3 cancel" OnClick="ButtonSend_Click" />
                            </td>
                        </tr>
                    </table>
                </li>
            </ul>
        </div>
    </div>
    <div class="bottomLine">
        <table cellpadding="0" cellspacing="1" width="100%">
            <tr>
                <td align="right" width="20%">
                </td>
                <td align="left">
                    <asp:Button ID="ButtonEdit" runat="server" Text="确定" CssClass="bnt1" OnClick="ButtonEdit_Click" />
                    <input id="Reset1" type="reset" value="重置" class="bnt1 cancel" />
                    <China315:MessageShow ID="MessageShow" Visible="false" runat="server" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
