
<div class="core_reply_border_top"></div>
<div class="reply_list">
		<div class="J_reply_page_list">
			<ul id="J_reply_ul_{$read['pid']}">
		<!--#  $replypage = 1; $perpage = 7;  #-->

		<?php  if(isset($_GET['pid']) && $_GET['rpid'] == $read['pid']){   //二级回复第N页提醒
		$replyposition = Wekit::load('forum.PwThread')->countPostByTidUnderRpidAndpid($_GET['pid'],$read['pid']);
		$replypage = ceil(($replyposition + 1) / $perpage);
	    }?>
        <!--#  list($start, $limit) = Pw::page2limit($replypage,$perpage); #-->
	    <!--#  $replydb = Wekit::load('forum.PwPostsReply')->getPostByPid($read['pid'],$limit,$start); #-->
		<!--#  $replydb = Wekit::load('forum.srv.PwThreadService')->displayReplylist($replydb); #-->

		<!--#  foreach ($replydb as $key => $reply) {  #-->
		<a class="target-reply2" name="{$reply['pid']}"></a>
	<li {@$reply['pid'] == $_GET['pid'] ? 'class=current_floor' : ''}>
			<a href="{@url:space/index/run?uid=$reply['created_userid']}" class="face J_user_card_show"  data-uid="{$reply['created_userid']}"  target="_blank"><img src="{@Pw::getAvatar($reply['created_userid'])}" onerror="this.onerror=null;this.src='{@G:url.images}/face/face_small.jpg'" alt="{$reply['created_username']}"></a><div class="reply_content">
				<a class="J_user_card_show name songti" data-uid="{$reply['created_userid']}" href="{@url:space/index/run?uid=$reply['created_userid']}" target="_blank">{$reply['created_username']}</a>:<span class=" main_text" >{@$reply['content']|html}</span>
				<div>

					<span class="operate">


					<a href="" class="J_read_reply_single" data-npid="{$reply['pid']}" data-username="{$reply['created_username']}">回复</a></span>
					<span class="time fr songti">{@Pw::time2str($reply['created_time'])}</span>
			

			    <!--# if ($loginUser->uid && ($reply['created_userid'] == $loginUser->uid || $threadPermission['edit'])) { #-->
				 <span class="fr" style="margin:0 5px 0 3px;">|</span><a href="{@url:bbs/post/modify?tid=$tid&pid=$reply['pid']}" class="fr" style="color:#1D53BF;">[编辑]</a>
				<!--# } #-->

<!--# if ($operateReply) { #-->
<label for="label_{$reply['pid']}"><input name="pids[]" id="label_{$reply['pid']}" type="checkbox" value="{$reply['pid']}" class="J_check checkbox fr"></label> 
<!--# } #-->	
				</div>
			</div>
		</li>

		<!--#  } #-->
	</ul>
	<div class="J_pages_wrap cc"><page tpl="TPL:common.page_replylist" page="$replypage" per="$perpage" count="$read['replies']" url="bbs/post/replylist?tid=$read['fid']&pid=$read['pid']"/><p class="woshuoyiju" style="{@$read['replies'] > 0 ? '' : 'display:none'}"><span class="J_qlogin_trigger" >我来说一句</span></p></div></div>
		<div class="reply_quick cc " style="{@$read['replies'] > 0 ? 'display:none' : ''}" >
			<dl class="ct cc">
				<dd>
					<textarea name="atc_content" id="J_reply_ta_{$read['pid']}" style="height:40px;" class="J_at_user_textarea" placeholder="我也说两句"></textarea>
				</dd>
			</dl>
			<div class="ft cc J_reply_ft">
				<div class="operate">
					<a href="" class="a_face J_insert_emotions" data-emotiontarget="#J_reply_ta_{$read['pid']}">表情</a>
				</div>

				<button type="submit" data-tid="{$read['tid']}" data-pid="{$read['pid']}"  data-npid="" class="btn btn_submit disabled J_reply_sub" disabled="disabled" data-action="{@url:bbs/post/doreply?_getHtml=2}">回复</button>
				<span class="fr" style="color:#999;padding-right:10px;margin-top: 5px;">Ctrl+Enter快捷发表</span>
			</div>
		</div>
</div>





	
	