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

📄 default.ascx

📁 一个ASP.NET下的中文内容管理和社区系统
💻 ASCX
字号:
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control %>
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Top-level layout table contains all page elements">
	<!-- Top -->
	<tr>
		<td valign="top">
			<table width="100%" border="0" cellpadding="0" cellspacing="2" summary="Home logo, banners, and site log in and administration links.">
				<tr>
					<!-- Top: Logo -->
					<td width="40%" align="left" valign="middle" height="100">
						<community:Logo id="Logo" Runat="Server" />
					</td>
					<td width="50%" align="right" valign="middle">
						<!-- Top: Box ad -->
						<asp:AdRotator AdvertisementFile="~/Advertisements/BannerAds.xml" Width="468" height="60" Runat="server"
							id="AdRotator1" />
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<!-- Left -->
	<tr>
		<td valign="top" align="left" width="100%">
			<table border="0" width="100%" cellpadding="6" cellspacing="0" summary="Topic links, Web services boxes, and content area.">
				<tr>
					<td rowspan="2" width="200" valign="top" align="left" background='<%=ResolveUrl( "../../Images/night2.gif")%>'>
						<table width="100%" border="0" bordercolorlight="#ffffee" bordercolordark="#eeeeee" cellpadding="2"
							cellspacing="6" summary="Web Box Table One">
							<!-- Left: Login -->
							<tr>
								<td width="100%" valign="middle">
									<table width="100%" border="0" cellpadding="0" cellspacing="2">
										<tr>
											<td width="100%" align="left" valign="middle" class="SectionHead"></td>
										</tr>
										<tr>
											<td width="100%" height="30" align="left" valign="middle">
												<community:UserLogin CssClass="UserLogin" Runat="server" id="UserLogin1" />
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<!-- Left: Sections Menu -->
							<tr>
								<td width="100%" height="180" valign="middle" bgcolor="#333333">
									<table border="0" cellpadding="0" cellspacing="2" width="100%">
										<tr>
											<td valign="middle" align="left" Class="SectionMenu">
												<community:SectionMenu Runat="server" id="SectionMenu1" />
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						<!-- Left: Box -->
					</td>
					<!-- Right -->
					<td width="70%" height="30" valign="middle" background='<%=ResolveUrl( "../../Images/night2.gif")%>' bgcolor="#777777" colspan="1">
						<table width="100%" height="100%" border="0" bordercolor="#b1b2c1" cellpadding="6" cellspacing="0"
							summary="Content 1">
							<!-- Right: Topics Menu -->
							<tr>
								<td valign="middle" align="center" bgcolor="#333333" rowspan="3" height="48" width="100%">
									<community:TopicMenu CssClass="TopicMenu" runat="server" id="TopicMenu1" />
								</td>
							</tr>
						</table>
					</td>
					<!-- Right: Search -->
					<td valign="top" align="left" background='<%=ResolveUrl( "../../Images/night2.gif")%>' bgcolor="#777777" height="48" class="Search">
						搜索:
						<br>
						<asp:TextBox id="txtSearch" height="15" font-size="7" width="110" Runat="Server" /><Br>
						<asp:LinkButton id="lnkSearch" Text="Go" Runat="Server">
          开始</asp:LinkButton>
					</td>
				</tr>
				<!-- Right: Content -->
				<tr>
					<td width="100%" height="100%" valign="top" background='<%=ResolveUrl( "../../Images/forest.gif")%>'>
						<table width="100%" height="100%" border="0" bgcolor="#adc595" cellpadding="12" cellspacing="0"
							summary="Content 2">
							<tr>
								<td valign="top" height="600">
									<!-- Right: Crumb -->
									<div align="right"><community:BreadCrumb CssClass="BreadCrumb" Runat="server" id="BreadCrumb1" /></div>
									<br>
									<br>
									<div align="center"><community:VotingControl QuestionStyle-Font-Size="14px" ItemStyle-Font-Size="12px" Runat="server" id="VotingControl1" /></div>
									<span class="Content">
										<asp:PlaceHolder id="Content" Runat="Server" />
									</span>
								</td>
							</tr>
						</table>
					</td>
					<!-- Right: Box Ad -->
					<td valign="top" background='<%=ResolveUrl( "../../Images/night2.gif")%>' bgcolor="#777777">
						<table width="100%" border="0" cellpadding="2" cellspacing="6">
							<tr>
								<td valign="top" align="center">
									<asp:AdRotator AdvertisementFile="~/Advertisements/BoxAds.xml" Width="125" height="125" Runat="server"
										id="AdRotator2" />
								</td>
							</tr>
						</table>
						<!-- Right: Web Box -->
						<table width="100%" border="0" cellpadding="2" cellspacing="6" summary="Web Box Table Three">
							<tr>
								<td valign="top" align="center" height="180">
									<br>
									<community:WebBoxList id="WebBoxes" RepeatDirection="Horizontal" Runat="Server" />
									<br>
									<community:WebServiceBoxList id="WebServiceBoxes" RepeatDirection="Horizontal" Runat="Server" />
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<!-- Botttom -->
				<tr>
					<td colspan="3"  background='<%=ResolveUrl( "../../Images/night2.gif")%>' >
						<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation table reiterates section links.">
							<tr>
								<!-- Bottom: Sections Menu -->
								<td valign="bottom">
									<div align="center">
										<community:SectionMenu SkinFilename="Sections_SectionMenuBottom.ascx" CssClass="SectionMenu2" Runat="server"
											id="SectionMenu2" />
									</div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<!-- Bottom: Copyright -->
				<tr>
					<td colspan="2" align="center">
						<table width="50%" border="0" cellpadding="0" cellspacing="0" summary="Graphic framework and copyright information">
							<tr>
								<td valign="middle" align="center" height="30" Class="FooterText">
									<asp:PlaceHolder id="Footer" Runat="Server" />
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

⌨️ 快捷键说明

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