人人商城

2_0_header.tpl.php 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?php defined('IN_IA') or exit('Access Denied');?><!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  6. <title>
  7. <?php if(!empty($title)) { ?>
  8. <?php echo $title;?> -
  9. <?php } else if(!empty($_W['page']['title'])) { ?>
  10. <?php echo $_W['page']['title'];?> -
  11. <?php } ?>
  12. <?php if(!empty($_W['page']['sitename'])) { ?>
  13. <?php echo $_W['page']['sitename'];?>
  14. <?php } else { ?>
  15. <?php echo $_W['account']['name'];?>
  16. <?php } ?>
  17. <?php if(IMS_FAMILY == 'v') { ?>
  18. - Powered by WE7.CC
  19. <?php } ?>
  20. </title>
  21. <meta name="format-detection" content="telephone=no, address=no">
  22. <meta name="apple-mobile-web-app-capable" content="yes" /> <!-- apple devices fullscreen -->
  23. <meta name="apple-touch-fullscreen" content="yes"/>
  24. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
  25. <meta name="keywords" content="<?php if(empty($_W['page']['keywords'])) { ?><?php if(IMS_FAMILY != 'x') { ?>微擎,微信,微信公众平台,we7.cc<?php } ?><?php } else { ?><?php echo $_W['page']['keywords'];?><?php } ?>" />
  26. <meta name="description" content="<?php if(empty($_W['page']['description'])) { ?><?php if(IMS_FAMILY != 'x') { ?>公众平台自助引擎(www.we7.cc),简称微擎,微擎是一款免费开源的微信公众平台管理系统,是国内最完善移动网站及移动互联网技术解决方案。<?php } ?><?php } else { ?><?php echo $_W['page']['description'];?><?php } ?>" />
  27. <link rel="shortcut icon" href="<?php echo $_W['siteroot'];?><?php echo $_W['config']['upload']['attachdir'];?>/<?php if(!empty($_W['setting']['copyright']['icon'])) { ?><?php echo $_W['setting']['copyright']['icon'];?><?php } else { ?>images/global/wechat.jpg<?php } ?>" />
  28. <script src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
  29. <script src="https://xiongzhang.baidu.com/sdk/c.js?appid=<?php echo $_W['account']['jssdkconfig']['appId'];?>&timestamp=<?php echo $_W['account']['jssdkconfig']['timestamp'];?>&nonce_str=<?php echo $_W['account']['jssdkconfig']['nonceStr'];?>&signature=<?php echo $_W['account']['jssdkconfig']['signature'];?>&url=<?php echo $_W['account']['jssdkconfig']['url'];?>"></script>
  30. <script type="text/javascript" src="<?php echo $_W['siteroot'];?>app/resource/js/app/util.js"></script>
  31. <script src="<?php echo $_W['siteroot'];?>app/resource/js/require.js"></script>
  32. <script type="text/javascript" src="<?php echo $_W['siteroot'];?>app/resource/js/lib/jquery-1.11.1.min.js?v=20160906"></script>
  33. <script type="text/javascript" src="<?php echo $_W['siteroot'];?>app/resource/js/lib/mui.min.js?v=20160906"></script>
  34. <script type="text/javascript" src="<?php echo $_W['siteroot'];?>app/resource/js/app/common.js?v=20160906"></script>
  35. <link href="<?php echo $_W['siteroot'];?>app/resource/css/bootstrap.min.css?v=20160906" rel="stylesheet">
  36. <link href="<?php echo $_W['siteroot'];?>app/resource/css/common.min.css?v=20160906" rel="stylesheet">
  37. <script type="text/javascript">
  38. if(navigator.appName == 'Microsoft Internet Explorer'){
  39. if(navigator.userAgent.indexOf("MSIE 5.0")>0 || navigator.userAgent.indexOf("MSIE 6.0")>0 || navigator.userAgent.indexOf("MSIE 7.0")>0) {
  40. alert('您使用的 IE 浏览器版本过低, 推荐使用 Chrome 浏览器或 IE8 及以上版本浏览器.');
  41. }
  42. }
  43. window.sysinfo = {
  44. <?php if(!empty($_W['uniacid'])) { ?>'uniacid': '<?php echo $_W['uniacid'];?>',<?php } ?>
  45. <?php if(!empty($_W['acid'])) { ?>'acid': '<?php echo $_W['acid'];?>',<?php } ?><?php if(!empty($_W['openid'])) { ?>'openid': '<?php echo $_W['openid'];?>',<?php } ?>
  46. <?php if(!empty($_W['uid'])) { ?>'uid': '<?php echo $_W['uid'];?>',<?php } ?>
  47. 'siteroot': '<?php echo $_W['siteroot'];?>',
  48. 'siteurl': '<?php echo $_W['siteurl'];?>',
  49. 'attachurl': '<?php echo $_W['attachurl'];?>',
  50. 'attachurl_local': '<?php echo $_W['attachurl_local'];?>',
  51. 'attachurl_remote': '<?php echo $_W['attachurl_remote'];?>',
  52. <?php if(defined('MODULE_URL')) { ?>'MODULE_URL': '<?php echo MODULE_URL;?>',<?php } ?>
  53. 'cookie' : {'pre': '<?php echo $_W['config']['cookie']['pre'];?>'}
  54. };
  55. // jssdk config 对象
  56. jssdkconfig = <?php echo json_encode($_W['account']['jssdkconfig']);?> || {};
  57. // 是否启用调试
  58. jssdkconfig.debug = false;
  59. jssdkconfig.jsApiList = [
  60. 'checkJsApi',
  61. 'onMenuShareTimeline',
  62. 'onMenuShareAppMessage',
  63. 'onMenuShareQQ',
  64. 'onMenuShareWeibo',
  65. 'hideMenuItems',
  66. 'showMenuItems',
  67. 'hideAllNonBaseMenuItem',
  68. 'showAllNonBaseMenuItem',
  69. 'translateVoice',
  70. 'startRecord',
  71. 'stopRecord',
  72. 'onRecordEnd',
  73. 'playVoice',
  74. 'pauseVoice',
  75. 'stopVoice',
  76. 'uploadVoice',
  77. 'downloadVoice',
  78. 'chooseImage',
  79. 'previewImage',
  80. 'uploadImage',
  81. 'downloadImage',
  82. 'getNetworkType',
  83. 'openLocation',
  84. 'getLocation',
  85. 'hideOptionMenu',
  86. 'showOptionMenu',
  87. 'closeWindow',
  88. 'scanQRCode',
  89. 'chooseWXPay',
  90. 'openProductSpecificView',
  91. 'addCard',
  92. 'chooseCard',
  93. 'openCard',
  94. 'openAddress'
  95. ];
  96. </script>
  97. </head>
  98. <body>
  99. <div class="container container-fill">