header-base.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <head>
  4. {if !defined('FRAME')}{php define('FRAME', '')}{/if}
  5. {php $frames = buildframes(FRAME);_calc_current_frames($frames);}
  6. <meta charset="utf-8">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <title>{if !empty($_W['page']['title'])}{$_W['page']['title']}{/if}{if empty($_W['page']['copyright']['sitename'])}{if IMS_FAMILY != 'x'}{if !empty($_W['page']['title'])} - {/if}微擎 - 公众平台自助引擎 - Powered by WE7.CC{/if}{else}{if !empty($_W['page']['title'])} - {/if}{$_W['page']['copyright']['sitename']}{/if}</title>
  10. <meta name="keywords" content="{if empty($_W['page']['copyright']['keywords'])}{if IMS_FAMILY != 'x'}微擎,微信,微信公众平台,w7.cc{/if}{else}{$_W['page']['copyright']['keywords']}{/if}" />
  11. <meta name="description" content="{if empty($_W['page']['copyright']['description'])}{if IMS_FAMILY != 'x'}公众平台自助引擎(www.w7.cc),简称微擎,微擎是一款免费开源的微信公众平台管理系统,是国内最完善移动网站及移动互联网技术解决方案。{/if}{else}{$_W['page']['copyright']['description']}{/if}" />
  12. <link rel="shortcut icon" href="{if !empty($_W['setting']['copyright']['icon'])}{php echo to_global_media($_W['setting']['copyright']['icon'])}{else}./resource/images/favicon.ico{/if}" />
  13. <link href="./resource/css/bootstrap.min.css?v={IMS_RELEASE_DATE}" rel="stylesheet">
  14. <link href="./resource/css/common.css?v={IMS_RELEASE_DATE}" rel="stylesheet">
  15. <script type="text/javascript">
  16. if(navigator.appName == 'Microsoft Internet Explorer'){
  17. if(navigator.userAgent.indexOf("MSIE 5.0")>0 || navigator.userAgent.indexOf("MSIE 6.0")>0 || navigator.userAgent.indexOf("MSIE 7.0")>0) {
  18. alert('您使用的 IE 浏览器版本过低, 推荐使用 Chrome 浏览器或 IE8 及以上版本浏览器.');
  19. }
  20. }
  21. window.sysinfo = {
  22. {if !empty($_W['uniacid'])}'uniacid': '{$_W['uniacid']}',{/if}
  23. {if !empty($_W['acid'])}'acid': '{$_W['acid']}',{/if}
  24. {if !empty($_W['openid'])}'openid': '{$_W['openid']}',{/if}
  25. {if !empty($_W['uid'])}'uid': '{$_W['uid']}',{/if}
  26. {if !empty($_W['role'])}'role': '{$_W['role']}',{/if}
  27. 'isfounder': {if !empty($_W['isfounder'])}1{else}0{/if},
  28. 'family': '{IMS_FAMILY}',
  29. 'siteroot': '{$_W['siteroot']}',
  30. 'siteurl': '{$_W['siteurl']}',
  31. 'attachurl': '{$_W['attachurl']}',
  32. 'attachurl_local': '{$_W['attachurl_local']}',
  33. 'attachurl_remote': '{$_W['attachurl_remote']}',
  34. 'module' : {'url' : '{if defined('MODULE_URL')}{MODULE_URL}{/if}', 'name' : '{if defined('IN_MODULE')}{IN_MODULE}{/if}'},
  35. 'cookie' : {'pre': '{$_W['config']['cookie']['pre']}'},
  36. 'account' : {php echo json_encode($_W['account'])},
  37. 'server' : {'php' : '{php echo phpversion()}'},
  38. 'frame': '{FRAME}',
  39. };
  40. </script>
  41. <script>var require = { urlArgs: 'v={IMS_RELEASE_DATE}' };</script>
  42. <script>
  43. document.addEventListener('error', function(event) {
  44. var elem = event.target;
  45. elem.src = ''
  46. }, true)
  47. </script>
  48. <script type="text/javascript" src="./resource/js/lib/jquery-1.11.1.min.js"></script>
  49. <script type="text/javascript" src="./resource/js/lib/bootstrap.min.js"></script>
  50. <script type="text/javascript" src="./resource/js/app/util.js?v={IMS_RELEASE_DATE}"></script>
  51. <script type="text/javascript" src="./resource/js/app/common.min.js?v={IMS_RELEASE_DATE}"></script>
  52. <script type="text/javascript" src="./resource/js/require.js?v={IMS_RELEASE_DATE}"></script>
  53. <script type="text/javascript" src="./resource/js/lib/jquery.nice-select.js?v={IMS_RELEASE_DATE}"></script>
  54. </head>
  55. <body>
  56. <div class="loader" style="display:none">
  57. <div class="la-ball-clip-rotate">
  58. <div></div>
  59. </div>
  60. </div>