<!--{assign var="menu_id" value="message"}-->
<!--{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">
        <a href="<!--{$urlpath}-->index.php?m=user&c=msgcontact">
          <div class="item fl mr60 pb15 pr t1">
            <div class="text fz16 color_6">收到私信</div>
            <!--{assign var="new_message" value=<!--{countdata type='user' mod='message' where="v.touid='<!--{$login.info.userid}-->' AND v.flag='1' AND v.readstatus='0' AND v.todel='0'"}-->}-->
            <!--{if $new_message>0}-->
            <div class="pa br30 bo_main plr5 color_main fz12 lhn" style="top: -10px;right: -24px;"><!--{$new_message}--></div>
            <!--{/if}-->
          </div>
        </a>
        <a href="javascript:;">
          <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>
            <!--{assign var="new_msg" value=<!--{countdata type='user' mod='msg' where="v.userid='<!--{$login.info.userid}-->' AND v.readflag='0'"}-->}-->
            <!--{if $new_msg > 0}-->
            <div class="pa br30 bo_main plr5 color_main fz12 lhn" style="top: -10px;right: -24px;"><!--{$new_msg}--></div>
            <!--{/if}-->
          </div>
        </a>
      </div>
      <ul class="mt30">
        <!--{if !empty($msg)}-->
        <!--{foreach $msg as $volist}-->
        <li class="clearfix bo_bf7 ptb15 pr">
          <div class="fl img_60 br oh mlr10 bg_nan t_center">
            <em class="iconfont icon-lingdang color_f fz30 lh60"></em>
          </div>
          <div class="info fl ml20 mt5">
            <div class="name">
              <span class="fz16 <!--{if $volist.readflag==0}-->color_3<!--{else}-->color_9<!--{/if}-->"><!--{$volist.title}--></span>
            </div>
            <div class="text mt5 color_9 pr100">
              <!--{$volist.content}-->
            </div>
          </div>
          <div class="fr pt12">
            <div class="fl color_9 lh36 mr15"><!--{$volist.sendtime|date_format: "Y-m-d"}--></div>
          </div>
        </li>
        <!--{/foreach}-->
        <!--{if $total > 0 && !empty($showpage)}-->
        <div class="oe_page"> <!--{$showpage}--> </div>
        <!--{/if}-->
        <!--{else}-->
        <div class="oe_nodata">
          <p class="p_1"><img src="<!--{$userskin}-->images/nodata.jpg" /></p>
          <p class="p_2">没有系统通知</p>
        </div>
        <!--{/if}-->
      </ul>
    </div>
  </div>

  <!--{include file="<!--{$uctplpath}-->widget/block_footer.tpl"}-->
  <script src="<!--{$urlpath}-->tpl/static/pcui/js/oeui.min.js"></script>
  <script src="<!--{$userskin}-->js/msg.js"></script>
</body>
</html>