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

📄 default.ascx

📁 一个ASP.NET下的中文内容管理和社区系统
💻 ASCX
字号:
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control %>
<!-- begin page -->
<table cellspacing="0" cellpadding="0" width="100%" valign="top" summary="Main layout table containing navigation, menus, contents and web box."
	border="0" style="POSITION:absolute; TOP:0px">
	<tbody>
		<tr>
			<td valign="top">
				<!-- top menu table goes all the way across and includes the corner graphics -->
				<table cellspacing="0" cellpadding="0" width="100%" bgcolor="#333333" summary="Top layout table containing main section navigation.."
					border="0">
					<tbody>
						<tr>
							<td valign="top" align="left">
								<img height="90" alt="left corner" hspace="0" src='<%=ResolveUrl( "../../Images/Corner_LeftTop.gif")%>' width="90" vspace="0" border="0" ></td>
							<td valign="bottom" align="center" width="100%" background='<%=ResolveUrl( "../../Images/Border_Top.gif")%>' >
								<table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" summary="Section Navigation Menu."
									border="0">
									<tbody>
										<tr width="70%">
											<!-- user login -->
											<td bgcolor="#000000" background='<%=ResolveUrl( "../../Images/Border_Top.gif")%>'>
												<community:UserLogin CssClass="UserLogin" Runat="server" id="UserLogin1" />
												<br>
											</td>
											<td valign="middle" align="center" bgcolor="#000000" background='<%=ResolveUrl( "../../Images/Border_Top.gif")%>'>
												<table cellspacing="0" cellpadding="0" border="0">
													<tbody>
														<tr>
															<!-- logo -->
															<td>
																<table width="319" cellspacing="0" cellpadding="0">
																	<tr>
																		<td height="90" bgcolor="#000000" background='<%=ResolveUrl( "../../Images/Logo.gif")%>' align="center">
																			<community:Logo Runat="server" id="Logo1" />
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</tbody>
												</table>
											</td>
											<!-- search -->
											<td bgcolor="#000000" background='<%=ResolveUrl( "../../Images/Border_Top.gif")%>' align="right" class="Search">
												搜索:&nbsp;
												<asp:TextBox id="txtSearch" height="15" font-size="7" width="110" Runat="Server" /><asp:LinkButton id="lnkSearch" Text=" Go" Runat="Server">
                      开始</asp:LinkButton>
											</td>
										</tr>
									</tbody>
								</table>
							</td>
							<td valign="top" align="right">
								<img height="90" alt="right corner" hspace="0" src='<%=ResolveUrl( "../../Images/Corner_RightTop.gif")%>' width="90" vspace="0" border="0" ></td>
						</tr>
					</tbody>
				</table>
			</td>
		</tr>
		<tr>
			<td valign="top">
				<!-- content table -->
				<table cellspacing="0" cellpadding="0" width="100%" summary="Page Contents." border="0">
					<tr>
						<!-- start left border cell -->
						<td width="1%" background='<%=ResolveUrl( "../../Images/Border_Left.gif")%>' rowspan="3">
							<img height="1" alt="" src='<%=ResolveUrl( "../../Images/Space.gif")%>' width="20" border="0" >
						</td>
						<!-- section menu -->
						<td bgcolor="#996633" colspan="2" class="SectionMenu" align="center" height="30">
							<community:SectionMenu CssClass="SectionMenu" runat="server" id="SectionMenu1" />
						</td>
						<!-- start right border cell -->
						<td width="1%" background='<%=ResolveUrl( "../../Images/Border_Right.gif")%>' rowspan="3">
							<img height="1" alt="" src='<%=ResolveUrl( "../../Images/space.gif")%>' width="20" border="0" >
						</td>
						<!-- end right border cell, but it spans the next row(s), too, and if you add more rows then just change the rowspan value -->
					</tr>
					<tr>
						<!-- left: Ad1, webboxes, webservices -->
						<td valign="middle" align="center" width="15%" bgcolor="#ffffff">
							<table height="100%" cellspacing="0" bordercolordark="#cecec1" cellpadding="3" width="100%"
								summary="Web box table contains web services information." bordercolorlight="#ffffcc"
								border="1">
								<tr>
									<td valign="middle" width="99%" align="center" colspan="2">
										<asp:AdRotator AdvertisementFile="~/Advertisements/BoxAds.xml" Width="125" height="125" Runat="server"
											id="AdRotator1" />
									</td>
								</tr>
								<tr>
									<td valign="middle" align="center" colspan="2">
										<br>
										<community:WebBoxList id="WebBoxes" RepeatDirection="Vertical" Runat="Server" />
										<br>
										<community:WebServiceBoxList id="WebServiceBoxes" RepeatDirection="Horizontal" Runat="Server" />
										<br>
										<br>
										<img height="6" alt="" src='<%=ResolveUrl( "../../Images/Space.gif")%>' width="165" border="0" >
									</td>
								</tr>
							</table>
						</td>
						<!-- right: content, Ad2  -->
						<td width="68%" background="Knotted_BackGround.gif" bgcolor="#996633" valign="top">
							<table bordercolor="#996633" cellspacing="1" cellpadding="3" width="100%" bgcolor="#ffffff"
								summary="Content table" border="4">
								<tr>
									<td valign="top" align="left" height="500">
										<table cellspacing="0" bordercolordark="#cecec1" cellpadding="2" width="100%" bordercolorlight="#ffffcc"
											border="1">
											<tbody>
												<tr>
													<td align="center" bgcolor="#cccc99" height="30" class="TopicMenu">
														<community:TopicMenu Runat="server" id="TopicMenu1" />
													</td>
												</tr>
											</tbody>
										</table>
										<br>
										<!-- Ad2 -->
										<div align="center"><asp:AdRotator AdvertisementFile="~/Advertisements/BannerAds.xml" Width="468" height="60" Runat="server"
												id="AdRotator2" /></div>
										<br>
										<!-- Crumb -->
										<div align="right" class="BreadCrumb"><community:BreadCrumb Runat="server" id="BreadCrumb1" /></div>
										<br>
										<br>
										<div align="center"><community:VotingControl Runat="server" id="VotingControl1" /></div>
										<!-- Content -->
										<asp:PlaceHolder id="Content" Runat="Server" />
										<p>
										</p>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<!-- bottom: Section menu -->
					<tr>
						<td bgcolor="#cccc99" colspan="2">
							<table cellspacing="0" cellpadding="0" width="100%" summary="Navigation table reiterates section links."
								border="0">
								<tbody>
									<tr>
										<td valign="top">
											<br>
											<center><community:SectionMenu skinfilename="Sections_SectionMenuBottom.ascx" CssClass="SectionMenu2" Runat="server"
													id="SectionMenu2" /></center>
										</td>
									</tr>
								</tbody>
							</table>
						</td>
					</tr>
					<tr>
						<td colspan="4">
							<table cellspacing="0" cellpadding="0" width="100%" summary="Graphic framework and copyright information"
								border="0">
								<tbody>
									<tr>
										<td valign="top" align="left">
											<img height="45" alt="left bottom corner" hspace="0" src='<%=ResolveUrl( "../../Images/Corner_LeftBottom.gif")%>' width="50" vspace="0" border="0" ></td>
										<td valign="top" align="center" width="100%" background='<%=ResolveUrl( "../../Images/Border_Bottom.gif")%>'>
											<div align="center" class="Content_BodyText"><asp:Placeholder id="Footer" Runat="Server" /></div>
										</td>
										<td valign="top" align="left">
											<img height="45" alt="right bottom corner" hspace="0" src='<%=ResolveUrl( "../../Images/Corner_RightBottom.gif")%>' width="50" vspace="0" border="0" ></td>
									</tr>
								</tbody>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</tbody>
</table>
<!-- end page -->

⌨️ 快捷键说明

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