Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

276 rader
22 KiB

  1. <?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:67:"D:\php\gitea\shop\public/../application/admin\view\index\index.html";i:1588765311;s:57:"D:\php\gitea\shop\application\admin\view\common\meta.html";i:1588765311;s:59:"D:\php\gitea\shop\application\admin\view\common\header.html";i:1588765311;s:57:"D:\php\gitea\shop\application\admin\view\common\menu.html";i:1588765311;s:60:"D:\php\gitea\shop\application\admin\view\common\control.html";i:1588765311;s:59:"D:\php\gitea\shop\application\admin\view\common\script.html";i:1588765311;}*/ ?>
  2. <!DOCTYPE html>
  3. <html lang="<?php echo $config['language']; ?>">
  4. <head>
  5. <!-- 加载样式及META信息 -->
  6. <meta charset="utf-8">
  7. <title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
  9. <meta name="renderer" content="webkit">
  10. <link rel="shortcut icon" href="/assets/img/favicon.ico" />
  11. <!-- Loading Bootstrap -->
  12. <link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
  13. <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
  14. <!--[if lt IE 9]>
  15. <script src="/assets/js/html5shiv.js"></script>
  16. <script src="/assets/js/respond.min.js"></script>
  17. <![endif]-->
  18. <script type="text/javascript">
  19. var require = {
  20. config: <?php echo json_encode($config); ?>
  21. };
  22. </script>
  23. </head>
  24. <body class="hold-transition skin-green sidebar-mini fixed <?php if(\think\Config::get('fastadmin.multiplenav')): ?>multiplenav<?php endif; ?>" id="tabs">
  25. <div class="wrapper">
  26. <!-- 头部区域 -->
  27. <header id="header" class="main-header">
  28. <!-- Logo -->
  29. <a href="javascript:;" class="logo">
  30. <!-- 迷你模式下Logo的大小为50X50 -->
  31. <span class="logo-mini"><?php echo htmlentities(mb_strtoupper(mb_substr($site['name'],0,4,'utf-8'),'utf-8')); ?></span>
  32. <!-- 普通模式下Logo -->
  33. <span class="logo-lg"><b><?php echo htmlentities(mb_substr($site['name'],0,4,'utf-8')); ?></b><?php echo htmlentities(mb_substr($site['name'],4,null,'utf-8')); ?></span>
  34. </a>
  35. <!-- 顶部通栏样式 -->
  36. <nav class="navbar navbar-static-top">
  37. <!--第一级菜单-->
  38. <div id="firstnav">
  39. <!-- 边栏切换按钮-->
  40. <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
  41. <span class="sr-only"><?php echo __('Toggle navigation'); ?></span>
  42. </a>
  43. <!--如果不想在顶部显示角标,则给ul加上disable-top-badge类即可-->
  44. <ul class="nav nav-tabs nav-addtabs disable-top-badge hidden-xs" role="tablist">
  45. <?php echo $navlist; ?>
  46. </ul>
  47. <div class="navbar-custom-menu">
  48. <ul class="nav navbar-nav">
  49. <li>
  50. <a href="/" target="_blank"><i class="fa fa-home" style="font-size:14px;"></i></a>
  51. </li>
  52. <!-- 清除缓存 -->
  53. <li>
  54. <a href="javascript:;" data-toggle="dropdown" title="<?php echo __('Wipe cache'); ?>">
  55. <i class="fa fa-trash"></i>
  56. </a>
  57. <ul class="dropdown-menu wipecache">
  58. <li><a href="javascript:;" data-type="all"><i class="fa fa-trash"></i> <?php echo __('Wipe all cache'); ?></a></li>
  59. <li class="divider"></li>
  60. <li><a href="javascript:;" data-type="content"><i class="fa fa-file-text"></i> <?php echo __('Wipe content cache'); ?></a></li>
  61. <li><a href="javascript:;" data-type="template"><i class="fa fa-file-image-o"></i> <?php echo __('Wipe template cache'); ?></a></li>
  62. <li><a href="javascript:;" data-type="addons"><i class="fa fa-rocket"></i> <?php echo __('Wipe addons cache'); ?></a></li>
  63. </ul>
  64. </li>
  65. <!-- 多语言列表 -->
  66. <?php if(\think\Config::get('lang_switch_on')): ?>
  67. <li class="hidden-xs">
  68. <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-language"></i></a>
  69. <ul class="dropdown-menu">
  70. <li class="<?php echo $config['language']=='zh-cn'?'active':''; ?>">
  71. <a href="?ref=addtabs&lang=zh-cn">简体中文</a>
  72. </li>
  73. <li class="<?php echo $config['language']=='en'?'active':''; ?>">
  74. <a href="?ref=addtabs&lang=en">English</a>
  75. </li>
  76. </ul>
  77. </li>
  78. <?php endif; ?>
  79. <!-- 全屏按钮 -->
  80. <li class="hidden-xs">
  81. <a href="#" data-toggle="fullscreen"><i class="fa fa-arrows-alt"></i></a>
  82. </li>
  83. <!-- 账号信息下拉框 -->
  84. <li class="dropdown user user-menu">
  85. <a href="#" class="dropdown-toggle" data-toggle="dropdown">
  86. <img src="<?php echo htmlentities(cdnurl($admin['avatar'])); ?>" class="user-image" alt="<?php echo htmlentities($admin['nickname']); ?>">
  87. <span class="hidden-xs"><?php echo htmlentities($admin['nickname']); ?></span>
  88. </a>
  89. <ul class="dropdown-menu">
  90. <!-- User image -->
  91. <li class="user-header">
  92. <img src="<?php echo htmlentities(cdnurl($admin['avatar'])); ?>" class="img-circle" alt="">
  93. <p>
  94. <?php echo htmlentities($admin['nickname']); ?>
  95. <small><?php echo date("Y-m-d H:i:s",$admin['logintime']); ?></small>
  96. </p>
  97. </li>
  98. <!-- Menu Footer-->
  99. <li class="user-footer">
  100. <div class="pull-left">
  101. <a href="general/profile" class="btn btn-primary addtabsit"><i class="fa fa-user"></i>
  102. <?php echo __('Profile'); ?></a>
  103. </div>
  104. <div class="pull-right">
  105. <a href="<?php echo url('index/logout'); ?>" class="btn btn-danger"><i class="fa fa-sign-out"></i>
  106. <?php echo __('Logout'); ?></a>
  107. </div>
  108. </li>
  109. </ul>
  110. </li>
  111. <!-- 控制栏切换按钮 -->
  112. <li class="hidden-xs">
  113. <a href="javascript:;" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
  114. </li>
  115. </ul>
  116. </div>
  117. </div>
  118. <?php if(\think\Config::get('fastadmin.multiplenav')): ?>
  119. <!--第二级菜单,只有在multiplenav开启时才显示-->
  120. <div id="secondnav">
  121. <ul class="nav nav-tabs nav-addtabs disable-top-badge" role="tablist">
  122. <?php if($fixedmenu): ?>
  123. <li role="presentation" id="tab_<?php echo $fixedmenu['id']; ?>" class="<?php echo $referermenu?'':'active'; ?>"><a href="#con_<?php echo $fixedmenu['id']; ?>" node-id="<?php echo $fixedmenu['id']; ?>" aria-controls="<?php echo $fixedmenu['id']; ?>" role="tab" data-toggle="tab"><i class="fa fa-dashboard fa-fw"></i> <span><?php echo $fixedmenu['title']; ?></span> <span class="pull-right-container"> </span></a></li>
  124. <?php endif; if($referermenu): ?>
  125. <li role="presentation" id="tab_<?php echo $referermenu['id']; ?>" class="active"><a href="#con_<?php echo $referermenu['id']; ?>" node-id="<?php echo $referermenu['id']; ?>" aria-controls="<?php echo $referermenu['id']; ?>" role="tab" data-toggle="tab"><i class="fa fa-list fa-fw"></i> <span><?php echo $referermenu['title']; ?></span> <span class="pull-right-container"> </span></a> <i class="close-tab fa fa-remove"></i></li>
  126. <?php endif; ?>
  127. </ul>
  128. </div>
  129. <?php endif; ?>
  130. </nav>
  131. </header>
  132. <!-- 左侧菜单栏 -->
  133. <aside class="main-sidebar">
  134. <!-- 左侧菜单栏 -->
  135. <section class="sidebar">
  136. <!-- 管理员信息 -->
  137. <div class="user-panel hidden-xs">
  138. <div class="pull-left image">
  139. <a href="general/profile" class="addtabsit"><img src="<?php echo htmlentities(cdnurl($admin['avatar'])); ?>" class="img-circle" /></a>
  140. </div>
  141. <div class="pull-left info">
  142. <p><?php echo htmlentities($admin['nickname']); ?></p>
  143. <i class="fa fa-circle text-success"></i> <?php echo __('Online'); ?>
  144. </div>
  145. </div>
  146. <!-- 菜单搜索 -->
  147. <form action="" method="get" class="sidebar-form" onsubmit="return false;">
  148. <div class="input-group">
  149. <input type="text" name="q" class="form-control" placeholder="<?php echo __('Search menu'); ?>">
  150. <span class="input-group-btn">
  151. <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
  152. </button>
  153. </span>
  154. <div class="menuresult list-group sidebar-form hide">
  155. </div>
  156. </div>
  157. </form>
  158. <!-- 移动端一级菜单 -->
  159. <div class="mobilenav visible-xs">
  160. </div>
  161. <!--如果想始终显示子菜单,则给ul加上show-submenu类即可,当multiplenav开启的情况下默认为展开-->
  162. <ul class="sidebar-menu <?php if(\think\Config::get('fastadmin.multiplenav')): ?>show-submenu<?php endif; ?>">
  163. <!-- 菜单可以在 后台管理->权限管理->菜单规则 中进行增删改排序 -->
  164. <?php echo $menulist; ?>
  165. </ul>
  166. </section>
  167. </aside>
  168. <!-- 主体内容区域 -->
  169. <div class="content-wrapper tab-content tab-addtabs">
  170. <?php if($fixedmenu): ?>
  171. <div role="tabpanel" class="tab-pane <?php echo $referermenu?'':'active'; ?>" id="con_<?php echo $fixedmenu['id']; ?>">
  172. <iframe src="<?php echo $fixedmenu['url']; ?>?addtabs=1" width="100%" height="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling-x="no" scrolling-y="auto" allowtransparency="yes"></iframe>
  173. </div>
  174. <?php endif; if($referermenu): ?>
  175. <div role="tabpanel" class="tab-pane active" id="con_<?php echo $referermenu['id']; ?>">
  176. <iframe src="<?php echo $referermenu['url']; ?>?addtabs=1" width="100%" height="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling-x="no" scrolling-y="auto" allowtransparency="yes"></iframe>
  177. </div>
  178. <?php endif; ?>
  179. </div>
  180. <!-- 底部链接,默认隐藏 -->
  181. <footer class="main-footer hide">
  182. <div class="pull-right hidden-xs">
  183. </div>
  184. <strong>Copyright &copy; 2017-2020 <a href="/"><?php echo $site['name']; ?></a>.</strong> All rights reserved.
  185. </footer>
  186. <!-- 右侧控制栏 -->
  187. <div class="control-sidebar-bg"></div>
  188. <style>
  189. .skin-list li{
  190. float:left; width: 33.33333%; padding: 5px;
  191. }
  192. .skin-list li a{
  193. display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4);
  194. }
  195. </style>
  196. <!-- Control Sidebar -->
  197. <aside class="control-sidebar control-sidebar-dark">
  198. <!-- Create the tabs -->
  199. <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
  200. <li class="active"><a href="#control-sidebar-setting-tab" data-toggle="tab" aria-expanded="true"><i class="fa fa-wrench"></i></a></li>
  201. <li><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
  202. <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
  203. </ul>
  204. <!-- Tab panes -->
  205. <div class="tab-content">
  206. <!-- Home tab content -->
  207. <div class="tab-pane active" id="control-sidebar-setting-tab">
  208. <h4 class="control-sidebar-heading"><?php echo __('Layout Options'); ?></h4>
  209. <div class="form-group"><label class="control-sidebar-subheading"><input type="checkbox" data-layout="fixed" class="pull-right"> <?php echo __('Fixed Layout'); ?></label><p><?php echo __("You can't use fixed and boxed layouts together"); ?></p></div>
  210. <div class="form-group"><label class="control-sidebar-subheading"><input type="checkbox" data-layout="layout-boxed" class="pull-right"> <?php echo __('Boxed Layout'); ?></label><p><?php echo __('Activate the boxed layout'); ?></p></div>
  211. <div class="form-group"><label class="control-sidebar-subheading"><input type="checkbox" data-layout="sidebar-collapse" class="pull-right"> <?php echo __('Toggle Sidebar'); ?></label><p><?php echo __("Toggle the left sidebar's state (open or collapse)"); ?></p></div>
  212. <div class="form-group"><label class="control-sidebar-subheading"><input type="checkbox" data-enable="expandOnHover" class="pull-right"> <?php echo __('Sidebar Expand on Hover'); ?></label><p><?php echo __('Let the sidebar mini expand on hover'); ?></p></div>
  213. <div class="form-group"><label class="control-sidebar-subheading"><input type="checkbox" data-menu="show-submenu" class="pull-right"> <?php echo __('Show sub menu'); ?></label><p><?php echo __('Always show sub menu'); ?></p></div>
  214. <div class="form-group"><label class="control-sidebar-subheading"><input type="checkbox" data-menu="disable-top-badge" class="pull-right"> <?php echo __('Disable top menu badge'); ?></label><p><?php echo __('Disable top menu badge without left menu'); ?></p></div>
  215. <div class="form-group"><label class="control-sidebar-subheading"><input type="checkbox" data-controlsidebar="control-sidebar-open" class="pull-right"> <?php echo __('Toggle Right Sidebar Slide'); ?></label><p><?php echo __('Toggle between slide over content and push content effects'); ?></p></div>
  216. <div class="form-group"><label class="control-sidebar-subheading"><input type="checkbox" data-sidebarskin="toggle" class="pull-right"> <?php echo __('Toggle Right Sidebar Skin'); ?></label><p><?php echo __('Toggle between dark and light skins for the right sidebar'); ?></p></div>
  217. <h4 class="control-sidebar-heading"><?php echo __('Skins'); ?></h4>
  218. <ul class="list-unstyled clearfix skin-list">
  219. <li><a href="javascript:;" data-skin="skin-blue" style="" class="clearfix full-opacity-hover"><div><span style="display:block; width: 20%; float: left; height: 7px; background: #367fa9;"></span><span class="bg-light-blue" style="display:block; width: 80%; float: left; height: 7px;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #222d32;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin">Blue</p></li>
  220. <li><a href="javascript:;" data-skin="skin-white" class="clearfix full-opacity-hover"><div style="box-shadow: 0 0 2px rgba(0,0,0,0.1)" class="clearfix"><span style="display:block; width: 20%; float: left; height: 7px; background: #fefefe;"></span><span style="display:block; width: 80%; float: left; height: 7px; background: #fefefe;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #222;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin">White</p></li>
  221. <li><a href="javascript:;" data-skin="skin-purple" class="clearfix full-opacity-hover"><div><span style="display:block; width: 20%; float: left; height: 7px;" class="bg-purple-active"></span><span class="bg-purple" style="display:block; width: 80%; float: left; height: 7px;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #222d32;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin">Purple</p></li>
  222. <li><a href="javascript:;" data-skin="skin-green" class="clearfix full-opacity-hover"><div><span style="display:block; width: 20%; float: left; height: 7px;" class="bg-green-active"></span><span class="bg-green" style="display:block; width: 80%; float: left; height: 7px;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #222d32;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin">Green</p></li>
  223. <li><a href="javascript:;" data-skin="skin-red" class="clearfix full-opacity-hover"><div><span style="display:block; width: 20%; float: left; height: 7px;" class="bg-red-active"></span><span class="bg-red" style="display:block; width: 80%; float: left; height: 7px;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #222d32;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin">Red</p></li>
  224. <li><a href="javascript:;" data-skin="skin-yellow" class="clearfix full-opacity-hover"><div><span style="display:block; width: 20%; float: left; height: 7px;" class="bg-yellow-active"></span><span class="bg-yellow" style="display:block; width: 80%; float: left; height: 7px;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #222d32;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin">Yellow</p></li>
  225. <li><a href="javascript:;" data-skin="skin-blue-light" class="clearfix full-opacity-hover"><div><span style="display:block; width: 20%; float: left; height: 7px; background: #367fa9;"></span><span class="bg-light-blue" style="display:block; width: 80%; float: left; height: 7px;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin" style="font-size: 12px">Blue Light</p></li>
  226. <li><a href="javascript:;" data-skin="skin-white-light" class="clearfix full-opacity-hover"><div style="box-shadow: 0 0 2px rgba(0,0,0,0.1)" class="clearfix"><span style="display:block; width: 20%; float: left; height: 7px; background: #fefefe;"></span><span style="display:block; width: 80%; float: left; height: 7px; background: #fefefe;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin" style="font-size: 12px">White Light</p></li>
  227. <li><a href="javascript:;" data-skin="skin-purple-light" class="clearfix full-opacity-hover"><div><span style="display:block; width: 20%; float: left; height: 7px;" class="bg-purple-active"></span><span class="bg-purple" style="display:block; width: 80%; float: left; height: 7px;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin" style="font-size: 12px">Purple Light</p></li>
  228. <li><a href="javascript:;" data-skin="skin-green-light" class="clearfix full-opacity-hover"><div><span style="display:block; width: 20%; float: left; height: 7px;" class="bg-green-active"></span><span class="bg-green" style="display:block; width: 80%; float: left; height: 7px;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin" style="font-size: 12px">Green Light</p></li>
  229. <li><a href="javascript:;" data-skin="skin-red-light" class="clearfix full-opacity-hover"><div><span style="display:block; width: 20%; float: left; height: 7px;" class="bg-red-active"></span><span class="bg-red" style="display:block; width: 80%; float: left; height: 7px;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin" style="font-size: 12px">Red Light</p></li>
  230. <li><a href="javascript:;" data-skin="skin-yellow-light" class="clearfix full-opacity-hover"><div><span style="display:block; width: 20%; float: left; height: 7px;" class="bg-yellow-active"></span><span class="bg-yellow" style="display:block; width: 80%; float: left; height: 7px;"></span></div><div><span style="display:block; width: 20%; float: left; height: 20px; background: #f9fafc;"></span><span style="display:block; width: 80%; float: left; height: 20px; background: #f4f5f7;"></span></div></a><p class="text-center no-margin" style="font-size: 12px;">Yellow Light</p></li>
  231. </ul>
  232. </div>
  233. <!-- /.tab-pane -->
  234. <!-- Home tab content -->
  235. <div class="tab-pane" id="control-sidebar-home-tab">
  236. <h4 class="control-sidebar-heading"><?php echo __('Home'); ?></h4>
  237. </div>
  238. <!-- /.tab-pane -->
  239. <!-- Settings tab content -->
  240. <div class="tab-pane" id="control-sidebar-settings-tab">
  241. <h4 class="control-sidebar-heading"><?php echo __('Setting'); ?></h4>
  242. </div>
  243. <!-- /.tab-pane -->
  244. </div>
  245. </aside>
  246. <!-- /.control-sidebar -->
  247. </div>
  248. <!-- 加载JS脚本 -->
  249. <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
  250. </body>
  251. </html>