<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/ViewMasterPageSub.Master"
	Inherits="System.Web.Mvc.ViewPage<MvcEnterprise.Models.DataSet1+MembersRow>" %>
	
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
	<link href="../../Content/Skin/Validation.css" rel="stylesheet" type="text/css" />
	<script src="../../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
	<script src="../../Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
	<script src="../../Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>
	<script src="../../Scripts/Admin.js" type="text/javascript"></script>
	<%Html.EnableClientValidation(); %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LeftContent" runat="server">
	<div class="Item">
		<div class="LeftNavTitle"><%= Language.Context.User.LabelNavTitle %></div>
		<div>
			<%Html.RenderPartial("partial_LeftNav_User");%></div>
	</div>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="RightContent" runat="server">
	<div class="Item">
		<div class="Location">
			<%= Html.ActionLink(Language.Context.Global.HomePage, "Index")%>
			<%= Language.Context.User.ForgetPassword %>
		</div>
		<div class="WebContent" style="margin-left:35%">
			<script type="text/javascript">
				$(document).ready(function () {
					$("#validateImg").after(" <span id='vCodeErr' style='color:red'></span>");
					$("#frmgetpwd #txtValidateCode").keydown(function () {
						$("#vCodeErr").text("");
					});
					$("#frmgetpwd").submit(function () {
						if ($.trim($("#frmgetpwd #txtValidateCode").val()).length < 5) {
							$("#vCodeErr").text("<%= Language.Context.Global.JsAlertValidationErr %>");
							return false;
						}
					});
				});
			</script>
		<% using (Html.BeginForm("UserGetPassword", "Home", FormMethod.Post, new { id = "frmgetpwd" })) {%>
			<%= Html.AntiForgeryToken()%>
			<div>
				<%--会员帐号--%>
				<span class="editor-label"><%= Language.Context.User.LabelUserName %></span>
				<span class="editor-field"><%= Html.TextBoxFor(model => model.MemName)%> <%= Html.DisplayToolTipFor(model => model.MemName)%> <%= Html.ValidationMessageFor(model => model.MemName)%></span>
				<span id="err_msg"></span>
			</div>
			<div>
				<%--电子邮件--%>
				<span class="editor-label"><%= Language.Context.Global.LabelEmail %></span>
				<span class="editor-field"><%= Html.TextBoxFor(model => model.Email)%> <%= Html.DisplayToolTipFor(model => model.Email)%> <%= Html.ValidationMessageFor(model => model.Email)%></span>
			</div>
			<div>
				<%Html.RenderPartial("ValidateCode"); %>
			</div>
			<div>
				<span class="editor-label">&emsp;</span>
				<span class="editor-field"><input type="submit" value="<%= Language.Context.User.InputValueGetPassword %>" class="btn w90" /></span>
			</div>
			<% } %>
		</div>
	</div>
</asp:Content>