人人商城

header-base.tpl.php 4.0KB

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