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

📄 edit.aspx

📁 asp.net 商业2.0论坛对理解论坛的制作很用帮助
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="Edit.aspx.cs" AutoEventWireup="false" Inherits="Forum.Edit" %>
<%@ Register TagPrefix="Forum" TagName="Bt" Src="_Bt.ascx" %>
<%@ Register TagPrefix="Forum" TagName="Top" Src="_Top.ascx" %>
<HTML>
	<HEAD>
		<title>
			<%=Title%>
		</title>
		<script>
		function Gopreview()
		{
		document.PreView.sBody.value=document.Post.sBody.value;
		var popupWin = window.open('', 'PreView_Page', 'scrollbars=yes,width=750,height=450');
		document.PreView.submit()
		}
		</script>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<LINK href="Forum.css" type="text/css" rel="stylesheet">
		<script src="Ubb.js"></script>
	</HEAD>
	<body topMargin="0" leftmargin="0">
		<form id="Post" method="post" runat="server">
			<FORUM:TOP id="Top" Runat="server" EnableViewState="False"></FORUM:TOP>
			<table width="97%" align="center" cellpadding="4" cellspacing="1">
				<tr>
					<td>
						<asp:Label id="Path" runat="server" EnableViewState="False"></asp:Label>
					</td>
					<td align="right">
						<asp:label id="TopicWithMe" runat="server" EnableViewState="False"></asp:label>
					</td>
				</tr>
			</table>
			<asp:Table id="Table1" runat="server" CellPadding="4" CellSpacing="1" Width="97%" HorizontalAlign="Center">
				<asp:TableRow AccessKey="H">
					<asp:TableCell ColumnSpan="2">编辑</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell>主题标题:</asp:TableCell>
					<asp:TableCell>
						<asp:TextBox id="sTitle" runat="server" Columns="60" MaxLength="50"></asp:TextBox>
						<asp:TextBox id="sUsers" runat="server" Visible="False"></asp:TextBox>
						<asp:RequiredFieldValidator id="Requiredfieldvalidator1" runat="server" ErrorMessage="主题标题不能为空" Display="None" ControlToValidate="sTitle"></asp:RequiredFieldValidator>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell>当前心情:</asp:TableCell>
					<asp:TableCell>
						<asp:RadioButtonList ID="sFace" Runat="server" RepeatDirection="Horizontal" RepeatColumns="9" RepeatLayout="Table" Width="500">
							<asp:ListItem Value="1" Text="<img src='Face/Face1.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="2" Text="<img src='Face/Face2.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="3" Text="<img src='Face/Face3.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="4" Text="<img src='Face/Face4.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="5" Text="<img src='Face/Face5.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="6" Text="<img src='Face/Face6.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="7" Text="<img src='Face/Face7.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="8" Text="<img src='Face/Face8.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="9" Text="<img src='Face/Face9.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="11" Text="<img src='Face/Face11.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="11" Text="<img src='Face/Face11.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="12" Text="<img src='Face/Face12.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="13" Text="<img src='Face/Face13.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="14" Text="<img src='Face/Face14.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="15" Text="<img src='Face/Face15.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="16" Text="<img src='Face/Face16.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="17" Text="<img src='Face/Face17.gif' broder='0'"></asp:ListItem>
							<asp:ListItem Value="18" Text="<img src='Face/Face18.gif' broder='0'"></asp:ListItem>
						</asp:RadioButtonList>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell VerticalAlign="Top">内容:</asp:TableCell>
					<asp:TableCell>
						<iframe name="ad" frameborder="0" width="100%" height="30" scrolling="no" src="Upimages.aspx?fbId=<%=fbId%>&isRe=Post">
						</iframe>
						<!--#include file="Ubb.htm"-->
						<asp:TextBox id="sBody" runat="server" TextMode="MultiLine" Rows="12" Columns="80"></asp:TextBox>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell VerticalAlign="Top"></asp:TableCell>
					<asp:TableCell>
						<asp:Button id="Save" Text="发  表" Runat="server" OnClick="Save_Click"></asp:Button>
						<input type="button" value='预  览' name="Button" onclick="Gopreview()"> <INPUT type="reset" value="清  除">
					</asp:TableCell>
				</asp:TableRow>
			</asp:Table>
			<asp:ValidationSummary id="ValidationSummary1" runat="server" ShowSummary="False" DisplayMode="List" ShowMessageBox="True"></asp:ValidationSummary>
			<FORUM:BT id="Bt" Runat="server" EnableViewState="False"></FORUM:BT>
		</form>
		<form name="PreView" action="PreView.aspx?fbId=<%=fbId%>" method="post" target="PreView_Page">
			<input type="hidden" name="sBody">
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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