<%@ Page Language="C#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Import Namespace="Hishop.SystemServices" %>

<!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>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>
    
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div class="PageTitleArea">
                <div class="PageTitle">
                    <asp:Literal ID="litManagerTop" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDS_PageTitle %>" ></asp:Literal>
                </div>
                <div style="width: 80%;">
                    <asp:Literal ID="litManagerDisciption" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDS_PageDesc %>" ></asp:Literal>
                </div>
            </div>
            
             <Hishop:IntegrationDZSetting ID="EmailSettings" runat="server">
             <SkinTemplate>
<div id="updateMsg"><Hishop:StatusMessage id="Status" runat="server" Visible="False" /></div>

<table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList">
<!--论坛名称-->
    <tr>
        <td class="leftTD" style="width:130px;"><asp:Label ID="Label4" runat="server"  Text="<%$ Resources:IntegrationDZSetting,IDM_ForumName %>"></asp:Label>：</td>
        <td class="rightTD"><asp:TextBox ID="txtForumName"  runat="server"></asp:TextBox></td>
        <td class="rightTD">
            <div id="txtForumNameTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidateForumName"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtForumName" 
                 Description="<%$ Resources:IntegrationDZSetting,IDM_help01 %>" Nullable="False">
               <Validators>
                 <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:IntegrationDZSetting,IDM_help01 %>"/>
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
    <!--论坛的URL-->
    <tr>
        <td class="leftTD" style="width:130px;"><asp:Label ID="Label9" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDM_ForumURL %>"></asp:Label>：</td>
        <td class="rightTD"><asp:TextBox ID="txtForumURL" runat="server"></asp:TextBox></td>
        <td class="rightTD">
            <div id="txtForumURLTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidatetxtForumURL"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtForumURL"
                  Description="<%$ Resources:IntegrationDZSetting,IDM_help02 %>" Nullable="False">
               <Validators>
                  <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:IntegrationDZSetting,IDM_help02 %>" />
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>    
<!--服务器名-->
    <tr>
        <td class="leftTD" style="width:130px;"><asp:Label ID="Label7" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDM_DataSource %>"></asp:Label>：</td>
        <td class="rightTD"><asp:TextBox ID="txtDataSource" runat="server"></asp:TextBox> </td>
        <td class="rightTD">
            <div id="txtDataSourceTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidatetxtDataSource" ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtDataSource" 
                 Description="<%$ Resources:IntegrationDZSetting,IDM_help03 %>" Nullable="False">
               <Validators>
                 <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:IntegrationDZSetting,IDM_help03 %>"/>
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
    <!--数据库名-->
    <tr>
        <td class="leftTD" style="width:130px;"><asp:Label ID="Label11" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDM_InitialCatalog %>"></asp:Label>：</td>
        <td class="rightTD"><asp:TextBox ID="txtInitialCatalog" runat="server" ></asp:TextBox></td>
        <td class="rightTD">
            <div id="txtInitialCatalogTip" runat="server"></div>
            <Hishop:ValidateTarget ID="validatetxtInitialCatalog"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtInitialCatalog" 
                Description="<%$ Resources:IntegrationDZSetting,IDM_help04 %>" Nullable="false" >               
              <Validators>
                <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:IntegrationDZSetting,IDM_help04 %>" />
              </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
