<!--{assign var="menu_id" value="diary"}-->
<!--{assign var="menu_id" value="diary"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}--> 
<body class="bg_body">
  <!--{include file="<!--{$oetplpath}-->widget/block_top.tpl"}-->
  <div class="w1200 mt30 clearfix mb30">
    <!--{include file="<!--{$oetplpath}-->block_menu.tpl"}-->
    <div class="fr bg_f plr40 ptb30 bsb" style="width: 1020px;">
      <h3 class="fz24 mb20">我的评论</h3>
      <div class="nav clearfix bo_beb mt30">
        <a href="<!--{$oefile}-->&c=diary">
          <div class="item fl mr60 pb15 pr t1">
            <div class="text fz16 color_6">我的日记</div>
          </div>
        </a>
        <a href="<!--{$oefile}-->&c=diarycomm">
          <div class="item fl mr60 pb15 pr t1">
            <div class="text fz16 color_6">我的评论</div>
            <div class="line w100per bg_main pa lb" style="height: 3px;"></div>
          </div>
        </a>
      </div>

      <div class="list mt15">
        <table class="w100per" style="border-collapse: collapse;">
          <tr>
            <td class="p10 bo_eb bg_fa">日记</td>
            <td class="t_center p10 bo_eb bg_fa" width="15%">时间</td>
            <td class="t_center p10 bo_eb bg_fa" width="15%">状态</td>
            <td class="t_center p10 bo_eb bg_fa" width="15%">评论</td>
          </tr>
          <!--{if empty($diarycomm)}-->
          <tr>
            <td colspan="4" class="t_center p10 bo_eb">没有符合条件的信息</td>
          </tr>
          <!--{else}-->
          <!--{foreach $diarycomm as $volist}-->
          <tr>
            <td class="p10 bo_eb bg_fa">
              <p><a href="<!--{$volist.url}-->" target="_blank"><!--{$volist.title}--></a></p>
            </td>
            <td class="t_center p10 bo_eb bg_fa">
              <p><!--{$volist.cmtime|date_format:"%Y-%m-%d %H:%M:%S"}--></p>
            </td>
            <td class="t_center p10 bo_eb bg_fa">
              <!--{if $volist.flag == '1'}-->
              <span class="color_green">通过</span>
              <!--{elseif $volist.flag == '2'}-->
              <font color="red">未通过</font>
              <!--{else}-->
              <font color="gray">待审核</font>
              <!--{/if}-->
            </td>
            <td class="t_center p10 bo_eb bg_fa">
              <p><!--{$volist.cmcont}--></p>
            </td>
          </tr>
          <!--{/foreach}-->
          <!--{/if}-->
        </table>
      </div>

      <!--{if $total > 0 && !empty($showpage)}-->
      <div class="oe_page"> <!--{$showpage}--> </div>
      <!--{/if}-->
    </div>
  </div>

  <!--{include file="<!--{$uctplpath}-->widget/block_footer.tpl"}-->
</body>
</html>