📄 sendnewsletter.aspx
字号:
<%@ Page language="c#" Codebehind="SendNewsletter.aspx.cs" AutoEventWireup="false" Inherits="Wrox.WebModules.MailingLists.Web.SendNewsletter" %>
<%@ Register TagPrefix="MailingLists" TagName="AdminHeader" src="AdminHeader.ascx" %>
<%@ Register TagPrefix="MailingLists" TagName="AdminFooter" src="AdminFooter.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>MailingLists: Send newsletter</title>
<link rel="stylesheet" HREF="/ThePhile/Styles/ThePhile.css" TYPE="text/css" />
<link href="/ThePhile/Styles/Navigator.css" rel="stylesheet" />
<meta content="C#" name="CODE_LANGUAGE">
</HEAD>
<body>
<form id="SendNewsletter" method="post" runat="server">
<!-- Insert the menu user control -->
<MailingLists:AdminHeader id="Menu" runat="server" />
<asp:table id="TableMailSettings" runat="server" Width="100%" CssClass="Grid_General">
<asp:TableRow>
<asp:TableCell Width="80px" Text="To List:" />
<asp:TableCell>
<asp:DropDownList runat="server" ID="ListsDropDown" CssClass="TextBox" Width="100%" DataTextField="Name" DataValueField="ListID" />
</asp:TableCell>
<asp:TableCell Width="2px" RowSpan="6">
<asp:Image runat="server" ImageURL="./Images/Blue.gif" Height="120px" Width="2px" />
</asp:TableCell>
<asp:TableCell Width="300px" RowSpan="6" HorizontalAlign="Left" VerticalAlign="Top">
<small><b>Tags available for subject and body</b>
<br>
#ListID#, #ListName#, #ListDescription#
<br>
<b>Tags available for body only</b>
<br>
#SenderName#, #SenderEmail#, #SubscribeURL#, #SubscriptionID#,
#SubscriberFirstName#, #SubscriberLastName#, #SubscriberEmail# </small>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Format:" />
<asp:TableCell>
<asp:DropDownList runat="server" ID="FormatDropDown" CssClass="TextBox" Width="100%">
<asp:ListItem Text="Plain text" />
<asp:ListItem Text="HTML text" />
</asp:DropDownList>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Priority:" />
<asp:TableCell>
<asp:DropDownList runat="server" ID="PriorityDropDown" CssClass="TextBox" Width="100%">
<asp:ListItem Text="Normal" Selected="true" />
<asp:ListItem Text="Low" />
<asp:ListItem Text="High" />
</asp:DropDownList>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow VerticalAlign="Top">
<asp:TableCell Text="Subject:" />
<asp:TableCell>
<asp:TextBox runat="server" Width="100%" ID="Subject" CssClass="TextBox" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="Subject" Display="dynamic" ID="Requiredfieldvalidator1"><br>* Subject is required
</asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
</asp:table>
<asp:table id="TableMailBody" runat="server" Width="100%" CssClass="Grid_General">
<asp:TableRow>
<asp:TableCell Text="<br>" />
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Body:" />
</asp:TableRow>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<asp:TextBox runat="server" Rows="15" TextMode="MultiLine" Width="100%" ID="Body" CssClass="TextBox" />
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<asp:CheckBox ID="ArchiveNewsletter" runat="server" Text="Archive this newsletter" Checked="True" />
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Right">
<asp:Button runat="server" Text="Preview" ID="Preview" CssClass="Button" OnClick="Preview_Click" Width="100px" />
<asp:Button runat="server" Text="Send" ID="Send" CssClass="Button" OnClick="Send_Click" Width="100px" />
</asp:TableCell>
</asp:TableRow>
</asp:table>
<br>
<asp:label id="MsgPreview" runat="Server" Width="100%" CssClass="Preview" Visible="false"></asp:label>
<!-- Insert the footer -->
<MailingLists:AdminFooter id="Footer" runat="server" />
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -