📄 fanclub.aspx
字号:
<%@ Page trace="false" Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" codefile="FanClub.aspx.cs" Inherits="FanClub" title="Fan Club" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" Runat="server">
<asp:LoginView ID="FCLoginView" Runat="server" OnViewChanged="FCLoginView_ViewChanged">
<RoleGroups>
<asp:RoleGroup Roles="FanClubMember">
<ContentTemplate>
<p>
Welcome back
<asp:LoginName ID="FCLoginName" Runat="server" />.</p>
<p>
There are always lots of exciting things happening with the fan club, most of
which you already know from the email we regularly send out. One that hasn't
made it to the email yet is the proposed end of season BBQ - a great excuse
for a summer party (not that we really need an excuse). This will be open to
all members of the public and tickets will be heavily discounted for fan club
members as a thank you for all of the great support you've given the club. The
date hasn't yet been set, but keep your eyes on your inbox for more details.
</p>
<h3 >User Settings</h3>
<p>Your user details are shown below.</p>
<asp:ChangePassword id=ChangePassword1 runat="server" cssclass="floatRight"></asp:ChangePassword>
<span class="boxFloat">
Name:<br />
Address:<br /><br /><br /><br />
City:<br />
County:<br />
Postcode:<br />
Country:<br />
Subscribe to email updates:<br />
Email:<br />
Membership Alias:<br />
Theme:
</span>
<span >
<asp:textbox id="txtName" runat="server" Columns="30"/>
<br />
<asp:textbox id="txtAddress" runat="server" Columns="25" Rows="5" TextMode="multiLine"/>
<br />
<asp:textbox id="txtCity" runat="server" />
<br />
<asp:textbox id="txtCounty" runat="server" />
<br />
<asp:textbox id="txtPostCode" runat="server" />
<br />
<asp:textbox id="txtCountry" runat="server" />
<br />
<asp:checkbox id="chkMailing" runat="server" />
<br />
<asp:textbox id="txtEmail" runat="server" />
<!--
Use this for the RegularExpressionValidator Try It Out in chapter 15
ValidationExpression="^.+@[^\.].*\.[a-z]{2,}$"
-->
<br />
<asp:textbox id="txtAlias" runat="server" />
<br />
<asp:dropdownlist id="ThemeList" runat="server">
<asp:listitem text="Default" value="" />
<asp:listitem text="Wrox Red" Value="WroxRed" />
<asp:listitem text="Wrox Blue" Value="WroxBlue" />
</asp:dropdownlist>
</span>
<br /><br />
<asp:button id="btnSaveChanges" runat="server" OnClick="btnSaveChanges_Click" Text="Save Changes" />
<asp:button id="btnCancelChanges" runat="server" OnClick="btnCancelChanges_Click" CausesValidation="false" Text="Cancel Changes" />
</ContentTemplate>
</asp:RoleGroup>
<asp:RoleGroup Roles="Administrator,Owner,Manager,Reporter"><ContentTemplate>
To see the Fan Club features you need to be a member. As special users
you get free entry to the fan club - talk to the admin people to get set up.
</ContentTemplate>
</asp:RoleGroup>
</RoleGroups>
<AnonymousTemplate>
<p>The fan club provides a way for you to show your devotion to the club, and
gains you exclusive privileges. You get discounts on match tickets and at the
club store, as well as having the opportunity to meet up with like minded fans.
</p>
<p>
Membership to the Fan Club can be bought from the <a href="Shop.aspx">Club Shop</a>.
Once membership has been received we'll enable your account as a Fan Club Member.
</p>
</AnonymousTemplate>
</asp:LoginView></asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -