<div class="oe_home_user">
  <div class="bd">
    <div class="tag">
      <!--{if intval($config.online_flag) == 1}-->
      <!--{assign var="online_flag" value=get_online(<!--{$home.logintime}-->)}-->
      <!--{if $online_flag == '1'}-->
      <span class="online"><i></i>在线</span>
      <!--{else}-->
      
        <!--{if !empty($home.logintrantime)}-->
        <span class="online current"><i></i><!--{$home.logintrantime}--></span>
        <!--{/if}-->
      <!--{/if}-->
      <!--{/if}-->
      <!--{if $home.star > 0}-->
      <p>
        <span class="cer"><img src="<!--{$skinpath}-->images/svg/cer.svg" /><!--{$home.star}-->星</span>
      </p>
      <!--{/if}-->
      <p>
        <span class="cer">人气：<!--{$home.hits}--></span>
      </p>
    </div>
    
    <ul>
      <li class="head">

      <!--//9.11.26 -->
      <!--{if $home.gender == '1'}-->
      <img src="<!--{$urlpath}-->tpl/static/images/gender_1.png" data-src="<!--{$home.headimg_m2}-->" preload="0" />
      <!--{else}-->
      <img src="<!--{$urlpath}-->tpl/static/images/gender_2.png" data-src="<!--{$home.headimg_m2}-->" preload="0" />
      <!--{/if}-->
      </li>
    </ul>

  </div>
  <!--{assign var="photo_list" value=vo_list("mod={photo} where={v.userid='<!--{$home.userid}-->' AND v.flag='1'} num={12}")}-->
  
  <!--{if !empty($photo_list)}-->
  <div class="hd">
    <div class="oe_home_photo">
      <!--{if $login.status == '0'}-->
      <div class="tips">
        <span>登录网站，获取浏览会员相册的权限。<a href="javascript:;" f="pop2_jdlogin">点击登录</a></span>
      </div>
      <div class="public" id="slider_gallery">
        <ul>
          <!--{foreach $photo_list as $volist}-->
          <li>
            <img src="<!--{$volist.thumbimg}-->" layer-src="<!--{$volist.drawimg}-->" />
            <p class="mbg"></p>
          </li>
          <!--{/foreach}-->
        </ul>
        <div class="clear"></div>
      </div>
      <!--{else}-->
      <!--{assign var="myphotos" value=<!--{countdata type="user" mod="myphoto" where="v.userid='<!--{$login.info.userid}-->' AND v.flag='1'"}-->}--> 
      <!--{if $myphotos == 0}-->
      <div class="tips">
        <span>您还没上传照片，无法查看会员相册。<a href="<!--{$urlpath}-->index.php?m=user&c=photo"  target="_blank">点击去上传</a></span>
      </div>
      <div class="public" id="slider_gallery">
        <ul>
          <!--{foreach $photo_list as $volist}-->
          <li>
            <img src="<!--{$volist.thumbimg}-->" layer-src="<!--{$volist.drawimg}-->" />
            <p class="mbg"></p>
          </li>
          <!--{/foreach}-->
        </ul>
        <div class="clear"></div>
      </div>
      <!--{else}-->
      <div class="public" id="slider_gallery">
        <ul>
          <!--{foreach $photo_list as $volist}-->
          <li>
            <img src="<!--{$volist.thumbimg}-->" layer-src="<!--{$volist.drawimg}-->" />
            <p class="mbg"></p>
          </li>
          <!--{/foreach}-->
        </ul>
        <div class="clear"></div>
      </div>
      <!--//list End -->
      <script type="text/javascript">
      layui.use('layer', function(){
          $layer = layui.layer;
          $layer.photos({
              photos: '#slider_gallery'
              ,anim: 5 //0-6的选择，指定弹出图片动画类型
          });
      });              
      </script>
      <!--{/if}-->
      <!--{/if}-->
    </div>
    <!--//oe_home_photo End -->

  </div>
  <!--{/if}-->
</div>
<!--//oe_home_user End-->