<%@ Page Language="C#" AutoEventWireup="true" Inherits="WebPage_SheZhi_Youjian" Codebehind="SheZhi_Youjian.aspx.cs" %>
<%@ Register Src="../UserControls/HeaderControl.ascx" TagName="HeaderControl" TagPrefix="uc2" %>
<%@ Register src="../UserControls/FooterControl.ascx" tagname="FooterControl" tagprefix="uc3" %>
<%@ Register src="UserControls/SheZhi.ascx" tagname="SheZhi" tagprefix="uc1" %>
<!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">
	<meta http-equiv="content-type" content="text/html" charset="UTF-8">
	<title>艾尚团购 - 管理后台</title>
	</head>
<body class="newbie">
    <form id="form1" runat="server" class="validator">
    <div id="pagemasker"></div><div id="dialog"></div>
<div id="doc">
<uc2:HeaderControl ID="HeaderControl1" runat="server" />



<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="partner">
	<div class="dashboard" id="dashboard">
		<uc1:SheZhi ID="SheZhi1"  runat="server" />
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            
            <div class="box-content">
                <div class="head"><h2>邮件设置</h2></div>
                <div class="sect">
                
						<div class="wholetip clear"><h3>1、发信配置</h3></div>
						
						<div id="mail-zone-smtp" style="display:block;">
                        <div class="field">
                            <label>SMTP主机</label>
                            <input type="text" size="30" id="mail_host" name="mail[host]" class="f-input" runat="server" />
                        </div>
                        <div class="field">
                            <label>SMTP端口</label>
                            <input type="text" size="30" id="mail_port" name="mail[port]" class="number" runat="server" />
                        </div>
                        <div class="field">
                            <label>SSL方式</label>
                            <input type="checkbox" size="10"  value="1" name="mailssl" <%if(mailssl){ %>checked<%} %> />
                            <span style="color:Gray" >请按邮局要的要求，选择是否选用“SSL”。勾选代表“选择SSL”，不勾选则“不选择SSL”</span>
                        </div>
                        <div class="field">
                            <label>验证用户名</label>
                            <input type="text" size="30" id="mail_user" name="mail[user]" class="f-input" runat="server" />
                        </div>
                        <div class="field">
                            <label>验证密码</label>
                            <input type="text" size="30" id="mail_pass" name="mail[pass]" class="f-input" runat="server" />
                        </div>
						</div>
                        <div class="field">
                            <label>发信地址</label>
                            <input type="text" size="30" id="mail_form" name="mail[from]" class="f-input" runat="server" />
                            <span class="hint">发信邮件地址</span>
                        </div>
                        <div class="field">
                            <label>回信地址</label>
                            <input type="text" size="30" id="mail_reply" name="mail[reply]" class="f-input" runat="server" />
                            <span class="hint">回信邮件地址</span>
                        </div>
                        <div class="field">
                            <label>发信频率</label>
                            <input type="text" size="30" id="mail_interval" name="mail[interval]" class="number" require="true" datatype="integer" runat="server" />
                            <span class="inputtip">请按邮局要求的频率，设置每封邮件的发送时间间隔，单位：秒，建议设置：2-5 之间</span>
                        </div>

						<div class="wholetip clear"><h3>2、订阅设置（发送邮件订阅时邮件内容中的联系方式）</h3></div>
                        <div class="field">
                            <label>联系电话</label>
                            <input type="text" size="30" id="subscribe_helpphone" name="subscribe[helpphone]" runat="server" class="f-input" />
                        </div>
                        <div class="field">
                            <label>联系邮件</label>
                            <input type="text" size="30" id="subscribe_helpemail" name="subscribe[helpemail]" runat="server" class="f-input" />
                        </div>

                        <div class="act">
                            <input type="submit" value="保存" name="commit" class="formbutton"/>
                        </div>
               
                </div>
            </div>
            
        </div>
	</div>

</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<uc3:FooterControl ID="FooterControl1" runat="server" />

</div>
    </form>
</body>
</html>
