<div class="bg_main color_f w100per min_w1200" >
  <div class="w1200 h66 lh66">
    <div class="oe_logo fl">
      <a href="<!--{$config.siteurl}-->"><img alt="<!--{$config.sitename}-->" title="<!--{$page_title}-->" src="<!--{$urlpath}--><!--{$config.logo}-->" /></a>
    </div>
    <div class="oe_menu fl pl20">
      <ul class="fz16">
        <li class="fl <!--{if $menu_id == 'index'}-->current<!--{/if}-->" ><a class="color_f inline_block plr20 pr" href="<!--{$urlpath}-->index.php">首页<i class="iconfont icon-triangle pa l50per b lhn"></i></a></li>
        <li class='fl <!--{if $menu_id == 'user'}--> current<!--{/if}-->'><a class="color_f inline_block plr20 pr" href="<!--{routeurl module='user'}-->">会员<i class="iconfont icon-triangle pa l50per b lhn"></i></a></li>
        <li class='fl <!--{if $menu_id == 'party'}-->current<!--{/if}-->'><a class="color_f inline_block plr20 pr" href="<!--{routeurl module='party'}-->">活动<i class="iconfont icon-triangle pa l50per b lhn"></i></a></li>
        <li class='fl <!--{if $menu_id == 'article'}-->current<!--{/if}-->'><a class="color_f inline_block plr20 pr" href="<!--{routeurl module='article'}-->">婚恋课堂<i class="iconfont icon-triangle pa l50per b lhn"></i></a></li>
        <li class='fl <!--{if $menu_id == 'diary'}-->current<!--{/if}-->'><a class="color_f inline_block plr20 pr" href="<!--{routeurl module='diary'}-->">日记<i class="iconfont icon-triangle pa l50per b lhn"></i></a></li>
        <li class='fl <!--{if $menu_id == 'dynamic'}-->current<!--{/if}-->'><a class="color_f inline_block plr20 pr" href="<!--{routeurl module='dynamic'}-->">动态<i class="iconfont icon-triangle pa l50per b lhn"></i></a></li>
        <li class='fl <!--{if $menu_id == 'story'}-->current<!--{/if}-->'><a class="color_f inline_block plr20 pr" href="<!--{routeurl module='story'}-->">幸福案例<i class="iconfont icon-triangle pa l50per b lhn"></i></a></li>
        <li class='fl <!--{if $menu_id == 'safety'}-->current<!--{/if}-->'><a class="color_f inline_block plr20 pr" href="<!--{routeurl module='safety'}-->">防骗中心<i class="iconfont icon-triangle pa l50per b lhn"></i></a></li>
      </ul>
      <div class="clear"></div>
    </div>
    
    <div class="fr">
      <!--{if $login.status=='0'}-->
      <div class="pt15">
        <span class="inline_block bg_tran br plr15 lhn lh35 color_f">
          <a href="javascript:;" f="pop2_jdlogin"  class="color_f" rel="nofollow"><i class="iconfont icon-weixin vam"></i> 登录</a>
          <i class="inline_block mlr10">|</i>
          <a href="<!--{routeurl module='passport' action='reg'}-->" class="color_f" rel="nofollow">注册</a>
        </span>
      </div>
      <!--{else}-->
      
      <!--//0.04.13-->
      <!--{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'"}-->}-->
      <!--{assign var="new_msg" value=<!--{countdata type='user' mod='msg' where="v.userid='<!--{$login.info.userid}-->' AND v.readflag='0'"}-->}-->
      <!--{assign var="new_friendapply" value=<!--{countdata type='user' mod='friendapply' where="v.fuserid='<!--{$login.info.userid}-->' AND v.flag='0'"}-->}-->
      
      <div class="user_info fl cursor pr plr10">
        <a href="<!--{$oefile}-->">
          <div class="avatar img_35 oh br30 inline_block vam">
            <img class="ob_c" src="<!--{$login.info.headimgurl}-->" alt="头像">
          </div>
          <div class="text inline_block vam ml5 mr10 color_f"><!--{$login.info.username}--></div>
          <div class="icon inline_block vam">
            <em class="iconfont icon-xiangxia color_f fz14"></em>
          </div>
        </a>
        <div class="menu pa lt bg_f bsb p30 bsd" style="width:390px;top:100%;left:50%;height: 240px;z-index: 1000;margin-left: -195px;">
          <div class="left fl t_center">
            <div class="btn_box">
              <a href="<!--{$oefile}-->&c=vip"><button class="color_f plr10 ptb5 bg_main bo_main br3 cursor" style="width: 94px;"><em class="iconfont icon-bdfw fz12"></em> 升级VIP</button></a>
            </div>
            <div class="btn_box mt30">
              <a href="<!--{$oefile}-->"><button class="color_f plr10 ptb5 bg_main bo_main br3 cursor" style="width: 94px;"><em class="iconfont icon-yue2 fz14"></em> 账号余额</button></a>
            </div>
            <div class="btn_box pt60">
              <a href="<!--{$urlpath}-->index.php?c=passport&a=logout"><button class="plr10 ptb5 bg_f5 bo_eb br3 cursor color_6" style="width: 94px;">退出登录</button></a>
            </div>
          </div>
          <div class="right fl ml30 color_6 lhn oe_downmenu" style="width:200px;">
            <a href="<!--{$oefile}-->&c=msgcontact">
              <div class="item w50per fl lh30 h30 plr10 br3 bsb oh">
                <em class="iconfont icon-xiaoxi"></em>
                私信消息
              </div>
            </a>
            <a href="<!--{$oefile}-->&c=msg">
              <div class="item w50per fl lh30 h30 plr10 br3 bsb oh">
                <em class="iconfont icon-tongzhi"></em>
                系统通知
              </div>
            </a>
            <a href="<!--{$oefile}-->&c=visitme">
              <div class="item w50per fl mt20 lh30 h30 plr10 br3 bsb oh">
                <em class="iconfont icon-shuikanguowo fz18"></em>
                谁看过我
              </div>
            </a>
            <a href="<!--{$oefile}-->&c=friend">
              <div class="item w50per fl mt20 lh30 h30 plr10 br3 bsb oh">
                <em class="iconfont icon-qiandao"></em>
                我的好友
              </div>
            </a>
            <a href="<!--{$oefile}-->&c=profile">
              <div class="item w50per fl mt20 lh30 h30 plr10 br3 bsb oh">
                <em class="iconfont icon-wanshanziliao"></em>
                完善资料
              </div>
            </a>
            <a href="<!--{$oefile}-->&c=photo">
              <div class="item w50per fl mt20 lh30 h30 plr10 br3 bsb oh">
                <em class="iconfont icon-shangchuantouxiang fz15"></em>
                上传相册
              </div>
            </a>
            <a href="<!--{$oefile}-->&c=rz">
              <div class="item w50per fl mt20 lh30 h30 plr10 br3 bsb oh">
                <em class="iconfont icon-renzheng fz18 pr t2"></em>
                诚信认证
              </div>
            </a>
            <a href="<!--{$oefile}-->&c=set">
              <div class="item w50per fl mt20 lh30 h30 plr10 br3 bsb oh">
                <em class="iconfont icon-xiugaimima"></em>
                修改密码
              </div>
            </a>
          </div>
          <div class="icon pa lhn" style="top: -10px;left: 50%;margin-left: -8px;">
            <em class="iconfont icon-triangle color_f"></em>
          </div>
        </div>
      </div>

      <div class="fl ml30 oh cursor pr" style="height: 66px;">
        <a href="<!--{$oefile}-->&c=msgcontact"><em class="iconfont icon-sixin color_f fz30" style="line-height: 66px;"></em></a>
        <!--{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'"}-->}-->
        <!--{assign var="new_msg" value=<!--{countdata type='user' mod='msg' where="v.userid='<!--{$login.info.userid}-->' AND v.readflag='0'"}-->}-->
        <!--{if $new_message + $new_msg > 0}-->
        <span class="pa rt bg_red color_f lhn plr5 br30 fz12 bo_f t10"><!--{$new_message + $new_msg}--></span>
        <!--{/if}-->
      </div>
      <div class="fl ml30 oh cursor pr" style="height: 66px;">
        <a href="<!--{$oefile}-->&c=vip"><em class="iconfont icon-bdfw color_f" style="line-height: 66px;"></em></a>
      </div>
      <!--{/if}-->
    </div>
    <div class="clear"></div>
  </div>
</div>