<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Find_Make.aspx.cs" Inherits="RM.Web.Member.Find.Find_Make" %>

<!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 id="Head1" runat="server">
    <link href="/Template/default/css/mall.css" rel="stylesheet" type="text/css" />
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/Validator/JValidator.js" type="text/javascript"></script>
    <title><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Find_Make_Title")%></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />

    <style type="text/css">
        /*span { width:33.333333333333%; float: left; text-align:center;}
        span h2 { color: Black; }
        .style1 { width:20%;}*/
        body{padding:0;margin:0;font-family:微软雅黑;}
.ml20{margin-left:20px;}
.tit_le{background-color:#2fa95f ;color:#fff;height:44px; line-height:44px;padding-left:20px;font-size:18px;}
.table_{margin:10px auto;}
.table_ .style1{font-size:12px;color:#686868}
.table_ .txt{height:25px; line-height:25px;margin:5px 0;padding:0 5px;width:235px;color:#686868;}
.table_ .but{background-color:#2fa95f;border:0;width:70px; height:28px; color:#fff;margin-top:8px;}
.fanhui{ width:100px; background-color:White;border-radius:15px; text-align:center; z-index:999;  float:right;}
    </style>
</head>
<body>
<div style=" width:97%; margin:0 auto;">
    <div style="margin-top:20px;">        
            <h2 class="ml20"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Find_Make_Title")%></h2>
            <div class="tit_le"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ReminderList_txzcxx")%>
             <span class="fanhui">
            <a href="/Frame/mlogin.htm"><<返回</a>
            </span>
            </div>
      
    </div>
    <div style="float:left; width:100%; line-height:40px;margin:20px auto;" id="center">
        <form id="form1">
        <table class="table_">
            <tr>
                <th class="style1">
                   <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Plan_useraccount")%> :
                </th>
                <td>
                    <input type="text" id="Uname" style="width: 243px;" class="txt" datacol="yes" err="用户名"
                        checkexpession="NotNull" />
                </td>
            </tr>
            <tr>
                <th class="style1">
                     <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("User_Email")%>  :
                </th>
                <td>
                    <input type="text" id="Uemail" style="width: 243px; margin-bottom:5px;" class="txt" datacol="yes" err="邮箱"
                        checkexpession="EmailOrNull" />
                </td>
            </tr>
            <tr>
                <th>
                </th>
                <td>
                    <input type="button" value=" <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Find_Make_xiayb")%>  " onclick="oncheckUname()" class="but" />
                   
                </td>
            </tr>
        </table>
        </form>
    </div>
</div>
</body>
</html>
<script type="text/javascript">
    var SubmitOrHidden = function (evt) {
        evt = window.event || evt;
        if (evt.keyCode == 13) {//如果取到的键值是回车
            oncheckUname();
        } else {
            //其他键  dosomething
        }
    }
    window.document.onkeydown = SubmitOrHidden;
    function oncheckUname() {

        if (!CheckDataValid('#form1')) {
            return false;
        }
        var name = $("#Uname").val();
        var email = $("#Uemail").val();
        var param = "name=" + name + "&&email=" + email;
        getAjax("/Member/Find/GetUserNameAndEmail.ashx", param, function (rs) {
       
            if (rs == "0") {
              loadinghide();
                alert("<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Find_Make_UserorEmail")%>  ");
            } else if (rs == "1") {
            loadinghide();
                $("#h1").html(" <h2><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ReminderList_txzcxx")%>  </h2>");
                $("#h2").html("<h2 style='border-bottom: 1px solid #69B3F2; color: blue; padding-bottom: 8px;'><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ReminderList_yyxz")%></h2>")
                $("#center").html("<h2 style=' width:300px;margin-left:20px;' ><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Find_Make_yzcgyfsyzxx")%><h2>");
            }
        });

    }
</script>