⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sendprivatemessage.ascx

📁 倒奶CMS内容管理系统 v6.0 中文版 软件类别: .NET源码 / 全站系统 软件语言: 简体中文 授权方式: 共享版 文件大小: 7.21M 系统平台: ASP.NET+SQL
💻 ASCX
字号:
<%@ Control Language="C#" %>
<table class="SectionIntro" cellpadding="3" cellspacing="0" border="0" Width="100%">
	<tr>
		<td colspan="2">
			<span class="SectionTitle">发送私有消息:</span>
		</td>
	</tr>
	<tr>
		<td width="10"></td>
		<td>
			<span class="PageHeader"> 私有消息允许用户互发Email而不暴露各自的Email地址.</span>
		</td>
	</tr>
</table>
<br>
<asp:Panel Runat="server" ID="pnlAuthenticated">
	<TABLE class="Form" cellSpacing="0" cellPadding="3" border="0">
		<TR>
			<TD vAlign="top" noWrap align="right"><SPAN class="Form_LabelText">发送给:</SPAN>
			</TD>
			<TD>
				<asp:DropDownList id="ddlRecipients" Runat="server" CssClass="Form_Field"></asp:DropDownList>
				<asp:CompareValidator id="CompareValidator1" CssClass="Form_Message" ValueToCompare="-- Select recipient --"
					Operator="NotEqual" runat="server" ControlToValidate="ddlRecipients" Display="Dynamic">(选择接收人)</asp:CompareValidator></TD>
		</TR>
		<TR>
			<TD vAlign="top" noWrap align="right"><SPAN class="Form_LabelText">消息主题:</SPAN>
			</TD>
			<TD>
				<asp:TextBox id="txtSubject" Runat="Server" CssClass="Form_Field" MaxLength="100" Columns="50"></asp:TextBox>
				<asp:RequiredFieldValidator id="RequiredFieldValidator1" Runat="server" CssClass="Form_Message" ControlToValidate="txtSubject"
					Display="Dynamic" Text="(required)"></asp:RequiredFieldValidator></TD>
		</TR>
		<TR>
			<TD vAlign="top" noWrap align="right"><SPAN class="Form_LabelText">回复选项:</SPAN>
			</TD>
			<TD>
				<asp:RadioButtonList id="rblReplyOption" Runat="server" CssClass="Form_Field" Width="288px">
					<asp:ListItem Value="Recipient may only reply with a Private Message." Selected="True">接受者只能用私有消息回复</asp:ListItem>
					<asp:ListItem Value="Send my private email address with this message.">在本消息中包含我的私有Email地址</asp:ListItem>
				</asp:RadioButtonList></TD>
		</TR>
		<TR>
			<TD vAlign="top" noWrap align="right"><SPAN class="Form_LabelText">消息内容:</SPAN><BR>
				<asp:RequiredFieldValidator id="RequiredfieldvalidatortxtBodyText" Runat="server" CssClass="Form_Message" ControlToValidate="txtBodyText"
					Display="Dynamic" Text="(required)"></asp:RequiredFieldValidator></TD>
			<TD>
				<asp:TextBox id="txtBodyText" Runat="server" CssClass="Form_Field" MaxLength="2000" Columns="50"
					TextMode="MultiLine" Rows="10"></asp:TextBox></TD>
		</TR>
		<TR>
			<TD noWrap colSpan="2">
				<asp:Button id="btnPreviewMessage" Runat="server" Text="预览" EnableViewState="False"></asp:Button>
				<asp:Button id="btnClearForm" Runat="server" Text="清除" EnableViewState="False" CausesValidation="False"></asp:Button></TD>
		</TR>
		<TR>
			<TD noWrap colSpan="2">
				<asp:Label id="lblErrorMessage" Runat="server" CssClass="Error_Message" EnableViewState="False"></asp:Label></TD>
		</TR>
	</TABLE>
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" Runat="server" ID="pnlNotAuthenticated" EnableViewState="False">
	登陆后才能发送私有消息.<BR><BR><BR>
<asp:HyperLink id="LoginLink" Runat="server" Text="Login Now" EnableViewState="False">现在登陆</asp:HyperLink>
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" Runat="server" ID="pnlSenderWebMessageDisabled" EnableViewState="False">
	只有在你的用户档案中设置允许发送接收私有消息,你才能发送消息.<BR><BR>请编辑你的用户档案使能私有消息. 
<BR><BR><BR>
<asp:HyperLink id="ProfileLink" Runat="server" Text="Edit My Profile" EnableViewState="False">编辑我的档案</asp:HyperLink>
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" Runat="server" ID="pnlRecipientWebMessageDisabled" EnableViewState="False">
	你发送消息的接收方拒绝接收私有消息,无法发送<BR><BR>
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" ID="pnlRecipientInvalid" Runat="server" EnableViewState="False"> 你发送消息的接收方不是有效用户.
</asp:Panel>
<asp:Panel id="pnlConfirmSend" Runat="server" EnableViewState="False">
	<SPAN class="Form_Field">下面的消息将发送给&nbsp; 
<asp:Label id="lblRecipient" Runat="server"></asp:Label>.</SPAN>
	<BR>
	<BR>
	<TABLE cellSpacing="0" cellPadding="3" width="100%" border="0">
		<TR>
			<TD class="Form_LabelText" vAlign="top" noWrap width="53">主题:</TD>
			</TD>
			<TD vAlign="top" width="100%">
				<asp:Label id="lblConfirmSubject" Runat="server" EnableViewState="False"></asp:Label></TD>
		</TR>
	</TABLE>
	<TABLE class="Comments_Table" cellSpacing="0" cellPadding="3" width="100%" border="0">
		<TR>
			<TD>
				<asp:Label id="lblConfirmMessage" Runat="server" EnableViewState="False"></asp:Label></TD>
		</TR>
	</TABLE>
	<BR>
	<asp:Button id="btnSubmit" Runat="server" Text="发送消息" EnableViewState="False"></asp:Button>
	<asp:Button id="btnEditMessage" Runat="server" Text="修改消息" EnableViewState="False"></asp:Button>
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" id="pnlSendNotice" Runat="server"> 消息已发送.
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" ID="pnlSendError" Runat="server"> &nbsp;出现错误,请以后再发.
</asp:Panel>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -