<%@Page Language="C#" Inherits="IWMS.Pages.RemarkList" 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"-->
<script type="text/javascript" src="inc/show.js"></script>
<script type="text/javascript" src="inc/remark.js"></script>
<script type="text/javascript">
iwms.aId=<%=id%>;
iwms.vCode="<%=config.IwmsVcode%>";
remark.maxSize=<%=config.RemarkSize%>;
remark.minSize=<%=config.RemarkMinSize%>;
</script>
</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" width="100%" cellspacing="0" cellpadding="0" style="table-layout:fixed">
<tr><td valign="top">
	<div class="mframe mR">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
		<span class="tt" style="width:6em"><strong><asp:Literal id="linkNews" runat="server"/>
		的评论</strong></span>
		<% if (allowRemark){%>　　[<a href="###" onclick="remark.disp(this)">发表评论</a>]<%}%>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<div class="reCont" id="reContainer">
				<asp:Repeater id="myRepeater" runat="server" >
				<ItemTemplate>
					<div class="reHead">		
					<div class="reLayer">第 <%# layer - Container.ItemIndex%> 楼</div>
					<img src="pic/b.gif" class="face<%#Eval("face")%>" alt="表情"/>
					<span class="reName"><%#Eval("username")%></span> 
					发表于
					<span class="reDate"><%#Eval("dateAndTime")%></span>
					</div>
					<div class="reBody">
					<%#Eval("body")%>
					</div>
					<div class="reFun"><a href="###" onclick="remark.disp(this,<%#Eval("remarkid")%>)">回复</a> <a href="###" onclick="remark.vote(this,<%#Eval("remarkid")%>,1)">支持</a><span> (<%#Eval("support")%>)</span> <a href="###" onclick="remark.vote(this,<%#Eval("remarkid")%>,0)">反对</a><span> (<%#Eval("discourage")%>)</span></div>
				</ItemTemplate>
				</asp:Repeater>
		</div>	
		<asp:Literal id="PageLiteral" runat="server" />
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>

</td><td width="250" valign="top">
	<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(id,10)%>
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
</td></tr>
</table>

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

</body>
</html>