<!--{:tpl head}-->
<!--begin main-->
<div id="main">
 <div class="main_l bdr_1">
  <h3 id="position">
   <a href="{:ROOT_URL}">首页</a>
   <!--{:loop Tag::position($catid) $v}--><a href="{:$v['url']}">{:$v['name']}</a><!--{:/loop}-->
   <a href="{:Url::getContentUrl($m, $id)}">{:$realtitle}</a>相关评论
  </h3>
  <div id="comment_list" class="pd_10">{:if $commentList}{:tpl comment_list}{:else}暂时还没有人评论，抢个沙发吧！{:/if}</div>
  {:if $pages}
  <div id="pages" class="pages">{:$pages}</div>
  {:/if}
  <div class="toolbar">
   <a href="javascript:copyToClipBoard()">[推荐]</a>
   <a href="javascript:myAddPanel()">[收藏]</a>
   <a href="javascript:window.print();">[打印]</a>
   <a href="javascript:window.close();">[关闭]</a>
   <a href="#top">[返回顶部]</a>
  </div>
  <!--{:if C('iscomment', 0, 'article') && !$uncmt}-->
  <div class="comment">
   <h4><span class="totle">已有 {:$totle} 位网友发表了看法</span>我要评论</h4>
   <div id="comment_login">
    <span id="app_login_1">您好，请<a href="javascript:;" onclick="login()">登录</a>或<a href="{:Url::getUrl('member', 'reg')}">注册</a></span>
	<span id="app_login_2">您好，{username} | <a href="{:Url::getUrl('member', 'logout')}">退出</a></span>
   </div>
   <ul class="post">
    <li><textarea cols="122" rows="8" id="comment_content"></textarea></li>
    <li><input class="button" type="button" value="发表评论" onclick="comment_submit('{:$m}', {:$id})" /></li>
   </ul>
  </div>
  <script type="text/javascript" src="../../statics/js/comment.js"></script>
  <!--{:/if}-->
 </div>
 <div class="main_r">
  <div class="bdr_1 mb_10">
   <h5>最新文章</h5>
   <ul class="text_list">
    <!--{:loop Tag::listOne("catid=$catid, num=15") $v}-->
    <li><a href="{:$v['url']}" title="{:$v['title']}"{:$v['color']}>{:Tag::cut($v['title'],38,0)}</a></li>
    <!--{:/loop}-->
   </ul>
  </div>
  <div class="bdr_1 mb_10">
   <h5>相关文章</h5>
   <ul class="text_list">
    <!--{:loop Tag::listOne("catid=$catid, num=15, type=like, keyword=$keywords") $v}-->
    <li><a href="{:$v['url']}" title="{:$v['title']}"{:$v['color']}>{:Tag::cut($v['title'],38,0)}</a></li>
    <!--{:/loop}-->
   </ul>
  </div>
 </div>
</div>
<!--end main-->
{:tpl foot}