<!--用户名-->
    <tr>
        <td class="leftTD" style="width:130px;"><asp:Label ID="Label8" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDM_UserID %>"></asp:Label>：</td>
        <td class="rightTD"><asp:TextBox ID="txtUserID" runat="server"></asp:TextBox></td>
        <td class="rightTD">
            <div id="txtUserIDTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidatetxttxtUserID"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtUserID" 
                 Description="<%$ Resources:IntegrationDZSetting,IDM_help05 %>" Nullable="False">
               <Validators>
                 <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:IntegrationDZSetting,IDM_help05 %>"/>
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
<!--密码-->
    <tr>
        <td class="leftTD" style="width:130px;"><asp:Label ID="Label1" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDM_Password %>"></asp:Label>：</td>
        <td class="rightTD"><asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="150px"></asp:TextBox></td>
        <td class="rightTD">
            <div id="txtPasswordTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidatetxtPassword"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtPassword" 
                 Description="<%$ Resources:IntegrationDZSetting,IDM_help06 %>" Nullable="False">
               <Validators>
                 <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:IntegrationDZSetting,IDM_help06 %>" />
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
    <!--表前缀-->
    <tr>
        <td class="leftTD" style="width:130px;"><asp:Label ID="Label6" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDM_Tableprefix %>"></asp:Label>：</td>
        <td class="rightTD"><asp:TextBox ID="txtTableprefix" runat="server" Text="dnt_"></asp:TextBox></td>
        <td class="rightTD">
            <div id="txtTableprefixTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidatetxtTableprefix"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtTableprefix" 
                 Description="<%$ Resources:IntegrationDZSetting,IDM_help07 %>" Nullable="False">
               <Validators>
                 <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:IntegrationDZSetting,IDM_help07 %>"/>
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
<!--一密钥-->
    <tr>
        <td class="leftTD" style="width:130px;"><asp:Label ID="Label3" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDM_Passwordkey %>"></asp:Label>：</td>
        <td class="rightTD"><asp:TextBox ID="txtPasswordkey" runat="server"></asp:TextBox> </td>
        <td class="rightTD">
            <div id="txtPasswordkeyTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidatetxtPasswordkey"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtPasswordkey"
                  Description="<%$ Resources:IntegrationDZSetting,IDM_help08 %>" Nullable="False">
               <Validators>
                  <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:IntegrationDZSetting,IDM_help08 %>" />
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
    <!--一身份验证Cookie域-->
    <tr>
        <td class="leftTD" style="width:130px;"><asp:Label ID="Label5" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDM_CookieDomain %>"></asp:Label>：</td>
        <td class="rightTD"><asp:TextBox ID="txtCookieDomain" runat="server"></asp:TextBox> </td>
        <td class="rightTD">
            <div id="txtCookieDomainTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidatetxtCookieDomain"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtCookieDomain"
                  Description="<%$ Resources:IntegrationDZSetting,IDM_help09 %>" Nullable="False">
               <Validators>
                  <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:IntegrationDZSetting,IDM_help09 %>" />
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
    <!--是否开启论坛-->
    <tr>
        <td class="leftTD" style="width:130px;"><asp:Label ID="Label2" runat="server"  Text="<%$ Resources:IntegrationDZSetting,IDS_IntegrationForumIsOff %>"></asp:Label>：</td>
        <td class="rightTD">
             <asp:RadioButtonList runat="server" RepeatDirection="Horizontal" ID="rblIsOff">
                <asp:ListItem Selected="True">是</asp:ListItem>
                <asp:ListItem>否</asp:ListItem>
             </asp:RadioButtonList>
        </td>
        <td class="rightTD">
            <div class="msgNormal">
                <asp:Literal ID="lblSmtpEnableSsl" runat="server" Text="<%$ Resources:IntegrationDZSetting,IDM_help10 %>" />
            </div>
        </td>
    </tr>
<!--按钮-->
    <tr>
        <td class="bottonLeftTD" style="width:130px;">&nbsp;</td>
        <td class="rightTD">
           <table>
                <tr>
                    <td valign="top">
                        <asp:Button ID="btnIntegrationDZSetting" OnClientClick="return PageIsValid();" runat="server" Text="保存"  CssClass="inp_L1"></asp:Button >
                    </td>
                    <td>
                        <div class="return_inp">
                            <a href='<%= Globals.GetSiteUrls().UrlData.FormatUrl("admin_IntegrationForum")%>'>
                                <asp:Label runat="server" ID="lblBack" Text="返回"></asp:Label></a></div>
                    </td>
                </tr>
            </table>
        </td>
        <td class="rightTD">&nbsp;</td>
    </tr> 
</table>     
             </SkinTemplate>
             </Hishop:IntegrationDZSetting>
            
        </div>
        <br />
        <div style="text-align:center">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright ID="SiteCopyright1" runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>