using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace JuSNS.Web
{
    public partial class EURegisterResult : JuSNS.UI.Page.BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string email = Request.QueryString["email"];

            string ListSTR = string.Empty;
            ListSTR+="<h3>\r\n验证你的 Email 地址</h3>\r\n<p>\r\n";
            ListSTR+="谢谢你的注册！我们给你发送了一封验证邮件到 <strong>";
            ListSTR+=email;
            ListSTR+="</strong>，请查收该邮件完成注册。</p>\r\n";
            ListSTR+="<p style=\"font-size: 14px;\">";
            ListSTR+="<button class=\"f-button\" onclick=\"window.open('" + JuSNS.Config.EmailConfig.GetEmailLoginUrl(email) + "')\">";
            ListSTR+=" 点击这里登录你的邮箱</button></p>\r\n";
            ListSTR += "<p style=\"color: #800;\">如果你长时间没有收到验证邮件，请看看是否在垃圾箱里</p><p style=\"margin-top:8px;\">如果确实没有收到验证邮件。请用你的注册邮箱给 " + JuSNS.Common.Public.GetXMLValue("isEmailReturn") + " 发一封标题为“验证”的邮件，管理员将协助你激活帐号。</p>\r\n";
            ListSTR+="\r\n";
            this.ResultDiv.InnerHtml = ListSTR;
        }
    }
}
