<%@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>

<div id="middle">
<table cellpadding="0" cellspacing="0" width="100%">
<tr align="left" valign="top">
<td>
	<div class="<%=GetFrameCss(style.CssHeadline,"mframe")%> mR">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<div class="moreR">&nbsp;<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></div>
		<asp:Literal id="nameLiteral" runat="server"/>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<table width="100%">
		<tr valign="top"><td width="300">
			<script type="text/javascript">
			imgSlide.init(280,210,<%=ImgHeadline(4,"js",22,2,false,false)%>);
			</script>
			<div class="<%=GetFrameCss(style.CssDayHot,"lframe")%>" style="margin:3px 10px;clear:both;width:280px;">
			<div class="tl"></div>
			<div class="tr"></div>
			<div class="tm">
				<%=GetTitlePic(style.PicDayHot,"今日热门")%>
			</div>
			<div class="wrapper">
			<div class="ml"></div>
			<div class="mr"></div>
			<div class="mm">
				<%=TopList(curSort.ID,"dayhot",5,33,false,false,false,false,false)%>
			</div>
			</div>
			<div class="bl"></div>
			<div class="br"></div>
			<div class="bm"></div>
			</div>
		</td><td>
			<%=Headline(14,45,false,false,false,1,true)%>
		</td></tr>
		</table>
	</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);%>
		<div style="height:175px;overflow-y:auto">
		<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>
	<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",8,34,false,false,false,false,false)%>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
	
</td>
</tr>
</table>

<div class="<%=GetFrameCss(style.CssImgNews,"mframe")%>">
<div class="tl"></div>
<div class="tr"></div>
<div class="tm">
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
	<tr><td>
		<%=GetTitlePic(style.PicImgNews,"图片新闻")%>
	</td><td align="right">
		<a href="imgindex.aspx"><img src="pic/b.gif" class="icoMore" alt="更多"/></a>&nbsp;
	</td></tr>
	</table>
</div>
<div class="wrapper">
<div class="ml"></div>
<div class="mr"></div>
<div class="mm">
	<%=ImgTopList(curSort.ID,6,6,"normal",20,false,false,false)%>
</div>
</div>
<div class="bl"></div>
<div class="br"></div>
<div class="bm"></div>
</div>

<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top"><td>
	<%=config.TopAd%>
	
	<%-- 绑定所有分类的最新新闻 --%>
	<%BindAllNew();%>
	<asp:DataList id="dlAll"
		RepeatDirection="Horizontal"
		CellPadding="0"
		CellSpacing="0"
		RepeatColumns="2"
		Width="100%"
		DataKeyField="classid"
		runat="server">
		<ItemStyle Width="50%" CssClass="alignTop" />
		<ItemTemplate>
			<div class="<%#GetSortCss((System.Data.DataRowView)Container.DataItem,"mframe")%> mR">
			<div class="tl"></div>
			<div class="tr"></div>
			<div class="tm">
				<div class="moreR">&nbsp;<a href="<%#Eval("cUrl")==DBNull.Value ? GetUrlSort((int)Eval("classid"),Eval("sdir").ToString()) : Eval("cUrl").ToString()+"\" target=\"_blank"%>"><img src="pic/b.gif" class="icoMore" alt="更多"/></a></div>
				<%#GetSortPic((System.Data.DataRowView)Container.DataItem)%>
			</div>
			<div class="wrapper">
			<div class="ml"></div>
			<div class="mr"></div>
			<div class="mm">
				<%#(bool)Eval("isPost") ? TopPosts((int)Eval("classid"),"new",true,config.BindNum,0,33,true,true,true) : TopList((int)Eval("classid"),"sort","new",config.BindNum,33,false,false,true,false,false)%>
			</div>
			</div>
			<div class="bl"></div>
			<div class="br"></div>
			<div class="bm"></div>
			</div>
		</ItemTemplate>
	</asp:DataList>
	<%=config.FootAd%>
</td><td width="250">
	<div class="<%=GetFrameCss(style.CssHot,"lframe")%>">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<%=GetTitlePic(style.PicHot,"热门内容")%>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<%=TopList("hot",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>
</div>

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