<!--{foreach (System.Data.DataRow dr in DisplayContent)} -->
<table class="tablebox border" cellspacing="0" cellpadding="0" ID="Table2">
		<tr>
			<td class="infoleft leftcolor" valign="top" rowspan="4">
				<!--{if((bool)dr["isanonymous"] && (!(dr["name"].ToString().ToLower()==user.Name.ToLower() || user.IsMaster || user.IsSuperMaster  || IsAdmin) || dr["name"].ToString() == "游客" ))}--><br />
					<P >(匿名发帖：<%=(dr["ip"].ToString().Substring(0, 8))%>)</P><br />
				 <img src="templates/<%=CurrentTemplateName%>/skins/<%=CurrentSkinName%>/images/anyon.gif" /><br />
				<!--{else}-->
				<span class="username">
					<img src="templates/<%=CurrentTemplateName%>/images/<%=dr["onlinepath"].ToString()%>" style="float:right; margin-right:5px;" alt="<%=dr["onlinestr"]%>" /><a href="user_info.aspx?name=<%=Server.UrlEncode(dr["name"].ToString())%>"><%=dr["name"].ToString()%></a>
				</span>				
				<span>
					<a href="user_info.aspx?name=<%=Server.UrlEncode(dr["name"].ToString())%>"><img src="<%=Server.UrlDecode(dr["facepath"].ToString())%>"  width="<%=dr["userwidth"].ToString()%>" height="<%=dr["userheight"].ToString()%>"/></a></span>
				<span>
				<img src="templates/<%=CurrentTemplateName%>/images/level/<%=dr["star"].ToString()%>"   title="积分:<%=dr["experience"].ToString()%>" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" alt="积分:<%=int.Parse(dr["experience"].ToString())<0?"0":dr["experience"].ToString()%>" ></span>
				<%=(user.UserBaseStrategy.UserRole_pop_strategy[(int)PopStrategyEnum.AllowCustomHonor] == "1" && string.Empty!=dr["rank"].ToString() ? "<span>头衔："+ TextEncode(dr["rank"].ToString()) +"</span>" : "")%>
				<span>等级：<%=dr["rolename"]%></span>
				<span>文章：<%=dr["post"]%></span>
				<span>积分：<%=int.Parse(dr["experience"].ToString())<0?"0":dr["experience"].ToString()%></span>
				<span>注册：<%=DateTime.Parse(dr["jointime"].ToString()).ToString("yyyy年M月d日")%></span>
				<!--{if(UserExexp.GetVisibleExexp(dr["name"].ToString())!=null)}-->
						<!--{foreach(ExexpInfo expinfo in UserExexp.GetVisibleExexp(dr["name"].ToString()))}-->
						    <span><%=expinfo.Name%>：<%=expinfo.Value%>&nbsp;<%=expinfo.Unit%>
							</span>
						  <!--{endfor}-->
						<!--{endif}-->
				<!--{if((bool)dr["isanonymous"])}-->
				(匿名发帖)
				<!--{endif}-->
				<!--{endif}-->
			</td>
			<td class="usermenu">
				<em><a href="javascript:setFontSize('Msg<%=dr["id"]%>',0);">小</a>&nbsp; <a href="javascript:setFontSize('Msg<%=dr["id"]%>',1);">
						大</a>&nbsp; 
					<!--{if(dr["depth"].ToString() == "1")}-->
					楼主 
					<!--{else}-->
					第&nbsp;<span class="t2"><%=dr["depth"]%></span>&nbsp;楼 
					<!--{endif}-->
				</em>
				<!--<%		
		string qq="",msn="",homepage="";
		try{
			string[] infos = dr["info"].ToString().Split('	');
			homepage=infos[0];
			qq = infos[1];
			msn = EmailEncode(infos[2]);
		}catch{}
		%>-->
				<!--{if((bool)dr["isanonymous"] && (!(dr["name"].ToString().ToLower()==user.Name.ToLower() || user.IsMaster || user.IsSuperMaster  || IsAdmin) || dr["name"].ToString() == "游客" ))}--><br />
				<a href="#">匿名</a> | 
				<!--{else}-->	
				<a href="user_info.aspx?name=<%=Server.UrlEncode(dr["name"].ToString())%>">个人展示</a> | 
				<!--{endif}-->
				<!--{if(qq==string.Empty)}-->
				<a alt="<%=dr["name"].ToString()%>没有设置QQ" style="cursor:pointer" title="<%=dr["name"].ToString()%>没有设置QQ">QQ</a>
		<!--{else}-->
				<a href="tencent://message/?uin=<%=qq%>&Site=<%=Config.Settings["bbsName"]%>&Menu=yes" title="点击Q我">QQ</a>
				<!--{endif}-->
					
					 | <a href="mailto:<%=dr["email"]%>">邮箱</a> | 
					<!--{if(homepage==string.Empty)}-->
				 <a style="cursor:pointer" alt="<%=dr["name"].ToString()%>没有设置自己的主页" title="<%=dr["name"].ToString()%>没有设置自己的主页">主页</a>
				<!--{else}-->
				<a href="<%=homepage%>">主页</a>
				<!--{endif}-->
			<!--{if(dr["name"].ToString().ToLower()!=user.Name)}--> 
				| <a href="message_send.aspx?recipient=<%=dr["name"]%>&TB_iframe=true&height=335&width=530" id="msgsend1" class="thickbox" title="发送短消息">
					发短信</a> | <a onclick="AddFrend('additem.aspx','item=friend&style=new_style&uid=<%=dr["UserId"]%>&name=<%=dr["name"]%>')" style="cursor:hand">
					加为好友</a><!--{endif}-->
			</td>
		</tr>
		<tr>
			<td class="inforight" valign="top" align="left">
					<div align="center"><embed src="templates/<%=CurrentTemplateName%>/images/posts/vs.swf" FlashVars="num1=<%=PkSettings[8]%>&amp;num2=<%=PkSettings[9]%>&amp;fan1=支持方&amp;fan2=反对方" width="750" height="47" bgcolor="#DADADA" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></div>
					<div name="content" style="font-size:13px;line-height:22px;">
					<!-- <% bool is_008 = false;%> -->
					<fieldset style="padding-bottom:20px;">
					<legend><b>PK结果统计</b></legend>
					<table border="0" cellpadding="4" cellspacing="2" width="100%" align="left">
						<tr>
						<td align="left" width="30%">正方观点：</td>
							<td align="left" colspan="3"><%=( PkSettings.Length > 15 ? PkSettings[16] : "" )%></td>
						</tr>
						<tr>
						<td align="left" width="30%">反方观点：</td>
							<td align="left" colspan="3"><%=( PkSettings.Length > 15 ? PkSettings[15] : "" )%></td>
						</tr>
						<tr>
							<td align="left" width="30%">中立观点：</td>
							<td align="left" colspan="3"><%=( PkSettings.Length > 15 ? PkSettings[14] : "" )%></td>
						</tr>
						<tr>
							<td align="left" width="30%">是否允许下注：</td>
							<td align="left" width="20%"><!--{if("0" == PkSettings[1])}--> 否<!--{else}--> 是<!--{endif}--></td>
							<td align="left" width="30%">系统抽取的每笔下注手续费：</td>
							<td align="left" width="20%"><%=ForumCaching.GetBoardSettingByBoardId((uint)_TplEditor_.BoardId)[53]%>%</td>
						</tr>
						<tr>
							<td align="left" nowrap="nowrap">下注最小金额：</td>
							<td align="left"><b class="fon3"><%=PkSettings[1]%></b></td>
							<td align="left">下注最大金额：</td>
							<td align="left"><b class="fon1"><%=("0"==PkSettings[2] ? ( "0" == PkSettings[1] ? "0" :"无上限") : PkSettings[2])%></b></td>
						</tr>
						<tr>
							<td align="left">PK结束时间：</td>
							<td align="left" nowrap="nowrap"><%=("0"==PkSettings[6] ? "无" : PkSettings[6])%></td>
							<td align="left" colspan="2">
								<!--{if("1" == PkSettings[12])}-->
								<!--{if("0" == PkSettings[1])}-->
								<input type="button" value="当前PK已结束，<!--{if("1" == PkSettings[13])}-->正方胜<!--{else if("2" == PkSettings[13])}-->反方胜<!--{else if("3" == PkSettings[13])}-->中立胜<!--{endif}--> 。" class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'"> 
								<!--{else}-->
								<input type=button value="当前PK已结束，赶快领钱" onclick="window.open('dealpkpost.aspx?a=4&topicid=<%=TopicID.ToString()%>');" class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'" ID="Button2" NAME="Button2"/>&nbsp;
								<input type=button value="查看下注情况" onclick="window.open('dealpkpost.aspx?a=3&topicid=<%=TopicID.ToString()%>');" class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'" ID="Button3" NAME="Button3"/>
								<!--{endif}-->
								<!-- <% is_008 = true;isPkEnd=true;%> -->
								<!--{else}-->
									<!--{if( "0" != PkSettings[6] && Dvbbs.bbs.Entity.Article.convene.Det(System.DateTime.Now,PkSettings[6]))}-->
										<input type="button" value="结束时间已到，PK停止。" class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'"/>&nbsp;<input type=button value="查看下注情况" onclick="window.open('dealpkpost.aspx?a=<%=(user.UserID.ToString()==PkSettings[11] ? "1" : "3")%>&topicid=<%=TopicID.ToString()%>');" class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'"/>
									<!--{else if ( "0" == PkSettings[6] && ( (dr["name"].ToString().ToLower()==user.Name.ToLower() && !user.IsGuest) || (dr["name"].ToString() == "游客" && (user.IsMaster || user.IsSuperMaster)) ) )}-->
										<input type=button value="PK没有截止时间，可以随时结束。" onclick="window.open('dealpkpost.aspx?a=1&topicid=<%=TopicID.ToString()%>');" class="button_off" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);"	onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)"/>
									<!--{else}-->
										<input type="button" value="PK正在激烈进行中！" class="button_off" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);"
						onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)" /> 
									<!--{endif}-->
								<!--{endif}-->
							</td>
						</tr>
					</table>
					</fieldset>
					<br/><br/>
					<fieldset>
					<legend><b>PK主题内容</b></legend>
					<table border="0" cellpadding="4" cellspacing="2" width="100%" align="left" ID="Table1">						
						<tr>
							<td align="left" style="border-bottom:none">
								<!--{if(dr["depth"].ToString() == "1" && "" != signedpic)}-->
								<div onclick="this.style.display=<%=( "" == signedpic ? "'none'" : "''")%>;" style="color:red"><img src="<%=(Dvbbs.Utils.Config.uploadfiles + signedpic)%>" alt="点击关闭鉴定图章" title="点击关闭鉴定图章" />
								<br><b>鉴定次数（<%=signedcount%>）</b>，<a href="topic.aspx?topicid=<%=TopicID%>&signed=true" target="_self"  style="color:red"><b>顶</b></a></div>
								<!--{endif}-->		
								<div id="msg<%=dr["id"]%>" style="<%=mFontSize%><%=mLineHight%> ;overflow:hidden; width:100%">
									<%=dr["content"].ToString()%>
								</div>
							</td>
						</tr>
					</table>
					</fieldset>
				</div>
			</td>
		</tr>
		<tr>
			<td class="signed">
				<!--{if((dr["signature"].ToString().Length >0) || dr["signature"].ToString().Trim() != "")}-->
				<img src="templates/<%=CurrentTemplateName%>/images/sigline.gif" /><br />
				<%=dr["signature"]%>
				<!--{endif}-->
			</td>
		</tr>
		<tr>
			<td class="usermenu2">			
			<div style="float:left">
				<!--{if(null != AdsSetting && AdsSetting.IsEnableRand)}-->
					  <!--{if(AdsSetting.TimeRand)}-->
					  
					    <!--<%
					        Random rnd=new Random();
					        int rndlength=AdsSetting.CodeRandList.Length;					        
					    %>-->
					    <%=AdsSetting.CodeRandList[rnd.Next(rndlength)]%></script>
					   
					  <!--{endif}-->
					<!--{endif}-->
				</div>
				
				<div class="td1" style="float:right">
					<font class="fon2" alt="发表时间">
						<%=dr["addtime"]%>
					</font>
					<!--{if(!user.IsGuest)}-->
					&nbsp;&nbsp;<a href="topicother.aspx?action_type=prosecution">举报</a>
					<!--{if(!IsLock)}--> 
					&nbsp;&nbsp;<a href="<%=addreply%>">回复</a>
					&nbsp;&nbsp;<a href="topic_addreply.aspx?replyid=<%=dr["id"]%>&amp;topicid=<%=TopicID.ToString()%>">引用</a>
					<!--{endif}-->
					<!--{endif}-->		
					<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowMask) == "1" )}-->
					 &nbsp;&nbsp;<a href="topic_action.aspx?topicid=<%=base.TopicID.ToString()%>&amp;replyid=<%=dr["id"]%>&amp;action=lonemask">屏蔽该帖</a>
					<!--{endif}-->		
					<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowDisMask) == "1" )}-->
					 &nbsp;&nbsp;<a href="topic_action.aspx?topicid=<%=base.TopicID.ToString()%>&amp;replyid=<%=dr["id"]%>&amp;action=dislonemask">解除该帖屏蔽</a>
					<!--{endif}-->								
					<!--{if( user.GetUserLimitValue((int)PopStrategyEnum.AllowEditTopic) == "1" || (user.Name != "游客" &&  dr["name"].ToString().ToLower()==user.Name))}-->
						<!-- {if (1 == _TplPager.CurrentPage && (null == EditUrl || string.Empty == EditUrl))} -->
						&nbsp;&nbsp;<a href="<%=EditUrl="topic_edit.aspx?action=edittopic&replyid="+ dr["id"].ToString()%>&amp;pt=6&amp;topicid=<%=TopicID.ToString()%>">编辑</a>
						<!-- {else} -->
						&nbsp;&nbsp;<a href="<%=EditUrl="topic_edit.aspx?action=editreply&replyid="+ dr["id"].ToString()%>&amp;pt=6&amp;topicid=<%=TopicID.ToString()%>">编辑</a>
						<!-- {endif} -->
					<!--{else}-->						
						<!--<% EditUrl="topic_edit.aspx"; %>-->
					<!--{endif}-->					
					<!--{if( user.GetUserLimitValue((int)PopStrategyEnum.AllowDeleteTopic) == "1" )}-->
					&nbsp;&nbsp;<a href="<%="topic_delete.aspx?dept=1&topicid=" + dr["topicid"].ToString() +"&replyid=" + dr["id"].ToString()%>">删除</a>
					<!--{endif}-->
					<!--{if(IsAdmin)}-->
					&nbsp;&nbsp;<img src="templates/<%=CurrentTemplateName%>/images/ip.gif" title="<%=dr["ip"]%>"/>
					<!--{endif}-->
					&nbsp;&nbsp;<a href="topic.aspx?topicid=<%=dr["topicid"].ToString()%>#"><img src="templates/<%=CurrentTemplateName%>/images/gotop.gif" alt="顶端" /></a>&nbsp;&nbsp;
				</div>
				<%=dr["ads"]%>
			</td>
		</tr>
	</table>
	<!--<%break;%>-->
	<!--{endforeach}-->
	<!--主体内容循环结束-->
	<div class="tablebox border">
		<table width="100%" border="0" cellspacing="1" ID="Table6">
			<tr>
				<th height="25px" id="action_99887_0" name="action_99887_0" class="postbackselected<!--{if("1" == pki)}-->1<!--{else}-->  0<!--{endif}-->" onclick="showbackpost(0,3);">正方观点(<b class="grey"><%=PkSettings[8]%></b>)</th>
				<th id="action_99887_1" name="action_99887_1" onclick="showbackpost(1,3);" class="postbackselected<!--{if("2" == pki)}-->1<!--{else}-->0<!--{endif}--> ">反方观点(<b class="yellow"><%=PkSettings[9]%></b>)</th>
				<th id="action_99887_2" name="action_99887_2" onclick="showbackpost(2,3);" class="postbackselected<!--{if("3" == pki)}-->1<!--{else}-->0<!--{endif}-->">中立观点(<b class="green"><%=PkSettings[10]%></b>)</th>
				<th align="right">
					&nbsp;<input type=button value="我也参与" onclick="window.location.href='<%=addreply%>';" class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'" ID="Button8" NAME="Button1"/>
					<!--{if("0" != PkSettings[0] && !isPkEnd && "0" != PkSettings[1])}-->
					<input type="button" value="我要下注" onclick="window.open('dealpkpost.aspx?a=2&topicid=<%=TopicID.ToString()%>&s=1','_self')" class="button_off" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'" ID="Button9" NAME="Button2"/>
					<!--{endif}-->
				</th>
			</tr>
		</table>
	</div>
	<!--主体内容循环开始-->
	<%=RepeatReplies(1)%>
	<div id="action_998870" class="tablebox border" name="action_998870" style="margin-top:2px;display:<!--{if("1" == pki)}-->block<!--{else}-->  none<!--{endif}--> "> 
		<!--{if(0 == DisplayContent.Length)}-->
		<div class="tablebox" style="padding:5px;width:99%">
			暂未有人参与评论！
		</div>
		<!--{else}-->		
		<!--{foreach (System.Data.DataRow dr in DisplayContent)} -->
		<table width="100%" cellspacing="0" class="tablebox toptable1">
			<tr>
				<td width="30px" rowspan="2" align="center" style="background-color:#FFFFFF;">
					<!--{if((bool)dr["isanonymous"] && (!(dr["name"].ToString().ToLower()==user.Name.ToLower() || user.IsMaster || user.IsSuperMaster  || IsAdmin) || dr["name"].ToString() == "游客" ))}-->
						<img src="templates/<%=CurrentTemplateName%>/skins/<%=CurrentSkinName%>/images/anyon.gif" class="smallface"/>
					<!--{else}-->
						<img src="<%=dr["facepath"].ToString()%>" class="smallface"/>
					<!--{endif}-->
				</td>
				<td width="*" style="border-top:0px;background:#F3F6FA;height:25px;border-bottom:1px solid #D7DCDD;">
					<div style="float:left">
					<!--{if((bool)dr["isanonymous"] && ! (dr["name"].ToString().ToLower()==user.Name.ToLower() || user.IsMaster || user.IsSuperMaster  || IsAdmin) )}-->
						<a href="javascript:;"><img src="templates/<%=CurrentTemplateName%>/images/msg.gif" alt="发送短消息"/></a>
						<a href="javascript:;" title="查看用户个人信息"><b>匿名</b></a><font class="fon2">[<%=dr["addtime"]%>] 说：</font>
					<!--{else}-->
						<a href="message_send.aspx?recipient=<%=dr["name"]%>&TB_iframe=true&height=335&width=530" class="thickbox" title="发送短消息"><img src="templates/<%=CurrentTemplateName%>/images/msg.gif" alt="发送短消息"/></a>
						<a href="user_info.aspx?name=<%=dr["name"]%>" title="查看用户个人信息"><b>
								<%=dr["name"]%><!--{if((bool)dr["isanonymous"])}-->(匿名发帖)<!--{endif}-->
							</b></a><font class="fon2">[<%=dr["addtime"]%>] 说：</font>
					<!--{endif}-->
					</div>
					<div class="td1" style="float:right">
						<!--{if("0" == PkSettings[12] && !isPkEnd)}-->
						<a href="topicother.aspx?action_type=prosecution" >举报</a>
						<!--{if(!IsLock)}-->
						&nbsp;&nbsp;<a href="<%=addreply%>">回复</a>&nbsp;&nbsp;<a href="topic_addreply.aspx?pt=6&replyid=<%=dr["id"]%>&amp;topicid=<%=TopicID.ToString()%>">引用</a>
							<!--{endif}-->
						<!--{endif}-->
					<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowMask) == "1" )}-->
					 &nbsp;&nbsp;<a href="topic_action.aspx?topicid=<%=base.TopicID.ToString()%>&amp;replyid=<%=dr["id"]%>&amp;action=lonemask">屏蔽该帖</a>
					 <!--{endif}-->	
					 <!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowDisMask) == "1" )}-->
					 &nbsp;&nbsp;<a href="topic_action.aspx?topicid=<%=base.TopicID.ToString()%>&amp;replyid=<%=dr["id"]%>&amp;action=dislonemask">解除该帖屏蔽</a>
					<!--{endif}-->	
						<!--{if( user.GetUserLimitValue((int)PopStrategyEnum.AllowEditReply) == "1" || (user.Name != "游客" &&  dr["name"].ToString().ToLower()==user.Name))}-->
						&nbsp;&nbsp;<a href="<%="topic_edit.aspx?action=editreply&replyid=" + dr["id"].ToString()%>&amp;pt=6&amp;topicid=<%=TopicID.ToString()%>">编辑</a>
						<!--{endif}-->
						<!--{if( user.GetUserLimitValue((int)PopStrategyEnum.AllowDeleteReply) == "1")}-->
						&nbsp;&nbsp;<a href="<%="topic_delete.aspx?dept=0&topicid=" + dr["topicid"].ToString() +"pt=6&replyid=" + dr["id"].ToString()%>">删除</a>
						<!--{endif}-->
						<!--{if(IsAdmin)}-->
						&nbsp;&nbsp;<img src="templates/<%=CurrentTemplateName%>/images/ip.gif" title="<%=dr["ip"]%>"/>
						<!--{endif}-->
						&nbsp;&nbsp;<a href="topic.aspx?topicid=<%=dr["topicid"].ToString()%>#"><img src="templates/<%=CurrentTemplateName%>/images/gotop.gif" alt="顶端" /></a>
						&nbsp;&nbsp;<font class="fon2">#</font>&nbsp;<span class="depath"><%=dr["depth"]%></span>
					</div>
				</td>
			</tr>
			<tr>
				<td style="background-color:#FFFFFF;" >
					<div class="postcontent">
					<%=dr["content"]%>
					</div>
				</td>
			</tr>
		</table>
		<br />
		<!--{endforeach}-->
		<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin:4px 0px 4px 0px"
			ID="Table7">
			<tr>
				<td align="left"><!--#include file="_temppager.htm"--></td>
			</tr>
		</table>
		<!--{endif}-->
	</div>
	<%=RepeatReplies(2)%>
	<div id="action_998871" class="tablebox border" name="action_998871" style="margin-top:2px;display:<!--{if("2" == pki)}-->block<!--{else}-->  none<!--{endif}-->"> 
		<!--{if(0 == DisplayContent.Length)}-->
		<div class="tablebox" style="padding:5px;width:99%">
			暂未有人参与评论！
		</div>
		<!--{else}-->
		<!--{foreach (System.Data.DataRow dr in DisplayContent)} -->
		<table width="100%"  cellspacing="0" class="tablebox toptable1" ID="Table10">
			<tr>
				<td width="30px" rowspan="2" align="center" style="background-color:#FFFFFF;">
					<!--{if((bool)dr["isanonymous"] && (!(dr["name"].ToString().ToLower()==user.Name.ToLower() || user.IsMaster || user.IsSuperMaster  || IsAdmin) || dr["name"].ToString() == "游客" ))}-->
						<img src="templates/<%=CurrentTemplateName%>/skins/<%=CurrentSkinName%>/images/anyon.gif" class="smallface"/>
					<!--{else}-->
						<img src="<%=dr["facepath"].ToString()%>" class="smallface"/>
					<!--{endif}-->
				</td>
				<td width="*" style="border-top:0px;background:#F3F6FA;height:25px;border-bottom:1px solid #D7DCDD;">
					<div style="float:left">
					<!--{if((bool)dr["isanonymous"] && (!(dr["name"].ToString().ToLower()==user.Name.ToLower() || user.IsMaster || user.IsSuperMaster  || IsAdmin) || dr["name"].ToString() == "游客" ))}-->
						<a href="javascript:;"><img src="templates/<%=CurrentTemplateName%>/images/msg.gif" alt="发送短消息"/></a>
						<a href="javascript:;" title="查看用户个人信息"><b>匿名</b></a><font class="fon2">[<%=dr["addtime"]%>] 说：</font>
					<!--{else}-->
						<a href="message_send.aspx?recipient=<%=dr["name"]%>&TB_iframe=true&height=335&width=530" class="thickbox" title="发送短消息"><img src="templates/<%=CurrentTemplateName%>/images/msg.gif" alt="发送短消息"/></a>
						<a href="user_info.aspx?name=<%=dr["name"]%>" title="查看用户个人信息"><b>
								<%=dr["name"]%><!--{if((bool)dr["isanonymous"])}-->(匿名发帖)<!--{endif}-->
							</b></a><font class="fon2">[<%=dr["addtime"]%>] 说：</font>
					<!--{endif}-->
					</div>
					<div class="td1" style="float:right">
					<a href="topicother.aspx?action_type=prosecution">举报</a>
						<!--{if("0" == PkSettings[12] && !isPkEnd)}-->
						<!--{if(!IsLock)}-->
						&nbsp;&nbsp;<a href="<%=addreply%>">回复</a>&nbsp;&nbsp;<a href="topic_addreply.aspx?pt=6&replyid=<%=dr["id"]%>&amp;topicid=<%=TopicID.ToString()%>">引用</a>
							<!--{endif}-->
						<!--{endif}-->
					<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowMask) == "1" )}-->
					 &nbsp;&nbsp;<a href="topic_action.aspx?topicid=<%=base.TopicID.ToString()%>&amp;replyid=<%=dr["id"]%>&amp;action=lonemask">屏蔽该帖</a>
					<!--{endif}-->	
					 <!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowDisMask) == "1" )}-->
					 &nbsp;&nbsp;<a href="topic_action.aspx?topicid=<%=base.TopicID.ToString()%>&amp;replyid=<%=dr["id"]%>&amp;action=dislonemask">解除该帖屏蔽</a>
					<!--{endif}-->	
					<!--{if( user.GetUserLimitValue((int)PopStrategyEnum.AllowEditReply) == "1" || (user.Name != "游客" &&  dr["name"].ToString().ToLower()==user.Name))}-->
						&nbsp;&nbsp;<a href="<%="topic_edit.aspx?action=editreply&replyid=" + dr["id"].ToString()%>&amp;topicid=<%=TopicID.ToString()%>">编辑</a>
						<!--{endif}-->
						<!--{if( user.GetUserLimitValue((int)PopStrategyEnum.AllowDeleteReply) == "1")}-->
						&nbsp;&nbsp;<a href="<%="topic_delete.aspx?dept=0&topicid=" + dr["topicid"].ToString() +"&pt=6&replyid=" + dr["id"].ToString()%>">删除</a>
						<!--{endif}-->
						&nbsp;&nbsp;<a href="topic.aspx?topicid=<%=dr["topicid"].ToString()%>#"><img src="templates/<%=CurrentTemplateName%>/images/gotop.gif" alt="顶端" /></a>
						&nbsp;&nbsp;<font class="fon2">#</font>&nbsp;<span class="depath"><%=dr["depth"]%></span>
					</div>
				</td>
			</tr>
			<tr>
				<td style="background-color:#FFFFFF;" >
					<div class="postcontent">
					<%=dr["content"]%>
					</div>
				</td>
			</tr>
		</table>
		<br />
		<!--{endforeach}-->
		<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin:4px 0px 4px 0px" ID="Table9">
			<tr>
				<td align="left"><!--#include file="_temppager.htm"--></td>
			</tr>
		</table>
		<!--{endif}-->
	</div>
	<div id="action_998872" class="tablebox border" name="action_998872" style="margin-top:2px;display:<!--{if("3" == pki)}-->block<!--{else}-->  none<!--{endif}-->"><%=RepeatReplies(3)%>
		<!--{if(0 == DisplayContent.Length)}-->
		<div class="tablebox" style="padding:5px;width:99%">
			暂未有人参与评论！
		</div>
		<!--{else}-->
		
		<!--{foreach (System.Data.DataRow dr in DisplayContent)} -->
		<table width="100%" cellspacing="0" class="tablebox toptable1" ID="Table12">
			<tr>
				<td width="30px" rowspan="2" align="center" style="background-color:#FFFFFF;">
					<!--{if((bool)dr["isanonymous"] && (!(dr["name"].ToString().ToLower()==user.Name.ToLower() || user.IsMaster || user.IsSuperMaster  || IsAdmin) || dr["name"].ToString() == "游客" ))}-->
						<img src="templates/<%=CurrentTemplateName%>/skins/<%=CurrentSkinName%>/images/anyon.gif" class="smallface"/>
					<!--{else}-->
						<img src="<%=dr["facepath"].ToString()%>" class="smallface"/>
					<!--{endif}-->
				</td>
				<td width="*" style="border-top:0px;background:#F3F6FA;height:25px;border-bottom:1px solid #D7DCDD;">
					<div style="float:left">
					<!--{if((bool)dr["isanonymous"] && (!(dr["name"].ToString().ToLower()==user.Name.ToLower() || user.IsMaster || user.IsSuperMaster  || IsAdmin) || dr["name"].ToString() == "游客" ))}-->
						<a href="javascript:;"><img src="templates/<%=CurrentTemplateName%>/images/msg.gif" alt="发送短消息"/></a>
						<a href="javascript:;" title="查看用户个人信息"><b>匿名</b></a><font class="fon2">[<%=dr["addtime"]%>] 说：</font>
					<!--{else}-->
						<a href="message_send.aspx?recipient=<%=dr["name"]%>&TB_iframe=true&height=335&width=530" class="thickbox" title="发送短消息"><img src="templates/<%=CurrentTemplateName%>/images/msg.gif" alt="发送短消息"/></a>
						<a href="user_info.aspx?name=<%=dr["name"]%>" title="查看用户个人信息"><b>
								<%=dr["name"]%><!--{if((bool)dr["isanonymous"])}-->(匿名发帖)<!--{endif}-->
							</b></a><font class="fon2">[<%=dr["addtime"]%>] 说：</font>
					<!--{endif}-->
					</div>
					<div class="td1" style="float:right">
					<a href="topicother.aspx?action_type=prosecution">举报</a>
						<!--{if("0" == PkSettings[12] && !isPkEnd)}-->
						<!--{if(!IsLock)}-->
						&nbsp;&nbsp;<a href="<%=addreply%>">回复</a>&nbsp;&nbsp;<a href="topic_addreply.aspx?pt=6&replyid=<%=dr["id"]%>&amp;topicid=<%=TopicID.ToString()%>">
							引用</a> 
							<!--{endif}-->
						<!--{endif}-->
					<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowMask) == "1" )}-->
					 &nbsp;&nbsp;<a href="topic_action.aspx?topicid=<%=base.TopicID.ToString()%>&amp;replyid=<%=dr["id"]%>&amp;action=lonemask">屏蔽该帖</a>
					 <!--{endif}-->	
					 <!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowDisMask) == "1" )}-->
					 &nbsp;&nbsp;<a href="topic_action.aspx?topicid=<%=base.TopicID.ToString()%>&amp;replyid=<%=dr["id"]%>&amp;action=dislonemask">解除该帖屏蔽</a>
					<!--{endif}-->	
						<!--{if(user.GetUserLimitValue((int)PopStrategyEnum.AllowEditReply) == "1" || (user.Name != "游客" &&  dr["name"].ToString().ToLower()==user.Name))}-->
						&nbsp;&nbsp;<a href="<%="topic_edit.aspx?action=editreply&replyid=" + dr["id"].ToString()%>&amp;pt=6&amp;topicid=<%=TopicID.ToString()%>">编辑</a>
						<!--{endif}-->
						<!--{if( user.GetUserLimitValue((int)PopStrategyEnum.AllowDeleteReply) == "1")}-->
						&nbsp;&nbsp;<a href="<%="topic_delete.aspx?dept=0&topicid=" + dr["topicid"].ToString() +"&pt=6&replyid=" + dr["id"].ToString() + "&amp;topicid=" + TopicID.ToString()%>">删除</a>
						<!--{endif}-->
						&nbsp;&nbsp;<a href="topic.aspx?topicid=<%=dr["topicid"].ToString()%>#"><img src="templates/<%=CurrentTemplateName%>/images/gotop.gif" alt="顶端" /></a>
						&nbsp;&nbsp;<font class="fon2">#</font>&nbsp;<span class="depath"><%=dr["depth"]%></span>
					</div>
				</td>
			</tr>
			<tr>
					<td style="background-color:#FFFFFF;" >
					<div class="postcontent">
					<%=dr["content"]%>
					</div>
				</td>
			</tr>
		</table>
		<br />
		<!--{endforeach}-->
		<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin:4px 0px 4px 0px"
			ID="Table11">
			<tr>
				<td align="left"><!--#include file="_temppager.htm"--></td>
			</tr>
		</table>
		<!--{endif}-->
	</div>
