<%@Page Language="C#" Inherits="IWMS.Pages.TopicNews" 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"-->
</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>
</div>


<table id="middle" cellpadding="0" cellspacing="0" border="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">
		<span class="tt"><asp:Literal id="nameLiteral" runat="server"/></span>
	</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(topic.ID,"topic",4,"js",26,1,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(topic.ID,"topic","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>
			<asp:DataList id="dlNews"
			CellPadding="5"
			CellSpacing="0"
			GridLines="None"
			RepeatColumns="1"
			RepeatDirection="Horizontal"
			RepeatLayout="Flow"
			Visible=false
			Width="100%"
			runat="server">
			<ItemTemplate>
				<%#LinkTitle((System.Data.DataRowView)Container.DataItem,50,true)%>
			</ItemTemplate>
			</asp:DataList>
			<asp:Literal id="ltMsg" runat="server"/>
			<asp:Literal id="ltPage" runat="server"/>
		</td></tr>
		</table>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
	<%-- 绑定所有分类的最新新闻 --%>
	<%BindAllNew();%>
	<asp:DataList id="dlAll"
		RepeatDirection="Horizontal"
		CellPadding="0"
		CellSpacing="0"
		RepeatColumns="2"
		Width="100%"
		DataKeyField="topicid"
		runat="server">
		<ItemStyle Width="50%" CssClass="alignTop" />
		<ItemTemplate>
			<div class="mframe mR">
			<div class="tl"></div>
			<div class="tr"></div>
			<div class="tm">
				<div class="moreR">&nbsp;<a href="<%#GetUrlTopic((int)Eval("topicid"), Eval("sdir").ToString())%>"><img src="pic/b.gif" class="icoMore" alt="更多"/></a></div>
				<span class="tt"><%#Eval("topic")%></span>
			</div>
			<div class="wrapper">
			<div class="ml"></div>
			<div class="mr"></div>
			<div class="mm">
				<%#TopList((int)Eval("topicid"),"topic","new",config.BindNum,30,false,false,true,false,false)%>
			</div>
			</div>
			<div class="bl"></div>
			<div class="br"></div>
			<div class="bm"></div>
			</div>
		</ItemTemplate>
	</asp:DataList>

</td>
<td width="250">
	<div class="<%=GetFrameCss(style.CssLeftNav,"lframe")%>">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<span class="tt">专题说明</span>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<asp:Literal id="discriptionLiteral" runat="server"/>
	</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">专题图片</span>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<%=ImgTopList(topic.ID,"topic",4,1,"normal",26,false,false,false)%>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
</td></tr>
</table>

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