|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/xe/modules/board/m.skins/default/ |
Upload File : |
<ul id="cl" class="rp tgo open">
{@ $_comment_list = $oDocument->getComments() }
{@ $start = true }
{@ $depth = 0 }
<!--@foreach($_comment_list as $key => $comment)-->
<!--@if(!$start && $comment->get('depth') == $depth)-->
</li>
<!--@end-->
<!--@if($comment->get('depth') > $depth)-->
<ul>
<!--@else-->
<!--@while($comment->get('depth') < $depth)-->
</li>
</ul>
{@ $depth -= 1 }
<!--@end-->
<!--@endif-->
<li>
<p>{$comment->getContent(false)}</p>
<em>{$comment->getNickName()}</em>
<span>{$comment->getRegdate("Y.m.d")}</span>
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
<a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}" class="md">{$lang->cmd_delete}</a>
<!--@endif-->
<a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}" class="md">{$lang->cmd_reply}</a>
{@ $start = false }
{@ $depth = $comment->get('depth') }
<!--@endforeach-->
<!--@while($depth > 0)-->
</li>
</ul>
{@ $depth -= 1}
<!--@end-->
</li>
</ul>
<!--@if($oDocument->comment_page_navigation)-->
<div id="clpn" class="pn">
<!--@if($oDocument->comment_page_navigation->cur_page != 1)-->
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page-1}); return false;">‹ {$lang->cmd_prev}</a>
<!--@endif-->
<strong id="curpage">{$oDocument->comment_page_navigation->cur_page} / {$oDocument->comment_page_navigation->last_page}</strong>
<!--@if($oDocument->comment_page_navigation->cur_page != $oDocument->comment_page_navigation->last_page)-->
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page+1}); return false;">{$lang->cmd_next} ›</a>
<!--@endif-->
</div>
<!--@endif-->