<%@ Control Language="c#" AutoEventWireup="false" Codebehind="NewsLetter.ascx.cs" Inherits="Xpdt.Portal.NewsLetter" TargetSchema="http://schemas.microsoft.com/intellisense/ie3-2nav3-0"%>
<%@ Register TagPrefix="uc1" TagName="SendingNewsletters" Src="SendingNewsletters.ascx" %>
<%@ Register TagPrefix="Portal" TagName="Divider" Src="~/ModuleDivider.ascx"%>
<%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%>
<TABLE width="100%">
	<TR>
		<TD class="ModuleFrame"><portal:title id="Title1" runat="server" EditText="Newsletter Settings" EditUrl="~/DesktopModules/EditNewsLetter.aspx"></portal:title>
			<TABLE cellSpacing="2" cellPadding="0" width="100%" border="0">
				<TR>
					<TD><asp:label id="NewsletterInfo" runat="server" CssClass="ItemTitle">Subscribe to our newsletter</asp:label></TD>
				</TR>
				<TR>
					<TD height="42">
						<span class="<%= GetNormalStyle( ) %>">
							<asp:Label id="lblEmail" runat="server">Your e-mail</asp:Label>
							<BR>
							<asp:textbox id="MemberEmail" runat="server" CssClass="NewsletterEditBox" tabIndex="1"></asp:textbox>
							<br>
							<asp:requiredfieldvalidator id="ValidEmailReq" runat="server" CssClass="Normal" ControlToValidate="MemberEmail"
								Display="Dynamic" ErrorMessage="Email Required">>>Email Required</asp:requiredfieldvalidator>
							<asp:regularexpressionvalidator id="ValidEmailForm" runat="server" CssClass="normal" ControlToValidate="MemberEmail"
								Display="Dynamic" ErrorMessage="RegularExpressionValidator" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">>>Invalid Email</asp:regularexpressionvalidator>
						</span>
					</TD>
				</TR>
				<TR>
					<TD valign="top">
						<asp:ImageButton id="SubscribeButton" runat="server" ImageUrl="../images/btn-subscribe.gif"></asp:ImageButton></TD>
				</TR>
				<TR>
					<TD>
						<asp:LinkButton id="UnsubscribeButton" runat="server" CssClass="Normal" tabIndex="2">Unsubscribe...</asp:LinkButton></TD>
				</TR>
			</TABLE>
			<PORTAL:DIVIDER id="Divider1" runat="server"></PORTAL:DIVIDER></TD>
	</TR>
</TABLE>
