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

📄 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="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"/>
         </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" style="letter-spacing:10px;" class="SectionHead"></td>
                    </tr>
                    <tr> 
                      <td width="100%" height="30" align="left" valign="middle">
                        <community:UserLogin CssClass="UserLogin" Runat="Server"/>
                      </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" />
                      </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"/>
                </td>
              </tr>
           </table>
          </td>

<!-- Right: Search -->
          <td valign="top" align="left" background='<%=ResolveUrl( "../../Images/night2.gif")%>' bgcolor="#777777" height="48" class="Search">
           Search: <br><asp:TextBox id="txtSearch" height="15" font-size="7" width="110" Runat="Server"/><Br><asp:LinkButton id="lnkSearch" Text="Go" Runat="Server"/>
          </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" border="2" cellpadding="12" cellspacing="0" summary="Content 2">
              <tr>
                <td valign="top" height="600">

<!-- Right: Crumb -->
                  <div align="right"><community:BreadCrumb CssClass="BreadCrumb" Runat="Server"/></div><br><br>
                  <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"/>
                </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>
				  <div align="center"><community:VotingControl QuestionStyle-Font-Size="14px" ItemStyle-Font-Size="12px" 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>
        </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" />
                  </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" style="border-top-style:dotted; border-top-color:#777777;" 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 + -