<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="regmail.aspx.cs" Inherits="Webdisk.regmail" %>
<%@ Register Src="~/indextop.ascx" TagPrefix="uc1" TagName="indextop" %>
<%@ Register Src="~/indexbottom.ascx" TagPrefix="uc1" TagName="indexbottom" %>

<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="本系统由桃源网络硬盘提供 www.mytaoyuan.com 专业的网络存储程序提供商"> 
<meta name="keywords" content="桃源网络硬盘,桃源网盘,网络存储,网络公文包,网络相册">
<title>用户注册</title>
<!--Bootstrap -->
<link rel="stylesheet" href="css/bundle.css" type="text/css">
<!--Custome Style -->
<link rel="stylesheet" href="css/style.css" type="text/css">

</head>
<body>
<!-- Header -->
    <uc1:indextop runat="server" id="indextop" />
<!-- /Header -->

<!-- Process -->
<section id="proecess" class="section-padding">
  <div class="container">
                 <div class="row align-items-center justify-content-center">
		<form runat="server">
             <div class="col-lg-8">
        <div class="info-box">
          <div class="box-head">
            <h5>注册成功</h5>
          </div>
          <div class="box-body">
           
              <div class="form-group">
               <p style="text-align:center"><img src="pics/succ.gif" width="64" height="64"><%=Request.QueryString["user"].ToString()%> 您好，系统需要邮件验证，已发送验证邮件至<%=Request.QueryString["mail"].ToString()%>，请点击邮件中的链接地址，通过可以登录，若过5分钟还未收到，可重新<a href="javascript:void(0)" onClick="sendmailto('<%=Request.QueryString["user"].ToString()%>','<%=Request.QueryString["mail"].ToString()%>');">点击此处发送验证邮件</a></p>
              </div>
              <div class="row form-group">
				 <input type="hidden" name="hidcode" id="hidcode" runat=server>
                                                    <input type="hidden" name="hidusername" id="hidusername">
                                                    <input type="hidden" name="hidmail" id="hidmail">
                                                    <input class="btn btn-primary" type="button" name="Submit" value=" 确 定 " onclick="javascript: window.location = 'login.aspx'">
              </div>
          </div>
        </div>
      </div>
		</form>
  </div> </div>
</section>
<!-- /Process -->
									<!-- Footer -->
    <uc1:indexbottom runat="server" id="indexbottom" />
<!-- /Footer --> 
</body>
</html>

<script src="js/bundle.js"></script>
<!-- App scripts -->
<script src="js/app.min.js"></script>
<script>
    function sendmailto(user, mail) {
        alert('邮件已发送，请注意查收！');
        $.post(
            "ajax.aspx",
            { action: "sendmailto", username:<%=Request.QueryString["user"].ToString()%>, mail:<%=Request.QueryString["mail"].ToString()%>, code: document.getElementById("hidcode").value})
    }
</script>