<!DOCTYPE html>
<html>
<head>  
  <title>我的评论 - {:myucms('title')}</title>
{include file="index/header"}
<style type="text/css">
.home-jieda li .mine-edit {
    margin-left: 15px;
    padding: 4px 6px;
    background-color: #8FCDA0;
    color: #fff;
    font-size: 12px;
}
</style>
<!--钩子-->{:hook('setaa')}
<div class="main fly-user-main layui-clear">
  <ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
    <li class="layui-nav-item">
      <a href="/home/{$Think.session.userid}.html">
        <i class="layui-icon">&#xe609;</i>
        我的主页
      </a>
    </li>
    <li class="layui-nav-item">
      <a href="/bbs/user/index.html">
        <i class="layui-icon">&#xe612;</i>
        我的帖子
      </a>
    </li>
    <li class="layui-nav-item">
	<a href="/bbs/user/shoucang.html">
        <i class="layui-icon">&#xe600;</i>
        我的收藏
      </a>
    </li>
 
    <li class="layui-nav-item">
	<a href="/bbs/user/xiaoxi.html?id=0">
        <i class="layui-icon">&#xe63a;</i>
        我的消息
      </a>
    </li>
	<li class="layui-nav-item layui-this">
     <a href="/bbs/user/comment.html">
        <i class="layui-icon">&#xe611;</i>
        我的回复
      </a>
    </li>
    <li class="layui-nav-item">
     <a href="/bbs/user/set.html">
        <i class="layui-icon">&#xe620;</i>
        基本设置
      </a>
    </li>
     <!--钩子--> {:hook('setaj')}
  </ul>
  <div class="site-tree-mobile layui-hide">
    <i class="layui-icon">&#xe602;</i>
  </div>
  <div class="site-mobile-shade"></div>
  <div class="fly-panel fly-panel-user" pad20 >
    <div class="layui-tab layui-tab-brief">
      <ul class="layui-tab-title">
        <li><a href="/bbs/user/index.html">我的帖子</a></li>
		<li class="layui-this"><a href="/bbs/user/comment.html">我的评论</a></li>
     <!--钩子--> {:hook('setda')} 
      </ul>
      <div class="layui-tab-content" style="padding: 20px 0;">
          <div class="fly-panel">
		  <ul class="home-jieda">
			{volist name="gzc" id="vo"}
			<li>
			  <p>
			  <span>{$vo.time|date="Y-m-d",###}</span>
			  在<a href="/thread/{$vo.fid}.html" target="_blank">{$vo.title}</a>中回答 <a class="mine-edit" href="/edits/{$vo.id}.html">编辑</a>
			  </p>
			  <div class="home-dacontent">
				<?php echo mb_substr(strip_tags(htmlspecialchars_decode($vo['content'])), 0, 60, 'utf-8');?>...
			  </div>

			</li>
			{/volist}
		  </ul>
		  </div>
          <div class="pages cl">{$gzc->render()}</div>
      </div>
    </div>
  </div>
</div>
<!--钩子-->{:hook('setdb')} 
<script>

layui.use(['form', 'upload', 'element'],function(){
  var form = layui.form()
  ,element = layui.element()
  ,jq = layui.jquery;
var n=1;
  jq('.site-tree-mobile').click(function(){
	  
	  if( n==2){
		  jq('.layui-nav').animate({left: '-300px'}, "fast");
		 jq(this).find('.layui-icon').html('&#xe602;');
		  n=1;
	  }else{
		  n=2;
		  jq('.layui-nav').animate({left: '0px'}, "fast");
		  jq(this).find('.layui-icon').html('&#xe603;');
	  }
	 

	  
  });
  
 
  
});
</script>
<!--钩子-->{:hook('setdc')}
{include file="index/footer"}
</body>
</html>