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

📄 edit.aspx

📁 功能介绍: 支持站长管理(删除、修改、回复) 支持邮件发送 支持数据库加密码 留言含邮箱、主页、QQ、MSN、来自、邮件提示、IP获取、回复等功能 初始用户:admin 密码:admin
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="Edit.aspx.cs" AutoEventWireup="false" Inherits="Gbook.Edit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Edit</title>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		<LINK href="Site.Css" type="text/css" rel="stylesheet">
			<SCRIPT language="Javascript" src="table.htc"></SCRIPT>
			<META content="MSHTML 6.00.2800.1106" name="GENERATOR">
	</HEAD>
	<BODY text="#000000" vLink="#000000" aLink="#000000" link="#000000" bgColor="#ffffff"
		leftMargin="0" topMargin="0">
		<br>
		<form id="Form1" method="post" runat="server">
			<TABLE cellSpacing="0" borderColorDark="#999999" cellPadding="2" width="600" align="center"
				borderColorLight="#999999" border="1">
				<TBODY>
					<TR vAlign="top" bgColor="#dddddd">
						<TD borderColorLight="#dddddd" borderColorDark="#dddddd" colSpan="2" height="19">
							<TABLE cellSpacing="0" borderColorDark="#dddddd" cellPadding="1" width="100%" align="center"
								borderColorLight="#dddddd" border="1">
								<TBODY>
									<TR>
										<TD onmouseup="up(a)" onmousedown="down(a)" id="a" onmouseover="over(a)" onclick="window.location='http://www.1studio.net'"
											onmouseout="out(a)" borderColorLight="#666666" align="center" width="60" bgColor="#cecbde"
											borderColorDark="#ffffff" height="20"><FONT color="#4e4873">返回主页</FONT></TD>
										<TD width="1"></TD>
										<TD onmouseup="up(b)" onmousedown="down(b)" id="b" onmouseover="over(b)" onclick="window.location='Admin.aspx'"
											onmouseout="out(b)" borderColorLight="#666666" align="center" width="60" bgColor="#cecbde"
											borderColorDark="#ffffff"><FONT color="#4e4873">留言管理</FONT></TD>
										<TD width="1"></TD>
										<TD onmouseup="up(d)" onmousedown="down(d)" id="d" onmouseover="over(d)" onclick="window.location='Index.aspx'"
											onmouseout="out(d)" borderColorLight="#666666" align="center" width="70" bgColor="#cecbde"
											borderColorDark="#ffffff"><FONT color="#4e4873">留言板首页</FONT></TD>
										<TD width="1"></TD>
										<TD vAlign="bottom" align="right" bgColor="#dddddd"><asp:button id="btnLogout" runat="server" CssClass="button" Text="退出管理"></asp:button>&nbsp;</TD>
									</TR>
								</TBODY></TABLE>
						</TD>
					</TR>
				</TBODY></TABLE>
			<BR>
			<table cellSpacing="0" cellPadding="0" width="600" align="center" border="0">
				<tbody>
					<tr>
						<td vAlign="bottom" align="center" height="25"><asp:validationsummary id="ValidationSummary1" runat="server" DisplayMode="SingleParagraph" Width="580px"></asp:validationsummary><asp:label id="lblMessage" runat="server" Visible="False"></asp:label></td>
					</tr>
				</tbody></table>
			<TABLE cellSpacing="0" borderColorDark="#999999" cellPadding="2" width="600" align="center"
				borderColorLight="#999999" border="1">
				<TBODY>
					<TR vAlign="top" bgColor="#dddddd">
						<TD borderColorLight="#dddddd" borderColorDark="#dddddd" colSpan="2" height="19">
							<TABLE height="100" cellSpacing="0" borderColorDark="#dddddd" cellPadding="1" width="100%"
								align="center" borderColorLight="#dddddd" border="1">
								<TBODY>
									<TR>
										<TD vAlign="top" borderColorLight="#ffffff" align="center" width="250" bgColor="#dddddd"
											borderColorDark="#666666" height="150">
											<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
							<TR>
								<TD width="30"><IMG height="24" src="image/name.gif" width="24"></TD>
								<TD width="35">昵称</TD>
								<TD><asp:textbox id="GM_NAME" runat="server" MaxLength="20" CssClass="editbox1" Width="170px" Wrap="False"></asp:textbox><asp:requiredfieldvalidator id="RF_NAME" runat="server" ErrorMessage="用户名是必须的" ControlToValidate="GM_NAME"></asp:requiredfieldvalidator></TD>
							</TR>
							<TR>
								<TD width="30"><IMG height="24" src="image/email.gif" width="24"></TD>
								<TD width="35">邮箱</TD>
								<TD><asp:textbox id="GM_EMAIL" runat="server" MaxLength="100" CssClass="editbox1" Width="170px" Wrap="False"></asp:textbox><asp:requiredfieldvalidator id="RF_EMAIL" runat="server" ErrorMessage="邮箱是必须的" ControlToValidate="GM_EMAIL"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RE_EMAIL" runat="server" ErrorMessage="邮箱格式错误!" ControlToValidate="GM_EMAIL"
										ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator></TD>
							</TR>
							<TR>
								<TD width="30"><IMG height="24" src="image/homepage.gif" width="24"></TD>
								<TD width="35">主页</TD>
								<TD><asp:textbox id="GM_HOMEPAGE" runat="server" MaxLength="100" CssClass="editbox1" Width="170px"
										Wrap="False">http://</asp:textbox><asp:regularexpressionvalidator id="RE_HOMEPAGE" runat="server" ErrorMessage="主页格式错误!" ControlToValidate="GM_HOMEPAGE"
										ValidationExpression="http://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:regularexpressionvalidator></TD>
							</TR>
							<TR>
								<TD width="30"><IMG height="24" src="image/oicq.gif" width="24"></TD>
								<TD class="size" width="35">OICQ</TD>
								<TD><asp:textbox id="GM_OICQ" runat="server" MaxLength="10" CssClass="editbox1" Width="170px" Wrap="False"></asp:textbox><asp:regularexpressionvalidator id="RF_OICQ" runat="server" ErrorMessage="OICQ格式错误!" ControlToValidate="GM_OICQ"
										ValidationExpression="\w{5,12}"></asp:regularexpressionvalidator></TD>
							</TR>
							<TR>
								<TD width="30"><IMG height="24" src="image/msn.gif" width="24"></TD>
								<TD class="size" width="35">MSN</TD>
								<TD><asp:textbox id="GM_MSN" runat="server" MaxLength="100" CssClass="editbox1" Width="170px" Wrap="False"></asp:textbox><asp:regularexpressionvalidator id="RE_MSN" runat="server" ErrorMessage="MSN格式错误!" ControlToValidate="GM_MSN" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator></TD>
							</TR>
							<TR>
								<TD width="30"><IMG height="24" src="image/ip.gif" width="24"></TD>
								<TD width="35">来自</TD>
								<TD><asp:dropdownlist id="GM_AREA" runat="server" CssClass="editbox1">
										<asp:ListItem Value="">请选择...</asp:ListItem>
										<asp:ListItem Value="北京">北京</asp:ListItem>
										<asp:ListItem Value="广东">广东</asp:ListItem>
										<asp:ListItem Value="上海">上海</asp:ListItem>
										<asp:ListItem Value="新疆">新疆</asp:ListItem>
										<asp:ListItem Value="辽宁">辽宁</asp:ListItem>
										<asp:ListItem Value="广西">广西</asp:ListItem>
										<asp:ListItem Value="海南">海南</asp:ListItem>
										<asp:ListItem Value="湖南">湖南</asp:ListItem>
										<asp:ListItem Value="甘肃">甘肃</asp:ListItem>
										<asp:ListItem Value="河北">河北</asp:ListItem>
										<asp:ListItem Value="湖北">湖北</asp:ListItem>
										<asp:ListItem Value="江西">江西</asp:ListItem>
										<asp:ListItem Value="江苏">江苏</asp:ListItem>
										<asp:ListItem Value="西藏">西藏</asp:ListItem>
										<asp:ListItem Value="山东">山东</asp:ListItem>
										<asp:ListItem Value="浙江">浙江</asp:ListItem>
										<asp:ListItem Value="安徽">安徽</asp:ListItem>
										<asp:ListItem Value="福建">福建</asp:ListItem>
										<asp:ListItem Value="吉林">吉林</asp:ListItem>
										<asp:ListItem Value="黑龙江">黑龙江</asp:ListItem>
										<asp:ListItem Value="山西">山西</asp:ListItem>
										<asp:ListItem Value="云南">云南</asp:ListItem>
										<asp:ListItem Value="贵州">贵州</asp:ListItem>
										<asp:ListItem Value="四川">四川</asp:ListItem>
										<asp:ListItem Value="陕西">陕西</asp:ListItem>
										<asp:ListItem Value="重庆">重庆</asp:ListItem>
										<asp:ListItem Value="天津">天津</asp:ListItem>
										<asp:ListItem Value="河南">河南</asp:ListItem>
										<asp:ListItem Value="青海">青海</asp:ListItem>
										<asp:ListItem Value="宁夏">宁夏</asp:ListItem>
										<asp:ListItem Value="台湾">台湾</asp:ListItem>
										<asp:ListItem Value="香港">香港</asp:ListItem>
										<asp:ListItem Value="澳门">澳门</asp:ListItem>
										<asp:ListItem Value="内蒙古">内蒙古</asp:ListItem>
										<asp:ListItem Value="其它地区">其它地区</asp:ListItem>
									</asp:dropdownlist></TD>
							</TR>
						</TABLE>
					</TD>
					<TD width="1"></TD>
					<TD vAlign="top" borderColorLight="#ffffff" align="center" bgColor="#dddddd" borderColorDark="#666666">
						<TABLE id="Table5" cellSpacing="0" cellPadding="0" width="303" border="0">
							<TR>
								<TD width="30"><IMG height="24" src="image/content.gif" width="24"><BR>
								</TD>
								<TD width="273">留言内容:
								</TD>
							</TR>
							<TR>
								<TD width="300" colSpan="2">&nbsp;
									<asp:textbox id="GM_CONTENT" runat="server" CssClass="editbox2" Width="309px" Height="78px" TextMode="MultiLine"></asp:textbox><asp:requiredfieldvalidator id="RF_MESSAGE" runat="server" ErrorMessage="留言内容是必须的" ControlToValidate="GM_CONTENT"></asp:requiredfieldvalidator></TD>
							</TR>
						</TABLE>
						<TABLE id="Table6" cellSpacing="0" cellPadding="0" width="310" border="0">
							<TR>
								<TD>回复:
									<asp:textbox id="GM_REPLY" runat="server" CssClass="editbox2" Width="309px" Height="78px" TextMode="MultiLine"></asp:textbox></TD>
							</TR>
							<TR>
								<TD><asp:checkbox id="GM_REPLY_EMAIL" runat="server" Text="站长回复后发邮件给您(需填写邮箱) "></asp:checkbox></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD colSpan="3" height="4"></TD>
				</TR>
				<TR>
					<TD vAlign="top" borderColorLight="#ffffff" align="center" bgColor="#dddddd" borderColorDark="#666666"
						colSpan="3"><asp:radiobuttonlist id="GM_FACE" runat="server" CellSpacing="1" CellPadding="1" RepeatColumns="9">
							<asp:ListItem Value="02">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_02.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="01">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_01.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="03">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_03.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="04">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_04.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="05">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_05.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="06">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_06.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="07">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_07.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="08">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_08.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="09">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_09.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="10">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_10.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="18">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_18.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="19">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_19.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="20">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_20.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="21">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_21.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="22">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_22.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="23">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_23.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="24">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_24.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
							<asp:ListItem Value="25">
													&lt;IMG height=&quot;32&quot; src=&quot;image/icon_25.gif&quot; width=&quot;32&quot;&gt;</asp:ListItem>
						</asp:radiobuttonlist></TD>
				</TR>
				<TR>
					<TD colSpan="3" height="4"></TD>
				</TR>
				<TR>
					<TD borderColorLight="#ffffff" bgColor="#dddddd" borderColorDark="#666666" colSpan="3"
						height="30">&nbsp;
						<asp:button id="btnSubmit" runat="server" CssClass="button" Text="提 交"></asp:button>
						<input type="hidden" id="GMID" runat="server">
						</TD>
								</TBODY></TABLE>
						</TD>
					</TR>
				</TBODY></TABLE>
			
				<!--#include file="Footer.aspx"-->
				<br>
		</form>
	</BODY>
</HTML>

⌨️ 快捷键说明

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