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

📄 books_booksection.ascx

📁 C#邮件代码库,用于邮件发送
💻 ASCX
字号:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<%--

This skin is used for displaying the books in the BookSection page. Modify the HTML content
to modify the appearance of the page.

--%>


<table cellpadding="0" cellspacing="0" border="0" Width="100%">
  <tr>
    <td align="left" valign="top">
      <community:SectionTitle CssClass="BookSection_SectionTitle" Runat="Server" />
    </td>
    <td align="right" valign="top">
      <community:Notify Text="Notify me when a new book is added" Runat="Server"/>
    </td>
  </tr>
</table>
<community:PageHeader CssClass="BookSection_SectionDescription" Runat="Server" />


<p>
  <community:Sorter id="Sorter" runat="Server">
    <ListItem Text="Default Order" Value="Default" /> 
    <ListItem Text="Date Posted" Value="Date Created" />
    <ListItem Text="Book Title" Value="Title" />
    <ListItem Text="Book Rating" Value="Rating" />
    <ListItem Text="Book Topic" Value="Topic" />
    <ListItem Text="Popularity" value="ViewCount"/>
  </community:Sorter>
  <community:ContentList id="ContentList" Width="100%" PagerText="Page {0} of {1}" Runat="Server">
  <ItemTemplate>
  <table width="100%" cellspacing="0" border="0" cellpadding="5" class="BookSection_ListTable">
    <tr>
      <td class="BookSection_ListItem">
        <table width="100%" cellspacing="0" cellpadding="10" border="0">
          <tr>
            <td>
	        <community:ItemBookImage Width="100" border="0" Runat="Server"/>
            </td>
            <td class="BookSection_ListItem">
            <div align="right">
            <community:ItemTopic id="ctlTopic" Runat="Server"/>
	        </div>
	        
	        <community:ItemTitle CssClass="BookSection_ListTitle" Runat="Server"/>
	        <br><span class="BookSection_ListLabel">Author:</span> <community:ItemBookAuthor CssClass="BookSection_ListAuthor" Runat="Server" />
	        <br><span class="BookSection_ListLabel">Publisher:</span> <community:ItemBookPublisher CssClass="BookSection_ListPublisher" Runat="Server" /></span>
	        <br><span class="BookSection_ListLabel">Publication Date:</span> <community:ItemBookPublicationDate DateFormatString="{0:d}" CssClass="BookSection_ListPublicationDate" Runat="Server" />

            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td colspan="2" bgcolor="#CCCCFF" class="BookSection_ListItem2">
	<table width="100%" cellspacing="0" cellpadding="6" border="0">
	  <tr>
	    <td valign="top" align="left" valign="top">
	      <community:ItemBriefDescription CssClass="BookSection_ListBriefDescription" Runat="Server"/>
          <community:ItemEditContent EditUrl="Books_EditBook.aspx?id={0}" runat="Server" />
	    </td>
            <td align="left" valign="top" width="210">
	          <community:ItemRating DisplayOnly="True" Runat="Server" />
              (<community:ItemReadMoreLink Text="Read More" CssClass="BookSection_ListReadMoreLink" Runat="Server" />&nbsp;|&nbsp;<community:ItemCommentCount Text="comments" Runat="Server"/>)
	    </td>
	  </tr>
	</table>
      </td>
    </tr>
  </table>
  </ItemTemplate>
  <SeparatorTemplate>
    <p></p>
  </SeparatorTemplate>
  <NoContentTemplate>
    <span class="BookSection_NoBooks">There are currently no books listed.</span>
  </NoContentTemplate>
  </community:ContentList>
  <community:PageFooter runat="Server" />
    
  <p>
    <span class="Content"><community:BookEditContent AddText="Add Book" ModerateText="Moderate Books" Runat="Server" /></span>
  </p>

⌨️ 快捷键说明

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