header-account.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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']->typeSign == 'account'}
  4. {if $_W['account']['level'] == 1 || $_W['account']['level'] == 3}
  5. <span class="label label-primary">订阅号</span>{if $_W['account']['level'] == 3}<span class="label label-primary">已认证</span>{/if}
  6. {/if}
  7. {if $_W['account']['level'] == 2 || $_W['account']['level'] == 4}
  8. <span class="label label-primary">服务号</span> {if $_W['account']['level'] == 4}<span class="label label-primary">已认证</span>{/if}
  9. {/if}
  10. {if $_W['uniaccount']['isconnect'] == 0}
  11. <span class="tips-danger">
  12. <i class="wi wi-warning-sign"></i>未接入微信公众号
  13. <a href="{php echo url('account/post', array('uniacid' => $_W['account']['uniacid'], 'acid' => $_W['acid']))}">立即接入</a>
  14. </span>
  15. {/if}
  16. {elseif $_W['account']->typeSign == 'xzapp'}
  17. {if $_W['account']['level'] == 1}
  18. <span class="label label-primary">个人</span>
  19. {elseif $_W['account']['level'] == 2}
  20. <span class="label label-primary">媒体</span>
  21. {elseif $_W['account']['level'] == 3}
  22. <span class="label label-primary">企业</span>
  23. {elseif $_W['account']['level'] == 4}
  24. <span class="label label-primary">政府</span>
  25. {elseif $_W['account']['level'] == 5}
  26. <span class="label label-primary">其他组织</span>
  27. {/if}
  28. {if $_W['uniaccount']['isconnect'] == 0}
  29. <span class="tips-danger">
  30. <i class="wi wi-warning-sign"></i>未接入熊掌号
  31. <a href="{php echo url('account/post', array('uniacid' => $_W['account']['uniacid'], 'acid' => $_W['acid'], 'account_type' => ACCOUNT_TYPE_XZAPP_NORMAL))}">立即接入</a>
  32. </span>
  33. {/if}
  34. {/if}
  35. <span class="pull-right">
  36. <a href="{php echo url('account/display', array('type' => 'all'))}" class="color-default we7-margin-left">
  37. <i class="wi wi-cut-account color-default"></i>切换平台
  38. </a>
  39. </span>
  40. {if $_W['role'] != ACCOUNT_MANAGE_NAME_OPERATOR}
  41. <span class="pull-right"><a href="{php echo url('account/post', array('uniacid' => $_W['account']['uniacid'], 'acid' => $_W['account']['acid'], 'account_type' => $_W['account']['type']))}">
  42. <i class="wi wi-appsetting"></i>{php echo $_W['account']->typeName}设置</a>
  43. </span>
  44. {/if}
  45. {if $_W['account']->typeSign == 'account'}
  46. <span class="pull-right"><a href="{php echo url('utility/emulator');}" target="_blank"><i class="wi wi-iphone"></i>模拟测试</a></span>
  47. {/if}