📄 books_booksection.ascx
字号:
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control Language="C#" %>
<%--
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" id="SectionTitle1" />
</td>
<td align="right" valign="top">
<community:Notify Text="有新书时通知我" Runat="server" id="Notify1" />
</td>
</tr>
</table>
<community:PageHeader CssClass="BookSection_SectionDescription" Runat="server" id="PageHeader1" />
<p>
<community:Sorter id="Sorter" runat="Server">
<ListItem Text="默认顺序" Value="Default" />
<ListItem Text="发布日" Value="Date Created" />
<ListItem Text="标题" Value="Title" />
<ListItem Text="评级" Value="Rating" />
<ListItem Text="话题" Value="Topic" />
<ListItem Text="热门度" value="ViewCount" />
<ListItem Text="作者" value="Author" />
</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">作者:</span>
<community:ItemBookAuthor CssClass="BookSection_ListAuthor" Runat="Server" />
<br>
<span class="BookSection_ListLabel">出版社:</span>
<community:ItemBookPublisher CssClass="BookSection_ListPublisher" Runat="Server" /></span>
<br>
<span class="BookSection_ListLabel">出版日期:</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="详情..." CssClass="BookSection_ListReadMoreLink" Runat="Server" /> |
<font size=-1> <community:ItemCommentCount Text="comments" Runat="Server" /> </font>)
</td>
</tr>
</table>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<p></p>
</SeparatorTemplate>
<NoContentTemplate>
<span class="BookSection_NoBooks"> 现在还没有内容.</span>
</NoContentTemplate>
</community:ContentList>
<community:PageFooter runat="server" id="PageFooter1" />
<p>
<span class="Content">
<community:BookEditContent AddText="增加书" ModerateText="审批书" Runat="server" id="BookEditContent1" />
</span>
</p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -