<%@Page Language="C#" Inherits="IWMS.Pages.Show" 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="<%=config.Charset%>">
<head>
<!--#include file="../inc/html_head.inc"-->
<script type="text/javascript" src="inc/show.js"></script>
</head>
<body>
<!--#include file="../head.inc" -->
<div id="middle">
<div id="navbar">
<div class="l"></div>
<div class="r"></div>
<div class="m">
	<!--#include file="../inc/navclass.inc"-->
</div>
</div>

<div class="display">
<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 class="<%=GetFrameCss(style.CssReadNews,"mframe")%>">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
				<%=GetTitlePic(style.PicReadNews,"阅读新闻")%>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm" id="bodyTd">
		<div id="printBody" style="word-break:break-all;">
			<div style="text-align:center"><h1 class="aTitle"><%=news.Title%></h1></div>
			<%if(subTitle.Length>0){%><div style="text-align:center"><h2 class="subTitle"><%=subTitle%></h2></div><%}%>
			<table width="97%" align="center">
				<tr>
				<td width="140">[日期：<%=FormatTime(news.AddDate,config.DateFormatShow)%>]</td>
				<td align="center">来源：<%=news.Source.Length>0 ? (news.SourceUrl.Length>0 ? "<a href=\""+ news.SourceUrl +"\" target=\"_blank\">"+ news.Source +"</a>" : news.Source) : ""%>&nbsp;
				作者：<%=news.Author.Length>0 ? (news.AuthorEmail.Length>0 ? "<a href=\"mailto:"+ news.AuthorEmail +"\">"+ news.Author +"</a>" : news.Author) : ""%></td>
								</tr>
			</table>
			<%=config.TopAd%>
		
			<div id="content"><%=news.Content%></div>
			
			<asp:Literal id="numPages" runat="server"/>
			<asp:DataList id="dlPages"
				RepeatColumns="2"
				RepeatDirection="Horizontal"
				Width="95%"
				Align="center"
				Style="clear:both"
				runat="server">
				<HeaderStyle Height="20"/>
				<ItemStyle Width="50%" Height="20"/>
				<HeaderTemplate>【内容导航】 </HeaderTemplate>
				<ItemTemplate>
					第<%#Eval("id")%>页：<a href="<%#Eval("url")%>" <%#(int)Eval("id")==currentPage ? "class=\"highlight\"" : ""%>><%#Eval("title")%></a>
				</ItemTemplate>
			</asp:DataList>
		</div>
	
						<div style="padding-right:20px;text-align:right;clear:both"> |
				阅读：<span id="news_hits"></span> 次
				<%=news.Editor.Length>0 ? "<img src=\"pic/b.gif\" class=\"icoEditor\" alt=\"\" onmouseover=\"iwms.popMsg('editor',this,'"+news.Editor+"')\"/>" : ""%>
			</div>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
	<div class="<%=GetFrameCss(style.CssRelate,"mframe")%>">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<%=GetTitlePic(style.PicRelate,"相关新闻")%> &nbsp; &nbsp; &nbsp;
		<asp:Literal id="RelateLink" runat="server"/>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<%=RelateNews(6,28,true,2)%>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
	<% if (news.AllowRemark){%>
	<div class="<%=GetFrameCss(style.CssRemarks,"mframe")%>">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<%=GetTitlePic(style.PicRemarks,"本文评论")%>
		 	　　<a href="remark.aspx?id=<%=articleID%>" target="_blank">查看全部评论</a> <span class="gray">(<%=news.RemarkNum%>)</span>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<table width="100%">
		<tr><td width="300">
			<form name="fmRemarkSt" onsubmit="return remark.post(this);">
			<input type="hidden" value="1" name="face"/>
			表情： <img src="pic/b.gif" class="face1" style="cursor:pointer;vertical-align:middle" href='###' onclick="remark.dispFace(this)" onmouseout="remark.hideFace()"/>
			姓名： <input type="text" name="username" value="" maxlength="15" style="width:60px" class="inputbg"/>
			<input type="checkbox" id="rmAnonymitySt" onclick="remark.anony(this)"/><label for="rmAnonymitySt">匿名</label>
			字数 <input type="text" id="bodyLen" size="3" readonly="readonly" style="border-width:0;background:transparent;vertical-align:middle" value="0"/>
			<br/>
			点评：
				<textarea name="body" cols="40" rows="4" onkeydown="remark.dispLen(this)" onkeyup="remark.handle(event,this);remark.dispLen(this)" style="width:20em;height:60px;margin:3px 0;overflow-y:auto"></textarea>
				<br/>
		　　　<input type="checkbox" checked="checked" id="rmAgreeSt"/><label for="rmAgreeSt">同意评论声明</label>
		　　　<button type="submit" style="width:50px">发表</button>
			</form>
		</td><td>
			评论声明
			<ul style="list-style-type:square;margin:5px 0 0 1em;padding:0">
			<li>尊重网上道德，遵守中华人民共和国的各项有关法律法规</li>
			<li>承担一切因您的行为而直接或间接导致的民事或刑事法律责任</li>
			<li>本站管理人员有权保留或删除其管辖留言中的任意内容</li>
			<li>本站有权在网站内转载或引用您的评论</li>
			<li>参与本评论即表明您已经阅读并接受上述条款</li>
			</ul>
		</td></tr>
		</table>
		<script type="text/javascript" src="inc/remark.js"></script>
		<script type="text/javascript">
			remark.maxSize=<%=config.RemarkSize%>;
			remark.minSize=<%=config.RemarkMinSize%>;
			remark.sourceEle=$(document.fmRemarkSt).find("button").get(0);
			iwms.vCode="<%=config.IwmsVcode%>";
			iwms.user.name.length==0 ? $i("rmAnonymitySt").click() : $i("rmAnonymitySt").form.username.value=iwms.user.name;
		</script>
		
		<%=GetRemarks(5)%>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	<%}%>
</div>
<div class="side">
	<div class="sideTop"></div>
	<div class="sideContent">
	<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,26,false,false,false,false,false)%>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
	<%=config.SideAd%>
	<div class="<%=GetFrameCss(style.CssWeekHot,"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">
		<%=TopRemarks("new",0,5,100)%>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
</div>
</div>
<div class="middleBottom"></div>
</div>
<!--#include file="../foot.inc" -->

</body>
</html>