<%@Page Language="C#" Inherits="IWMS.Pages.List" EnableSessionState="false" EnableViewState="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<!--#include file="../inc/html_head.inc"-->
<link rel="alternate" type="application/rss+xml" title="<%=htmlTitle%>" href="rssFeed.aspx?cid=<%=curSort.ID%>"/>
</head>
<body>

<!--#include file="../head.inc" -->
<div id="navbar">
<div class="l"></div>
<div class="r"></div>
<div class="m">
	<!--#include file="../inc/navclass.inc"-->
</div>
</div>

<div id="navsub">
<div class="l"></div>
<div class="r"></div>
<div class="m">
	<div style="width:40%;float:left;">&nbsp; <%=StepPath()%></div>
	<div style="width:60%;float:right;">
	<script type="text/javascript">
	bRoll.init(<%=GetBulletin("js")%>);
	</script>
	</div>
</div>
</div>

<table id="middle" cellpadding="0" cellspacing="0" width="100%">
<tr align="left" valign="top">
<td>
	<div class="<asp:Literal id='cssLiteral' runat='server'/> mR">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<div class="moreR"><a href="rssFeed.aspx?cid=<%=curSort.ID%>" target="_blank"><img src="pic/b.gif" class="icoRss" alt="rss订阅"/></a> <a href="wap.aspx?cid=<%=curSort.ID%>" target="_blank"><img src="pic/b.gif" class="icoWap" alt="手机访问"/></a>&nbsp;</div>
			<asp:Literal id="nameLiteral" runat="server"/>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<%=config.TopAd%>
		<asp:Literal id="ltMsg" runat="server"/>
		<asp:Repeater id="dlNews"
		runat="server">
		<ItemTemplate>
			<%#(config.ListSpaceLines>0 && Container.ItemIndex>0 && Container.ItemIndex%config.ListSpaceLines==0) ? "<div class=\"sep\"></div>" : ""%>
			<div>
			<div class="dateR gray"><%#FormatTime((DateTime)Eval("dateandtime"))%></div>
			<%#LinkTitle((System.Data.DataRowView)Container.DataItem,50,true)%>
			</div>
		</ItemTemplate>
		</asp:Repeater>
		<asp:Literal id="ltPage" runat="server"/>
		<%=config.FootAd%>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
</td>
<td width="250">
	<div class="<%=GetFrameCss(style.CssLeftNav,"lframe")%>">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<%=GetTitlePic(style.PicLeftNav,"内容分类")%>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<%BindLeftNav(true);%>
		<ul class="sList">
		<asp:Repeater id="rpLeftNav"
			runat="server">
			<ItemTemplate>
				<li>
				<%#((int)Eval("depth")==1) ? "&nbsp; " : ""%>
				<%#GetSortLink((System.Data.DataRowView)Container.DataItem, (int)Eval("classid")==curSort.ID?"sOpen":"")%>
				<%#Eval("cUrl")!=DBNull.Value ? "" : "<span class=\"gray\">("+ Eval("articlenum") +")</span>"%>
				</li>
			</ItemTemplate>
		</asp:Repeater>
		</ul>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
	<div class="lframe">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<span class="tt">Digg排行</span>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<%=TopList(curSort.ID,"digg",10,30,false,false,false,false,false)%>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
	<div class="<%=GetFrameCss(style.CssWeekHot,"lframe")%>">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<%=GetTitlePic(style.PicWeekHot,"本周热门内容")%>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<%=TopList(curSort.ID,"weekhot",10,34,false,false,false,false,false)%>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
	<%=config.SideAd%>
	
</td>
</tr>
</table>

<!--#include file="../foot.inc" -->
</body>
</html>