<%@ Control Language="VB" Inherits="WanerSoft.UI.Web.Controls.Book.ShowBookTransmit" %>
<%@ Import Namespace="WanerSoft" %>
<%@ Register TagPrefix="Ws" Namespace="WanerSoft.Common" Assembly="WanerSoft.Factory"%>
<%@Register TagPrefix="Webdiyer" Namespace="Wuqi.Webdiyer" Assembly="aspnetpager"%>
<%@ Register TagPrefix="Ws" TagName="Header" Src="../Common/Header.ascx" %>
<%@ Register TagPrefix="Ws" TagName="Menu" Src="../Common/Menu.ascx" %>
<%@ Register TagPrefix="Ws" TagName="Search" Src="../Common/SearchS.ascx" %>
<%@ Register TagPrefix="Ws" TagName="Footer" Src="../Common/Footer.ascx" %>
<%@ Register TagPrefix="Ws" TagName="TopClass" Src="Controls/TopClass.ascx" %>
<%@ Register TagPrefix="Ws" TagName="ReComm" Src="Controls/ReCommList.ascx" %>
<Ws:Header id="Header" PageTitle="转载作品" StyleSheet="Book/ShowBookTransmit" Runat="Server" />
<Ws:Menu id="Menu" Runat="Server" />
<div id="Content">
<hr align="center" size="1" noshade />
<div id="ContentLeft">
    <div id="ClTop">
	     <div class="TopTitlte">
		   <div class="TopTitltet">本类热门排行</div>
		   <div class="TopTitltetimg"><img src="/Skin/Default/Images/down_blue.gif" /></div>
		</div>
		<Ws:TopClass id="TopClassA" List-Sort="N" List-Vip="A" List-Times="W" Runat="Server" />
	</div>
	<div id="ClSearch">
	     <div class="TopTitlte">
		   <div class="TopTitltet">站内搜索</div>
		   <div class="TopTitltetimg"><img src="/Skin/Default/Images/down_blue.gif" /></div>
		</div>
		<Ws:Search id="Searchs" Runat="Server" />
	</div>
	<div id="ClCenter">
	    <div class="TopTitlte">
		   <div class="TopTitltet">编辑推荐</div>
		   <div class="TopTitltetimg"><img src="/Skin/Default/Images/down_blue.gif" /></div>
		</div>
		<Ws:ReComm id="Bjtj" List-Tid="19" Runat="Server" />
	</div>
</div>
<div id="ContentRight">
  <Ws:Form id="BookListPage" Runat="Server" CssClass="LoginCss">
  <div id="CrTitle">
      <div id="CrtLeft"><b>转载作品列表</b> -> 默认按最新更新  </div>
	  <div id="CrtRight"><asp:DropDownList ID="orderbyid" AutoPostBack="true" SelectedIndexChanged="OrderPage()" runat="server">
		<asp:ListItem value="0">默认排列</asp:ListItem>
		<asp:ListItem value="1">总推荐排行</asp:ListItem>
		<asp:ListItem value="2">总点击排行</asp:ListItem>
		<asp:ListItem value="3">月点击排行</asp:ListItem>
		<asp:ListItem value="4">周点击排行</asp:ListItem>
		<asp:ListItem value="5">日点击排行</asp:ListItem>
		<asp:ListItem value="6">总收藏排行</asp:ListItem>
		<asp:ListItem value="7">按完成字数</asp:ListItem>
		<asp:ListItem value="8">按更新时间</asp:ListItem>
		</asp:DropDownList></div>
   </div>
  <div id="CrListTitle">
    <ul>
	   <li class="li1">作品分类</li>
	   <li class="li2">书籍名称</li>
	   <li class="li3">更新章节</li>
	   <li class="li4">更新时间</li>
	   <li class="li5">作者</li>
	   <li class="li6">状态</li>
	</ul>
  </div>
  <div id="CrListText">
  <asp:Repeater id="ListData" runat="server" EnableViewState="false">
<ItemTemplate>
      <ul>
	   <li class="li1"><a href="<%#ReUrl(DataBinder.Eval(Container.DataItem,"nclassid"),InfoUrl.BookTNclassUrlR,InfoUrl.BookTNclassUrl)%>"><%# DataBinder.Eval(Container.DataItem,"nclass") %></a></li>
	   <li class="li2"><a href="<%#ReUrl(DataBinder.Eval(Container.DataItem, "id"),InfoUrl.BookUrlR,InfoUrl.BookUrl) %>"><font color="#006699"><%# DataBinder.Eval(Container.DataItem,"booktitle") %></font></a></li>
	   <li class="li3"><a href="<%#ChapterUrl(DataBinder.Eval(Container.DataItem,"bookhtml"),DataBinder.Eval(Container.DataItem,"id"),DataBinder.Eval(Container.DataItem,"bookupdateid"))%>"><%# DataBinder.Eval(Container.DataItem,"bookupdatetitle") %></a></li>
	   <li class="li4"><%# DataBinder.Eval(Container.DataItem,"bookupdatetime","{0:M}") %></li>
	   <li class="li5"><a href="<%#ReUrl(DataBinder.Eval(Container.DataItem, "id"),InfoUrl.AuthorBookIDUrlR,InfoUrl.AuthorBookIDUrl)%>"><%# DataBinder.Eval(Container.DataItem,"bookwriter") %></a></li>
	   <li class="li6"><%#GetState(DataBinder.Eval(Container.DataItem,"bookstate"))%></li>
	</ul>
</ItemTemplate>
</asp:Repeater>
  </div>
  <div id="CrListPage">
  <input name="hidden" type="hidden" id="WsKeyWord" runat=server><Webdiyer:AspNetPager runat="server" id="pager" OnPageChanged="ChangePage" HorizontalAlign="right" PagingButtonSpacing="5" Height=30 SubmitButtonStyle="border:1px solid #000066;height:20px;width:30px" InputBoxStyle="border:1px #0000FF solid;text-align:center;width:40px" SubmitButtonText="GO" NumericButtonCount="5" NumericButtonTextFormatString="[{0}]" ShowCustomInfoSection="left" ShowInputBox="Always" Width="760" CssClass="mypager" TextBeforeInputBox=" 转到第 " AlwaysShow="true" TextAfterInputBox=" 页 "/>
  </div>
    </Ws:Form>
</div>
</div>
<Ws:Footer id="Footer" Runat="Server" />