header-xzapp.html 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <img src="{php echo tomedia('headimg_'.$_W['account']['acid'].'.jpg')}?time={php echo time()}" class="head-logo">
  2. <span class="font-lg">{$_W['account']['name']}</span>
  3. {if $_W['account']['level'] == 1}
  4. <span class="label label-primary">个人</span>
  5. {elseif $_W['account']['level'] == 2}
  6. <span class="label label-primary">媒体</span>
  7. {elseif $_W['account']['level'] == 3}
  8. <span class="label label-primary">企业</span>
  9. {elseif $_W['account']['level'] == 4}
  10. <span class="label label-primary">政府</span>
  11. {elseif $_W['account']['level'] == 5}
  12. <span class="label label-primary">其他组织</span>
  13. {/if}
  14. {if $_W['uniaccount']['isconnect'] == 0}
  15. <span class="tips-danger">
  16. <i class="wi wi-warning-sign"></i>未接入熊掌号
  17. <a href="{php echo url('account/post', array('uniacid' => $_W['account']['uniacid'], 'acid' => $_W['acid'], 'account_type' => ACCOUNT_TYPE_XZAPP_NORMAL))}">立即接入</a>
  18. </span>
  19. {/if}
  20. <span class="pull-right">
  21. <a href="{php echo url('account/display', array('type' => 'all'))}" class="color-default we7-margin-left">
  22. <i class="wi wi-cut color-default"></i>切换平台
  23. </a>
  24. </span>
  25. {if permission_account_user_role($_W['uid'], $_W['uniacid']) != ACCOUNT_MANAGE_NAME_OPERATOR}
  26. <span class="pull-right"><a href="{php echo url('account/post', array('uniacid' => $_W['account']['uniacid'], 'acid' => $_W['acid'], 'account_type' => ACCOUNT_TYPE_XZAPP_NORMAL))}">
  27. <i class="wi wi-appsetting"></i>熊掌号设置</a>
  28. </span>
  29. {/if}