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

📄 default.ascx

📁 ASP开发网站的 关于网站的设计和说明 还有SQL的程序 数据库
💻 ASCX
字号:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<Table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#660000" style="border-style: none none solid none; border-color: #330000; border-width:2px;">
  <tr>
    <td>&nbsp;</td>
    <td height="30" align="right"><table width="100%" border="0" cellpadding="3" cellspacing="0"><community:SectionMenu CssClass="SectionMenu" Runat="Server" /></table></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Top-level layout table contains all page elements">

<!-- Top -->
  <tr>
    <td valign="top" bgcolor="#ecece4">
      <table width="100%" border="0" cellpadding="0" cellspacing="2" bgcolor="#ecece4" summary="Home logo, banners, and site log in and administration links.">
        <tr>

<!-- Top: Logo -->
          <td width="40%" align="left" valign="middle">
            <community:Logo Runat="Server" />
          </td>
          <td width="10%" align="right" valign="middle" background="Border_TopBackground.gif">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">

<!-- Top: Login  -->
               <community:UserLogin CssClass="UserLogin" Runat="Server"/>	
             </table>
          </td>
          <td width="50%" align="left" valign="middle" bgcolor="#ecece4">

<!-- Top: Banner ad -->
            <asp:AdRotator AdvertisementFile="~/Advertisements/BannerAds.xml" Width="468" height="60" Runat="Server"/>
           </td>
        </tr>
      </table><br>
    </td>
  </tr>

<!-- Left -->
  <tr>
    <td valign="top" align="left" bgcolor="#A52A2A">
      <table border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="#A52A2A">
        <tr>
          <td rowspan="2" width="200" valign="top" align="left"  style="border-left-style: none; border-top-style: none; border-color: #330000; border-width:2px;">
 
<!-- Left: Sections Menu and Search -->

<!-- Left: Search -->
           <table  width="100%" border="0" bgcolor="#A52A2A" cellpadding="2" cellspacing="6" summary="Web Box Table One">            
              <tr>
                <td width="100%" valign="middle" bgcolor="#660000" style="border-style:solid solid solid solid; border-color: #ffffff; border-width:2px;">
                  <table width="100%" border="0" cellpadding="0" cellspacing="2" >
                    <tr>
                      <td width="100%" align="center" valign="middle" bgcolor="#FFFFFF" style="letter-spacing:10px;" Class="SearchHeader">Search</td>
                    </tr>
                    <tr> 
                      <td width="100%" height="30" align="center" valign="middle" class="Search">
                        <asp:TextBox id="txtSearch" height="15" font-size="7" width="110" Runat="Server"/>&#160;<asp:LinkButton id="lnkSearch" Text="go" Runat="Server"/>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
           
<!-- Left: Box Ad-->
             <tr>
                <td valign="top" align="center" bgcolor="#660000" style="border-style:solid solid solid solid; border-color: #ffffff; border-width:2px;">
                   <asp:AdRotator AdvertisementFile="~/Advertisements/BoxAds.xml" Width="125" height="125" Runat="Server"/>
               </td>
              </tr>

<!-- Left: Web Box -->
              <tr>
                <td valign="top" align="center" bgcolor="#FFDAB9" style="border-style:solid solid solid solid; border-color: #ffffff; border-width:2px;">
                  <br>
                  <div align="center"><community:VotingControl QuestionStyle-Font-Size="12px" ItemStyle-Font-Size="10px" Runat="Server" ID="Votingcontrol1"/></div>
                  <br>
                  <community:WebBoxList id="WebBoxes" RepeatDirection="Horizontal" Runat="Server"/>
                  <br> 
                  <community:WebServiceBoxList id="WebServiceBoxes" RepeatDirection="Horizontal" Runat="Server"/> 
                </td>
              </tr>
            </table>
          </td>

<!-- Right -->
          <td width="80%" height="30" valign="middle" bgcolor="#cccccc" style="border-style: solid solid none solid; border-color: #330000; border-width:2px;">
            <table width="100%" height="100%" border="2" bordercolor="#B1B2C1" cellpadding="6" cellspacing="0" summary="Content 1">

<!-- Right: Topics Menu -->
              <tr>
                <td valign="middle" bgcolor="#ecece4" rowspan="2" height="30">
                  <community:TopicMenu CssClass="TopicMenu" runat="Server"/>
                </td>
              </tr>
           </table>
          </td>
        </tr>
        <tr>			
          <td valign="top" style="border-style: none solid solid solid; border-color: #330000; border-width:2px; padding:4;" >
            <table width="100%" border="0" bgcolor="#ffffff" cellpadding="6" cellspacing="5" summary="Content 2" background='<%=ResolveUrl( "../../Images/curve2.gif")%>'>
              <tr>
                <td valign="top" bgcolor="white" style="border-style:none none none none;">

<!-- Right: Crumb -->
                  <div align="right"><community:BreadCrumb CssClass="BreadCrumb" Runat="Server"/></div><br><br>

                  

<!-- Right: Content -->
                  <span class="Content"><asp:PlaceHolder id="Content" Runat="Server" /></span>                  
                </td>
              </tr>
            </table>
          </td>
        </tr>

<!-- Botttom -->
        <tr>
          <td colspan="2" bgcolor="#A52A2A" style="border-style: none none solid none; border-color: #330000; border-width:2px;">
            <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" />
                  </div> 
                </td>
              </tr>
            </table>
          </td>
        </tr>

<!-- Bottom: Copyright -->
        <tr>		
          <td colspan="2" bgcolor="#660000" style="border-style: none solid solid solid; border-color: #330000; border-width:0px;">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Graphic framework and copyright information">
              <tr>
                <td valign="middle" align="center" height="30">
                  <div class="FooterText"><asp:PlaceHolder id="Footer" Runat="Server" /></div>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

⌨️ 快捷键说明

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