📄 default.ascx
字号:
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control Language="C#" %>
<meta name="vs_snapToGrid" content="False">
<meta name="vs_showGrid" content="True">
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<!-- Outer Left Line -->
<td width="2" bgColor="#dcddde"><img height=1
src='<%=ResolveUrl("../../Images/Spacer.gif")%>' width=2 border=0
></td>
<!-- Inner Table -->
<td vAlign="top">
<table height="70" cellSpacing="0" cellPadding="0" width="100%" border="0">
<!-- Logo Row -->
<tr>
<td class="LogoCell" vAlign="middle" align="center" width="150" bgColor="#D3FAD4" height="70"
border="0" cellspacing="0" cellpadding="0">
<table height="70" width="150">
<tr>
<td class="LogoCell" vAlign="middle" align="center"><community:logo id="logo" Runat="Server"></community:logo></td>
</tr>
</table>
</td>
<td width="3" bgColor="#ffffff"><img height=1
src='<%=ResolveUrl("../../Images/Spacer.gif")%>' width=3 border=0
></td>
<td class="BannerCell" width="100%" bgColor="#D3FAD4">
<!-- Banner/BigImage -->
<table cellSpacing="0" width="100%" border="0">
<tr>
<td vAlign="middle" align="center"><asp:adrotator id="AdRotator1" Runat="server" height="60" Width="453px" AdvertisementFile="~/Advertisements/BannerAds.xml"></asp:adrotator></td>
<td class="BigImage" vAlign="middle" align="center" width="200">
</td>
</tr>
</table>
<FONT face="宋体"></FONT>
</td>
</tr>
<!-- Spacer Row -->
<tr>
<td width="150" height="4"></td>
<td width="3"><img height=1
src='<%=ResolveUrl("../../Images/Spacer.gif")%>' width=3 border=0
></td>
<td height="4"><FONT face="宋体"></FONT></td>
</tr>
<!-- Topic Row -->
<tr>
<td class="SmallImage" align="center" width="150" bgColor="#000000" height="22">
</td>
<td width="3"><img src='<%=ResolveUrl("../../Images/Spacer.gif")%>' width="3" height="1" border="0"></td>
<td class="TopicCell" bgColor="#2f7eb0">
<community:topicmenu id="TopicMenu1" runat="server" CssClass="TopicMenu"></community:topicmenu></td>
</tr>
<!-- Content Row -->
<tr>
<td vAlign="top" width="150">
<P><FONT face="宋体">
<TABLE height="100" cellSpacing="0" cellPadding="3" border="0">
<TBODY>
<TR>
<TD height="21">
<community:sectionmenu id="SectionMenu1" Runat="server" CssClass="SectionMenu"></community:sectionmenu><BR>
</TD>
</TR> <!-- Middle-Right: Search-->
<TR>
<TD class="Search" width="100%" bgColor="#dcddde" height="49">
<P><FONT face="宋体" size="2">搜索:</FONT><FONT face="宋体">
<BR>
<asp:textbox id="txtSearch" Runat="Server" height="18px" Font-Names="Arial" font-size="10px"
width="110"></asp:textbox>
<asp:linkbutton id="lnkSearch" Runat="Server" Height="21px" Text=" Go"></asp:linkbutton></P>
</FONT>
</td>
</tr> <!-- Middle-Right: Login -->
<TR>
<TD vAlign="top" align="left" height="20"></TD>
</TR>
</table>
</FONT><community:userlogin id="UserLogin1" Runat="server" CssClass="UserLogin" Width="104px" Height="1px"></community:userlogin></P>
</td>
<td width="3"><img height=1
src='<%=ResolveUrl("../../Images/Spacer.gif")%>' width=3
></td>
<!-- Inner Content Table -->
<td>
<table height="520" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td vAlign="top" width="100%">
<table cellSpacing="0" cellPadding="5" width="100%" border="0">
<tr>
<td vAlign="top">
<div align="right"><community:breadcrumb id="BreadCrumb1" Runat="server" CssClass="BreadCrumb"></community:breadcrumb></div>
<br>
<br>
<!-- Middle-Center: Content -->
<div class="Content">
<asp:placeholder id="Content" Runat="Server"></asp:placeholder></div>
</td>
</tr>
</table>
</td>
<!-- Blue line -->
<td width="1" bgColor="#2f7eb0"><img height=1
src='<%=ResolveUrl("../../Images/Spacer.gif")%>' width=1
></td>
<!-- Web Boxes -->
<td vAlign="top">
<table width="150">
<!--
<tr>
<td align="center">
<asp:AdRotator id="AdRotator2" Runat="server" AdvertisementFile="~/Advertisements/BoxAds.xml" Width="125"
height="125"></asp:AdRotator></td>
</tr>
-->
<TR>
<TD align="center"><!-- Voting -->
<div align="center"><community:votingcontrol id="Votingcontrol2" Runat="Server"></community:votingcontrol></div>
</TD>
</TR>
<tr>
<td align="center" height="21">
<community:webboxlist id="WebBoxes" Runat="Server" Height="8px"></community:webboxlist><br>
</td>
</tr>
<tr>
<td align="center"><community:webserviceboxlist id="WebServiceBoxes" Runat="Server"></community:webserviceboxlist><br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- Footer Row -->
<tr>
<td class="FooterLeftCell" bgColor="#2f7eb0" height="23">
</td>
<td width="3"><img height=1
src='<%=ResolveUrl("../../Images/Spacer.gif")%>' width=3
></td>
<td bgcolor="#dcddde" class="FooterRightCell">
<div class="FooterText" align="center">
<asp:placeholder id="Footer" Runat="Server"></asp:placeholder> </div>
</td>
</tr>
</table>
</TD>
<!-- End Inner Table -->
<!-- Right Outer Line -->
<td width="2" bgColor="#dcddde"><img src='<%=ResolveUrl("../../Images/Spacer.gif")%>' width="2" height="1"></td>
</TR></TBODY></TABLE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -