<!--{assign var="menu_id" value="dynamic"}-->
<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}-->
<body class="bg_body">
  <input type="hidden" id="dyid" value="<!--{$dynamic.dyid}-->">
  <!--{include file="<!--{$oetplpath}-->widget/block_top.tpl"}-->
  <div class="text ptb30 w1200">
    <h3 class="fn fz22">会员动态，了解TA的最好方式</h3>
    <div class="text fz16 color_9 mt5">在您发布动态，与朋友互动的时候，也请时刻记得遵守国家法律法规。</div>
  </div>
  <div class="w1200 clearfix mb30">
    <div class="left fl bg_f br10 bsb p30" style="width: 820px;">
      <div class="pr">
        <div class="pa lt">
          <div class="avatar img_80 oh br">
            <img class="ob_c" src="<!--{$dynamic.headimg_m2}-->" alt="头像">
          </div>
        </div>
        <div class="info pl100">
          <div class="name">
            <!--{if $dynamic.gender == '1'}-->
            <em class="iconfont icon-nan color_nan"></em>
            <!--{else}-->
            <em class="iconfont icon-nv color_nv"></em>
            <!--{/if}-->
            <span><!--{$dynamic.username}--></span>
          </div>
          <div class="data fz12 mt5">
            <!--{if $dynamic.age>0}-->
            <span class="inline_block ptb6 plr7 bo_eb color_9 mr10 lhn br3"><!--{$dynamic.age}-->岁</span>
            <!--{/if}-->
            <!--{if $dynamic.marry>0}-->
            <span class="inline_block ptb6 plr7 bo_eb color_9 mr10 lhn br3"><!--{hook mod="var" item="marry" type='text' value=$dynamic.marry}--></span>
            <!--{/if}-->
            <!--{if $dynamic.height>0}-->
            <span class="inline_block ptb6 plr7 bo_eb color_9 mr10 lhn br3"><!--{$dynamic.height}-->cm</span>
            <!--{/if}-->
            <!--{if $dynamic.education>0}-->
            <span class="inline_block ptb6 plr7 bo_eb color_9 mr10 lhn br3"><!--{hook mod="var" item="education" type='text' value=$dynamic.education}--></span>
            <!--{/if}-->
            <!--{if $dynamic.job>0}-->
            <span class="inline_block ptb6 plr7 bo_eb color_9 mr10 lhn br3"><!--{hook mod="var" item="job" type='text' value=$dynamic.job}--></span>
            <!--{/if}-->
            <!--{if $dynamic.salary>0}-->
            <span class="inline_block ptb6 plr7 bo_eb color_9 mr10 lhn br3"><!--{hook mod="var" item="salary" type='text' value=$dynamic.salary}--></span>
            <!--{/if}-->
            <!--{if $dynamic.dist1>0}-->
            <span class="inline_block ptb6 plr7 bo_eb color_9 mr10 lhn br3"><!--{area type='text' value=$dynamic.dist1}--> <!--{area type='text' value=$dynamic.dist2}--> <!--{area type='text' value=$dynamic.dist3}--></span>
            <!--{/if}-->
          </div>
          <div class="text mt15 fz16"><!--{$dynamic.content}--></div>
          <div class="pic mt15 clearfix">
            <!--{if !empty($dynamic.gallery)}-->
            <!--{if count($dynamic.gallery) > 1}-->
            <!--{foreach $dynamic.gallery as $gallery}-->
            <div class="fl img_100 oh mr5 mb5">
              <img class="ob_c" src="<!--{$gallery.thumbimg}-->" preview="dynamic" data-src="<!--{$gallery.drawimg}-->">
            </div>
            <!--{/foreach}-->
            <!--{else}-->
            <!--{foreach $dynamic.gallery as $gallery}-->
            <img width="200" src="<!--{$gallery.thumbimg}-->" preview="dynamic" data-src="<!--{$gallery.drawimg}-->">
            <!--{/foreach}-->
            <!--{/if}-->
            <!--{/if}-->
          </div>
          <div class="pr clearfix mt10 fz13">
            <div class="color_9 fl"><!--{$dynamic.trantime}--></div>
            <div class="fr color_9">
              <!--{if $login.status == '1'}-->
              <div class="fl pr60 cursor <!--{if $dynamic.iszan==1}-->color_red<!--{/if}-->" f="zan_btn" data-dyid="<!--{$dynamic.dyid}-->">
                <em class="iconfont icon-zan fz14"></em>
                <span><!--{$dynamic.zans}--></span>
              </div>
              <!--{else}-->
              <a class="fl pr60 cursor color_9" href="<!--{routeurl module='passport' action='login'}-->">
                <em class="iconfont icon-zan fz14"></em>
                <span><!--{$dynamic.zans}--></span>
              </a>
              <!--{/if}-->
              <div class="fl cursor">
                <em class="iconfont icon-sixin fz22"></em>
                <span class="pr t_2"><!--{$dynamic.comms}--></span>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="comment pt50">
        <h3 class="bo_beb pb10 fz16">用户评论</h3>
        <div class="input_box mt20">
          <textarea class="w100per bo_eb br5 h100 bsb p10 fz16" placeholder="请输入内容..." id="comm_content"></textarea>
        </div>
        <div class="btn_box t_right mt15">
          <div class="inline_block w100">
            <input type="text" id="verify" class="oeui_input" style="height: 39px;">
          </div>
          <div class="inline_block pt5 mr10">
            <img src="<!--{$urlpath}-->source/include/validcode.php?type=number&width=65&height=30&num=5" class="cursor" id="verify_img">
          </div>
          <!--{if $login.status == '1'}-->
          <button class="bg_main cursor bo_main color_f fz16 plr20 ptb8 br3" id="submit_comment_btn">发布</button>
          <!--{else}-->
          <a class="bg_main cursor bo_main color_f fz16 plr20 ptb8 br3 inline_block" href="<!--{routeurl module='passport' action='login'}-->">发布</a>
          <!--{/if}-->
        </div>
        <div class="list" id="list">
        </div>
        <div class="load t_center" id="comment_btn_loading">
          <div class="inline_block">
            <img class="vam" src="<!--{$skinpath}-->images/loading.gif">
            <span class="color_9">正在加载</span>
          </div>
        </div>
        <div id="comment_btn_more" class="w100 bg_f5 br3 m0_a t_center lh30 cursor color_6" style="display: none;">加载更多</div>
      </div>
    </div>
    <div class="fr" style="width: 355px;">
      <div class="publish br10 bg_f ptb20 plr30">
        <div class="title">
          <h3 class="fz18 t_center lhn">发表动态</h3>
          <div class="line m0_a mt5 bg_main" style="width: 25px;height: 3px;"></div>
        </div>
        <div class="box mt20 t_center">
          <!--{if $login.status == '1'}-->
          <button class="w100per ptb12 bg_main color_f bo_main fz15 br3 cursor mb20" f="publish">我要发表</button>
          <!--{else}-->
          <a class="w100per ptb12 bg_main color_f bo_main fz15 br3 cursor block" href="<!--{routeurl module='passport' action='login'}-->">我要发表</a>
          <!--{/if}-->
          <br>
          <a class="w100per ptb12 bg_f5 color_6 fz15 br3 cursor mb20 block" href="<!--{$oefile}-->?c=dynamic&a=my" style="border: 1px solid #f5f5f5;">我的动态</a>
        </div>
      </div>
      <div class="bg_f br10 plr20 mt20">
        <div class="title p10 pt30">
          <h3 class="t_center mb5 fz18">优质会员</h3>
          <div class="w30 m0_a bg_main br" style="height: 3px;"></div>
        </div>
        <div class="user_list clearfix pt25">
          <!--{if $login.status == '1'}-->
          <!--{if $login.info.gender == '2'}-->
          <!--{assign var="user" value=vo_list("mod={listuser} where={v.elite='1' AND v.avatar='1' AND v.gender='1'} num={4}")}-->
          <!--{else}-->
          <!--{assign var="user" value=vo_list("mod={listuser} where={v.elite='1' AND v.avatar='1' AND v.gender='2'} num={4}")}-->
          <!--{/if}-->
          <!--{else}-->
          <!--{assign var="user" value=vo_list("mod={listuser} where={v.elite='1' AND v.avatar='1'} num={4}")}-->
          <!--{/if}--> 

          <!--{if empty($user)}-->
          <div class="oe_nodata">
            <p class="p_1"><img src="<!--{$skinpath}-->images/nodata.jpg" /></p>
            <p class="p_2">暂时没有任何数据！~</p>
          </div>
          <!--{else}-->
            <!--{foreach $user as $volist}-->
              <div class="item fl mlr8 mb10 pb40" style="width: 140px;">
                <div class="avatar oh br3 pr" style=" height: 172px;">
                  <a href="<!--{$volist.homeurl}-->">
                    <img class="ob_c" src="<!--{$volist.headimg_m2}-->" alt="头像">
                  </a>
                  <div class="rz pa r10 t2 z200">
                    <!--{if $volist.idrz == '1'}-->
                    <div class="mtb6" title="身份已认证"><img class="img_20" src="<!--{$skinpath}-->images/svg/r_idc.svg" /></div>
                    <!--{/if}-->
                    <!--{if $volist.mobilerz == '1'}-->
                    <div class="mtb6" title="手机已认证"><img class="img_20" src="<!--{$skinpath}-->images/svg/r_mobile.svg" /></div>
                    <!--{/if}-->
                    <!--{if $volist.emailrz == '1'}-->
                    <div class="mtb6"  title="邮箱已认证"><img class="img_20" src="<!--{$skinpath}-->images/svg/r_email.svg" /></div>
                    <!--{/if}-->
                  </div>
                  <div class="mask t_center pa lt w100per h100per z100 color_f">
                    <div class="text mt15">
                      <!--{hook mod="var" item="marry" type="text" value=$volist.marry}--> 
                      <!--{hook mod="var" item="education" type="text" value=$volist.education}-->
                    </div>
                    <div class="text mt15"><!--{hook mod="var" item="job" type="text" value=$volist.job}--></div>
                    <div class="text mt15"><!--{hook mod="var" item="salary" type="text" value=$volist.salary}--></div>
                  </div>
                  <div class="btn_box pa w100per lb pb20 z200 t_center">
                    <a href="<!--{$volist.homeurl}-->">
                      <button class="bg_main bo_main color_f plr30 br30 ptb8 cursor">联系TA</button>
                    </a>
                  </div>
                </div>
                <div class="info">
                  <div class="name mt10 color_6 lh24">
                    <!--{if $volist.isvip == '1'}-->
                    <a href="<!--{$urlpath}-->index.php?m=user&c=vip" target="_blank">
                      <!--{if empty($volist.levelimg2)}--> 
                      <img class="w50 vam pr t_2" src="<!--{$skinpath}-->images/svg/vip<!--{$volist.groupid-1}-->.svg" title="<!--{$volist.groupname}-->"/> <!--{else}-->
                      <!--{$volist.levelimg}-->
                      <!--{/if}-->
                    </a>
                    <!--{else}-->
                    <!--{if $volist.gender == '1'}-->
                    <em class="iconfont icon-nan color_nan"></em>
                    <!--{else}-->
                    <em class="iconfont icon-nv color_nv"></em>
                    <!--{/if}-->
                    <!--{/if}-->
                    <a href="<!--{$volist.homeurl}-->">
                      <span class="color_6 fz16"><!--{$volist.username}--></span>
                    </a>
                  </div>
                  <div class="data color_9 mt5 lhn ws">
                    <!--{$volist.age}-->岁
                    <!--{$volist.height}-->cm
                    <!--{hook mod="var" item="job" type="text" value=$volist.job}--> 
                    <!--{area type="text" value=$volist.dist2}--> 
                  </div>
                </div>
              </div>
            <!--{/foreach}-->
          <!--{/if}-->
        </div>
      </div>
    </div>
  </div>

  <!--{include file="<!--{$oetplpath}-->widget/block_footer.tpl"}-->
  <!--{include file="<!--{$oetplpath}-->widget/block_footer_oeui.tpl"}-->
  <script src="<!--{$urlpath}-->tpl/static/pcui/js/oeui.photoswipe.js"></script>
  <script src="<!--{$skinpath}-->js/dynamic.detail.js"></script>
</body>
</html>