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

📄 good.aspx

📁 asp.net 商业2.0论坛对理解论坛的制作很用帮助
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="Good.aspx.cs" AutoEventWireup="false" Inherits="Forum.Good" %>
<%@ Register TagPrefix="Forum" TagName="Top" Src="_Top.ascx" %>
<%@ Register TagPrefix="Forum" TagName="Bt" Src="_Bt.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=Title%>
		</title>
		<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">
	</HEAD>
	<body topMargin="0" leftmargin="0">
		<form id="List" method="post" runat="server">
			<FORUM:TOP id="Top" Runat="server" EnableViewState="False"></FORUM:TOP>
			<table cellSpacing="1" cellpadding="4" width="97%" align="center">
				<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" EnableViewState="False">
				<asp:TableRow AccessKey="H">
					<asp:TableCell>
						目前
<asp:Label runat="server" ID="OBoard"></asp:Label>
在线<B>
							<asp:Label runat="server" ID="OAll"></asp:Label>
						</B>人,<B>
							<asp:Label runat="server" ID="OUsers"></asp:Label>
						</B>位会员 <B>
							<asp:Label runat="server" ID="OGuest"></asp:Label>
						</B>位客人
					</asp:TableCell>
					<asp:TableCell Width="30px">
						<asp:Label runat="server" ID="Refresh"></asp:Label>
					</asp:TableCell>
				</asp:TableRow>
				<asp:TableRow AccessKey="B">
					<asp:TableCell ColumnSpan="2">
						<asp:DataList runat="server" Width="100%" RepeatDirection="Horizontal" ID="dlfoList" CellPadding="0" RepeatLayout="Flow">
							<ItemTemplate>
								<asp:Label ID="OnlineName" Runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Online_Name") %>'>
								</asp:Label>
								<asp:Label id="OnlineClass" runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Online_Class") %>'>
								</asp:Label>
								<asp:Label id="OnlineIp" runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Online_Ip") %>'>
								</asp:Label>
								<asp:Label id="OnlineSystem" runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Online_System") %>'>
								</asp:Label>
								<asp:Label id="OnlineBrowser" runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Online_Browser") %>'>
								</asp:Label>
								<asp:Label id="OnlineLocation" runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Online_Location") %>'>
								</asp:Label>
								<asp:Label id="OnlineAction" runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Online_Action") %>'>
								</asp:Label>
								<asp:Label id="OnlineLogin" runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Online_Login") %>'>
								</asp:Label>
								<asp:Label id="OnlineNow" runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Online_Now") %>'>
								</asp:Label>
								<asp:Label id="Online" runat="server"></asp:Label>
							</ItemTemplate>
						</asp:DataList>
					</asp:TableCell>
				</asp:TableRow>
			</asp:Table>
			<br>
			<table cellSpacing="0" cellPadding="0" width="97%" align="center">
				<tr>
					<td>
						<asp:label id="Postnew" runat="server" EnableViewState="False"></asp:label>
					</td>
					<td align="right">
						<asp:label id="Url" runat="server" EnableViewState="False"></asp:label>
						<img src="Pic/Team.gif" border="0" align="absMiddle">
						<asp:label id="Admin" runat="server" EnableViewState="False"></asp:label>
					</td>
				</tr>
			</table>
			<asp:datagrid id="dgfiList" runat="server" cellpadding="4" CellSpacing="1" Width="97%" BorderWidth="0px" AllowPaging="True" AutoGenerateColumns="False" HorizontalAlign="Center" PageSize="20" EnableViewState="False">
				<Columns>
					<asp:TemplateColumn HeaderText="状态">
						<HeaderStyle HorizontalAlign="Center" Width="25px"></HeaderStyle>
						<ItemStyle HorizontalAlign="Center" VerticalAlign="Top"></ItemStyle>
						<ItemTemplate>
							<asp:Label ID="Id" Runat="server" Visible="False" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_Id") %>'>
							</asp:Label>
							<asp:Label ID="RootId" Runat="server" Visible="False" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_ParentId") %>'>
							</asp:Label>
							<asp:Label ID="BoardId" Runat="server" Visible="False" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_BoardId") %>'>
							</asp:Label>
							<asp:Label ID="Pic" Runat="server">
								<img src='Pic/Normal.gif' border='0'></asp:Label>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="主 题(点&lt;img src='Pic/Open.gif' border='0'&gt;即可展开贴子列表)">
						<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
						<ItemStyle VerticalAlign="Top"></ItemStyle>
						<ItemTemplate>
							<asp:ImageButton ID="ImgOpen" ImageUrl="Pic/Open.gif" BorderWidth="0" Width="16" Height="16" OnCommand="ImageButton_Command" Runat="server"></asp:ImageButton>
							<asp:Label ID="IsTop" Runat="server" Visible="False" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_IsTop") %>'>
							</asp:Label>
							<asp:Label ID="IsLock" Runat="server" Visible="False" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_IsLock") %>'>
							</asp:Label>
							<asp:Label ID="IsGood" Runat="server" Visible="False" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_IsGood") %>'>
							</asp:Label>
							<asp:Label ID="Title" Runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_Title") %>'>
							</asp:Label>
							<asp:Label ID="Pageing" Runat="server"></asp:Label>
							<asp:DataList ID="dlcdList" Runat="server" Width="100%" RepeatDirection="Vertical" RepeatLayout="Table" CellPadding="2" CellSpacing="1">
								<ItemTemplate>
									<img src="Pic/Close.gif" border="0">
									<asp:Label ID="Child" Runat="server"></asp:Label>
									<asp:Label ID="cId" Runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_Id") %>'>'></asp:Label>
									<asp:Label ID="cTitle" Runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_Title") %>'>
									</asp:Label>
									<asp:Label ID="cUsers" Runat="server" Visible="False" text='<%# DataBinder.Eval(Container, "DataItem.Forum_Users_Name") %>'>
									</asp:Label>
								</ItemTemplate>
							</asp:DataList>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="作 者">
						<HeaderStyle HorizontalAlign="Center" Width="80px"></HeaderStyle>
						<ItemStyle HorizontalAlign="Center" VerticalAlign="Top"></ItemStyle>
						<ItemTemplate>
							<a href='UsersView.aspx?U=<%# DataBinder.Eval(Container, "DataItem.Forum_Info_Users") %>' target='_blank'>
								<%# DataBinder.Eval(Container, "DataItem.Forum_Info_Users") %>
							</a>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="回复 / 人气">
						<HeaderStyle HorizontalAlign="Center" Width="80px"></HeaderStyle>
						<ItemStyle HorizontalAlign="Center" VerticalAlign="Top"></ItemStyle>
						<ItemTemplate>
							<asp:Label ID="Revert" Runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_Revert") %>'>
							</asp:Label>
							/
							<asp:Label ID="Hit" Runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_Hit") %>'>
							</asp:Label>
						</ItemTemplate>
					</asp:TemplateColumn>
					<asp:TemplateColumn HeaderText="最后更新 | 回复人">
						<HeaderStyle HorizontalAlign="Center" Width="175px"></HeaderStyle>
						<ItemStyle VerticalAlign="Top"></ItemStyle>
						<ItemTemplate>
							&nbsp;
							<asp:Label ID="RevertDate" Runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_RevertDate") %>'>
							</asp:Label>
							|
							<asp:Label ID="RevertUsers" Runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Forum_Info_RevertUsers") %>'>
							</asp:Label>
						</ItemTemplate>
					</asp:TemplateColumn>
				</Columns>
				<PagerStyle Visible="False"></PagerStyle>
			</asp:datagrid>
			<table cellSpacing="0" cellPadding="0" width="97%" align="center">
				<tr>
					<td>
						<asp:label id="PageInfo" runat="server" EnableViewState="False"></asp:label>
					</td>
					<td>
						<P align="right">
							<asp:label id="PageLink" Runat="server" EnableViewState="False"></asp:label>
							&nbsp;跳转到第
							<asp:textbox id="JumpTo" runat="server" Columns="2" EnableViewState="False"></asp:textbox>
							<asp:button id="ToPage" runat="server" Text="GO" OnClick="ToPage_Click"></asp:button>
						</P>
					</td>
				</tr>
			</table>
			<FORUM:BT id="Bt" Runat="server" EnableViewState="False"></FORUM:BT>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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