header-gw.html 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. {template 'common/header-base'}
  2. <style type="text/css">
  3. .xiaoren{width: 67px;height: 97px;position: fixed;right: 20%;bottom: 10%;z-index: 10;}
  4. .xiaoren>img{width: 67px;height: 97px;}
  5. .ygcheck{
  6. margin-top: 15px;
  7. display: inline-block;
  8. width:100px;
  9. height: 100px;
  10. }
  11. .jumbotron{background-color: rgba(0,0,0,0);border:none;}
  12. .alert-success .alert-link,.alert-success{color: white;}
  13. </style>
  14. <div class="gw-container">
  15. <!-- {if !empty($_W['uniacid']) && !defined('IN_MESSAGE')}
  16. <div class="navbar navbar-inverse navbar-static-top" role="navigation" style="z-index:1001; margin-bottom:0;">
  17. <div class="container-fluid">
  18. <ul class="nav navbar-nav">
  19. <li class="active"><a href="./?refresh"><i class="fa fa-cogs"></i>系统管理</a></li>
  20. <li><a href="{url 'home/welcome/platform'}" target="_blank"><i class="fa fa-share"></i>继续管理公众号({$_W['account']['name']})</a></li>
  21. {if IMS_FAMILY != 'x'}
  22. <li><a href="http://bbs.we7.cc"><i class="fa fa-comment"></i>餐饮论坛</a></li>
  23. <li><a href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzkzODAwMzEzOV8xNzEwOTZfNDAwMDgyODUwMl8yXw"><i class="fa fa-suitcase"></i>联系客服</a></li>
  24. {/if}
  25. </ul>
  26. <ul class="nav navbar-nav navbar-right">
  27. <li class="dropdown topbar-notice">
  28. <a type="button" data-toggle="dropdown">
  29. <i class="fa fa-bell"></i>
  30. <span class="badge" id="notice-total">0</span>
  31. </a>
  32. <div class="dropdown-menu" aria-labelledby="dLabel">
  33. <div class="topbar-notice-panel">
  34. <div class="topbar-notice-arrow"></div>
  35. <div class="topbar-notice-head">
  36. <span>系统公告</span>
  37. <a href="{php echo url('article/notice-show/list');}" class="pull-right">更多公告>></a>
  38. </div>
  39. <div class="topbar-notice-body">
  40. <ul id="notice-container"></ul>
  41. </div>
  42. </div>
  43. </div>
  44. </li>
  45. <li class="dropdown">
  46. <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" style="display:block; max-width:150px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; "><i class="fa fa-group"></i>{$_W['account']['name']} <b class="caret"></b></a>
  47. <ul class="dropdown-menu">
  48. {if $_W['role'] != 'operator'}
  49. <li><a href="{url 'account/post' array('uniacid' => $_W['uniacid'])}" target="_blank"><i class="fa fa-weixin fa-fw"></i> 编辑当前账号资料</a></li>
  50. {/if}
  51. <li><a href="{url 'account/display'}" target="_blank"><i class="fa fa-cogs fa-fw"></i> 管理其它公众号</a></li>
  52. <li><a href="{url 'utility/emulator'}" target="_blank"><i class="fa fa-mobile fa-fw"></i> 模拟测试</a></li>
  53. </ul>
  54. </li>
  55. <li class="dropdown">
  56. <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" style="display:block; max-width:185px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; "><i class="fa fa-user"></i>{$_W['user']['username']} ({if $_W['role'] == 'founder'}系统管理员{elseif $_W['role'] == 'manager'}公众号管理员{else}公众号操作员{/if}) <b class="caret"></b></a>
  57. <ul class="dropdown-menu">
  58. <li><a href="{url 'user/profile/profile'}" target="_blank"><i class="fa fa-weixin fa-fw"></i> 我的账号</a></li>
  59. {if $_W['role'] == 'founder'}
  60. <li class="divider"></li>
  61. <li><a href="{url 'system/welcome'}" target="_blank"><i class="fa fa-sitemap fa-fw"></i> 系统选项</a></li>
  62. <li><a href="{url 'system/welcome'}" target="_blank"><i class="fa fa-cloud-download fa-fw"></i> 自动更新</a></li>
  63. <li><a href="{url 'system/updatecache'}" target="_blank"><i class="fa fa-refresh fa-fw"></i> 更新缓存</a></li>
  64. <li class="divider"></li>
  65. {/if}
  66. <li><a href="{url 'user/logout'}"><i class="fa fa-sign-out fa-fw"></i> 退出系统</a></li>
  67. </ul>
  68. </li>
  69. </ul>
  70. </div>
  71. </div>
  72. {/if}
  73. -->
  74. <div class="navbar navbar-static-top" role="navigation" style="padding-top:20px;">
  75. <div class="container-fluid">
  76. <!-- <a class="navbar-brand" href="./?refresh" {if !empty($_W['setting']['copyright']['blogo'])}style="background:url('{php echo tomedia($_W['setting']['copyright']['blogo']);}') no-repeat;"{/if}></a>
  77. <ul class="nav navbar-nav pull-right" style="padding-top:10px;">
  78. <a href="{url 'account/display'}" class="tile img-rounded{if $controller == 'account'} active{/if}">
  79. <i class="fa fa-comments"></i>
  80. <span>公众号管理</span>
  81. </a>
  82. <a href="{url 'system/welcome'}" class="tile img-rounded{if $system_activie == 1} active{/if}">
  83. <i class="fa fa-sitemap"></i>
  84. <span>系统</span>
  85. </a>
  86. {if $_W['isfounder'] == '1'}
  87. {if $flow_master_info['status'] == 4 || IMS_FAMILY == 'v'}
  88. <a href="{url 'system/content_provider/account_list'}" class="tile img-rounded{if $system_activie == 2} active{/if}">
  89. {else}
  90. <a href="{url 'system/content_provider/display'}" class="tile img-rounded{if $system_activie == 2} active{/if}">
  91. {/if}
  92. <i class="fa fa-sitemap"></i>
  93. <span>广告联盟</span>
  94. </a>
  95. {/if}
  96. {if $_W['uid']}
  97. <a href="{url 'user/logout'}" class="tile img-rounded">
  98. <i class="fa fa-sign-out"></i>
  99. <span>退出</span>
  100. </a>
  101. {/if}
  102. </ul> -->
  103. </div>
  104. </div>
  105. <div class="container-fluid">
  106. {if defined('IN_MESSAGE')}
  107. <div>
  108. <!-- wi text-success wi-right-sign -->
  109. <div class="jumbotron clearfix alert alert-{$label}">
  110. <div class="row">
  111. <div class="col-md-2 col-md-push-3">
  112. <!-- <i class="ygcheck fa fa-5x fa-{if $label=='success'}check-circle{/if}{if $label=='danger'}times-circle{/if}{if $label=='info'}info-circle{/if}{if $label=='warning'}exclamation-triangle{/if}"></i> -->
  113. <img src="../addons/zh_jdgjb/template/images/duigoubai.png" class="ygcheck"/>
  114. </div>
  115. <div class="col-md-5 col-md-push-2">
  116. {if is_array($msg)}
  117. <h2>MYSQL 错误:</h2>
  118. <p>{php echo cutstr($msg['sql'], 300, 1);}</p>
  119. <p><b>{$msg['error'][0]} {$msg['error'][1]}:</b>{$msg['error'][2]}</p>
  120. {else}
  121. <h2>{$caption}</h2>
  122. <p>{$msg}</p>
  123. {/if}
  124. {if $redirect}
  125. <p><a href="{$redirect}" class="alert-link">如果你的浏览器没有自动跳转,请点击此链接</a></p>
  126. <div class="xiaoren"><img src="../addons/zh_jdgjb/template/images/stick.gif"></div>
  127. <script type="text/javascript">
  128. setTimeout(function () {
  129. location.href = "{$redirect}";
  130. }, 3000);
  131. </script>
  132. {else}
  133. <p>[<a href="javascript:history.go(-1);" class="alert-link">点击这里返回上一页</a>] &nbsp; [<a href="./?refresh" class="alert-link">首页</a>]</p>
  134. <div class="xiaoren"><img src="../addons/zh_jdgjb/template/images/stick.gif"></div>
  135. {/if}
  136. </div>
  137. </div>
  138. </div>
  139. {else}
  140. <div class="well">
  141. {/if}
  142. <script>
  143. var h = document.documentElement.clientHeight;
  144. $(".gw-container").css('min-height',h);
  145. {php echo site_profile_perfect_tips();}
  146. </script>