base.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title><?php echo C('SITE_NAME'); ?>-后台管理中心</title>
  6. <meta name="description" content="overview &amp; stats" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. <link href="__CSS__/bootstrap.min.css" rel="stylesheet" />
  9. <link rel="stylesheet" href="__CSS__/font-awesome.min.css" />
  10. <!--[if IE 7]>
  11. <link rel="stylesheet" href="__CSS__/font-awesome-ie7.min.css" />
  12. <![endif]-->
  13. <!-- page specific plugin styles -->
  14. <link type="image/x-icon" href="<?php echo resize(C('SITE_ICON'),16,16); ?>" rel="icon">
  15. <link type="image/x-icon" href="<?php echo resize(C('SITE_ICON'),16,16); ?>" rel="bookmark">
  16. <link rel="stylesheet" href="__CSS__/ace.min.css" />
  17. <link rel="stylesheet" href="__CSS__/ace-rtl.min.css" />
  18. <link rel="stylesheet" href="__CSS__/ace-skins.min.css" />
  19. <!--[if lte IE 8]>
  20. <link rel="stylesheet" href="__CSS__/ace-ie.min.css" />
  21. <![endif]-->
  22. <!-- inline styles related to this page -->
  23. <!-- ace settings handler -->
  24. <script src="__JS__/ace-extra.min.js"></script>
  25. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  26. <!--[if lt IE 9]>
  27. <script src="__JS__/html5shiv.js"></script>
  28. <script src="__JS__/respond.min.js"></script>
  29. <![endif]-->
  30. <block name="css">
  31. <style>
  32. .search-row {margin-bottom: 10px;}
  33. </style>
  34. </block>
  35. </head>
  36. <body class="navbar-fixed">
  37. <div class="navbar navbar-default navbar-fixed-top" id="navbar">
  38. <div class="navbar-container" id="navbar-container">
  39. <div class="navbar-header pull-left">
  40. <a href="{:U('Index/index')}" class="navbar-brand">
  41. <small>
  42. <!--
  43. <i class="icon-leaf"></i>
  44. -->
  45. <?php echo C('SITE_NAME'); ?> 后台管理
  46. </small>
  47. </a><!-- /.brand -->
  48. </div><!-- /.navbar-header -->
  49. <div class="navbar-header pull-right" role="navigation">
  50. <ul class="nav ace-nav">
  51. <li class="black">
  52. <a target="_blank" class="btn btn-primary" href="http://mp.weixin.qq.com/s?__biz=MzI1MTA3NzA3NA==&mid=100000010&idx=1&sn=99efda89f086b2d70ed06b7fb59d3526&chksm=69f9c9b75e8e40a1ed0ac03c3901adef00d1667dc05a4bde5798a3e2e31c5fc4853c874db592&scene=18#wechat_redirect">常见帮助</a>
  53. </li>
  54. <li class="light-blue">
  55. <a target="_blank" class="btn btn-primary" href="__ROOT__/?front=1">pc宣传站</a>
  56. </li>
  57. <li class="light-blue">
  58. <a href="{:U('Public/clear')}" class="btn btn-primary">清空缓存</a>
  59. </li>
  60. <li class="light-blue">
  61. <a href="{:U('Public/logout')}" class="btn btn-primary">退出系统</a>
  62. </li>
  63. <li class="light-blue">
  64. <a href="#" >
  65. <?php echo session('user_auth.username'); ?>
  66. </a>
  67. </li>
  68. </ul><!-- /.ace-nav -->
  69. </div><!-- /.navbar-header -->
  70. </div><!-- /.container -->
  71. </div>
  72. <div class="main-container" id="main-container">
  73. <script type="text/javascript">
  74. try{ace.settings.check('main-container' , 'fixed')}catch(e){}
  75. </script>
  76. <div class="main-container-inner">
  77. <a class="menu-toggler" id="menu-toggler" href="#">
  78. <span class="menu-text"></span>
  79. </a>
  80. <div class="sidebar sidebar-fixed" id="sidebar">
  81. {~W('Menu/menu_show')}
  82. <div class="sidebar-collapse" id="sidebar-collapse">
  83. <i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
  84. </div>
  85. <script type="text/javascript">
  86. try{ace.settings.check('sidebar' , 'collapsed')
  87. }catch(e){}
  88. </script>
  89. </div>
  90. <div class="main-content">
  91. <div class="breadcrumbs" id="breadcrumbs">
  92. <script type="text/javascript">
  93. try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
  94. </script>
  95. <ul class="breadcrumb">
  96. <li>
  97. <i class="icon-home home-icon"></i>
  98. <a href="#">{$breadcrumb1}</a>
  99. </li>
  100. <li class="active">{$breadcrumb2}</li>
  101. </ul><!-- .breadcrumb -->
  102. </div>
  103. <div class="page-content">
  104. <block name="content">
  105. </block>
  106. </div><!-- /.page-content -->
  107. </div><!-- /.main-content -->
  108. </div><!-- /.main-container-inner -->
  109. <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
  110. <i class="icon-double-angle-up icon-only bigger-110"></i>
  111. </a>
  112. </div><!-- /.main-container -->
  113. <!-- basic scripts -->
  114. <!--[if !IE]> -->
  115. <block name="jquery">
  116. <script src="__PUBLIC__/js/jquery/jquery-2.0.3.min.js"></script>
  117. <script src="__PUBLIC__/js/jquery/jquery-migrate-1.2.1.min.js"></script>
  118. </block>
  119. <!-- <![endif]-->
  120. <!--[if IE]>
  121. <script src="__PUBLIC__/js/jquery/jquery-1.10.2.min.js"></script>
  122. <script src="__PUBLIC__/js/jquery/jquery-migrate-1.2.1.min.js"></script>
  123. <![endif]-->
  124. <script type="text/javascript">
  125. if("ontouchend" in document) document.write("<script src='__JS__/jquery.mobile.custom.min.js'>"+"<"+"/script>");
  126. </script>
  127. <script src="__JS__/bootstrap.min.js"></script>
  128. <script src="__JS__/typeahead-bs2.min.js"></script>
  129. <!-- page specific plugin scripts -->
  130. <!--[if lte IE 8]>
  131. <script src="__JS__/excanvas.min.js"></script>
  132. <![endif]-->
  133. <script src="__JS__/ace-elements.min.js"></script>
  134. <script src="__JS__/ace.min.js"></script>
  135. <!-- inline scripts related to this page -->
  136. <script src="__PUBLIC__/js/oscshop_common.js"></script>
  137. <block name="javascript">
  138. </block>
  139. </body>
  140. </html>