<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OAuthQzoneGuide.aspx.cs"
    Inherits="ynhtm.User.OAuthQzoneGuide" %>

<!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>QQ账号登录向导</title>
    <link rel="stylesheet" href="Css/OAuthGuide.css" />
    <script type="text/javascript" src="/Js/jquery.js"></script>
    <script type="text/javascript" src="/Js/Utils.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="msg">
    </div>
    <script type="text/javascript">
        $.Msg.container = "#msg";
        window.ValidationSummaryOnSubmit = $.Msg.validationSummaryOnSubmit;
        window.resizeTo(450, 450);
    </script>
    <div id="guide">
        <h1>
            QQ账号登录向导</h1>
        <ul>
            <li>
                <asp:Label runat="server" AssociatedControlID="txtUserName"><span class="red">*</span> 用户名</asp:Label><br />
                <asp:TextBox ID="txtUserName" runat="server" Width="202px"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ControlToValidate="txtUserName" ErrorMessage="用户名不能为空"></asp:RequiredFieldValidator>
            </li>
            <li>
                <asp:Label runat="server" AssociatedControlID="txtEmail"><span class="red">*</span> 邮件地址</asp:Label> <span class="gray">推荐使用QQ邮箱，格式：QQ号码@qq.com</span><br />
                <asp:TextBox ID="txtEmail" runat="server" Width="300px"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ControlToValidate="txtEmail" ErrorMessage="邮件地址不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator runat="server" ControlToValidate="txtEmail" ErrorMessage="邮件地址不正确"
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </li>
            <li>
                <asp:Button ID="btnLogin" runat="server" OnClick="btnLogin_Click" Text="登录" />
            </li>
            <li id="hit">因为第一次使用“QQ账号登录”所以需要填写要使用的用户名，下次登录将不再出现这个设置！</li>
        </ul>
    </div>
    <div id="footer">
        版权所有 &copy;
        <asp:Label ID="lblCopy" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>
