<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>用户中心 - {aspbbs:guestConfig.SiteName}</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
{aspbbs:template src=common/link}
</head>
<body>

{aspbbs:template src=common/header_user}

<div class="layui-container fly-marginTop fly-user-main">
	{aspbbs:template src=common/user-nav}
  
  
  <div class="fly-panel fly-panel-user" pad20>
	{if:not isNul($admin.MailAlert)}
    <div class="fly-msg" style="margin-top: 15px;">
      您的邮箱尚未验证，这会影响您的帐号安全，<a href="{aspbbs:indexprefix}User_Activate{aspbbs:guestConfig.PageSuffix}">立即去激活？</a>
    </div>
	{end if}
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title" id="LAY_mine">
        <li data-type="mine-jie" lay-id="index" class="layui-this">我发的帖（<span>{aspbbs:func:V_("thread").recordCount}</span>）</li>
        <li data-type="collection" data-url="/collection/find/" lay-id="collection">我收藏的帖（<span>{aspbbs:func:V_("collection").recordCount}</span>）</li>
      </ul>
      <div class="layui-tab-content" style="padding: 20px 0;">
        <div class="layui-tab-item layui-show">
          <ul class="mine-view jie-row">
			{aspbbs:looprs data=thread}
            <li>
              <a class="jie-title" href="[looprs:TopicID func=getThreadLink(@me)]" target="_blank">[looprs:i]. [looprs:Title]</a>
              <i>[looprs:AddTime style=YYYY-MM-DD]</i>
              <a class="mine-edit" href="{aspbbs:indexprefix}Topic_edit_[looprs:TopicID]{aspbbs:guestConfig.PageSuffix}">编辑</a>
              <em>[looprs:Visits]阅/[looprs:ReplyCount]答</em>
            </li>
			{/aspbbs:looprs}
          </ul>
          <div id="LAY_page"></div>
        </div>
        <div class="layui-tab-item">
          <ul class="mine-view jie-row">
			{aspbbs:looprs data=collection}
            <li>
              <a class="jie-title" href="[looprs:TopicID func=getThreadLink(@me)]" target="_blank">[looprs:i]. [looprs:Title]</a>
              <em>[looprs:Visits]阅/[looprs:ReplyCount]答</em>
			</li>
			{/aspbbs:looprs}
          </ul>
          <div id="LAY_page1"></div>
        </div>
      </div>
    </div>
  </div>
</div>

{aspbbs:template src=self/footer}

</body>
</html>