|
- <?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:63:"D:\php\weiwei\public/../application/admin\view\index\index.html";i:1588765311;s:53:"D:\php\weiwei\application\admin\view\common\meta.html";i:1588765311;s:55:"D:\php\weiwei\application\admin\view\common\header.html";i:1588765311;s:53:"D:\php\weiwei\application\admin\view\common\menu.html";i:1588765311;s:56:"D:\php\weiwei\application\admin\view\common\control.html";i:1588765311;s:55:"D:\php\weiwei\application\admin\view\common\script.html";i:1588765311;}*/ ?>
- <!DOCTYPE html>
- <html lang="<?php echo $config['language']; ?>">
- <head>
- <!-- 加载样式及META信息 -->
- <meta charset="utf-8">
- <title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
- <meta name="renderer" content="webkit">
-
- <link rel="shortcut icon" href="/assets/img/favicon.ico" />
- <!-- Loading Bootstrap -->
- <link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
-
- <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
- <!--[if lt IE 9]>
- <script src="/assets/js/html5shiv.js"></script>
- <script src="/assets/js/respond.min.js"></script>
- <![endif]-->
- <script type="text/javascript">
- var require = {
- config: <?php echo json_encode($config); ?>
- };
- </script>
- </head>
- <body class="hold-transition skin-green sidebar-mini fixed <?php if(\think\Config::get('fastadmin.multiplenav')): ?>multiplenav<?php endif; ?>" id="tabs">
- <div class="wrapper">
-
- <!-- 头部区域 -->
- <header id="header" class="main-header">
- <!-- Logo -->
- <a href="javascript:;" class="logo">
- <!-- 迷你模式下Logo的大小为50X50 -->
- <span class="logo-mini"><?php echo htmlentities(mb_strtoupper(mb_substr($site['name'],0,4,'utf-8'),'utf-8')); ?></span>
- <!-- 普通模式下Logo -->
- <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>
- </a>
-
- <!-- 顶部通栏样式 -->
- <nav class="navbar navbar-static-top">
-
- <!--第一级菜单-->
- <div id="firstnav">
- <!-- 边栏切换按钮-->
- <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
- <span class="sr-only"><?php echo __('Toggle navigation'); ?></span>
- </a>
-
- <!--如果不想在顶部显示角标,则给ul加上disable-top-badge类即可-->
- <ul class="nav nav-tabs nav-addtabs disable-top-badge hidden-xs" role="tablist">
- <?php echo $navlist; ?>
- </ul>
-
- <div class="navbar-custom-menu">
- <ul class="nav navbar-nav">
-
- <li>
- <a href="/" target="_blank"><i class="fa fa-home" style="font-size:14px;"></i></a>
- </li>
-
- <!-- 清除缓存 -->
- <li>
- <a href="javascript:;" data-toggle="dropdown" title="<?php echo __('Wipe cache'); ?>">
- <i class="fa fa-trash"></i>
- </a>
- <ul class="dropdown-menu wipecache">
- <li><a href="javascript:;" data-type="all"><i class="fa fa-trash"></i> <?php echo __('Wipe all cache'); ?></a></li>
- <li class="divider"></li>
- <li><a href="javascript:;" data-type="content"><i class="fa fa-file-text"></i> <?php echo __('Wipe content cache'); ?></a></li>
- <li><a href="javascript:;" data-type="template"><i class="fa fa-file-image-o"></i> <?php echo __('Wipe template cache'); ?></a></li>
- <li><a href="javascript:;" data-type="addons"><i class="fa fa-rocket"></i> <?php echo __('Wipe addons cache'); ?></a></li>
- </ul>
- </li>
-
- <!-- 多语言列表 -->
- <?php if(\think\Config::get('lang_switch_on')): ?>
- <li class="hidden-xs">
- <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-language"></i></a>
- <ul class="dropdown-menu">
- <li class="<?php echo $config['language']=='zh-cn'?'active':''; ?>">
- <a href="?ref=addtabs&lang=zh-cn">简体中文</a>
- </li>
- <li class="<?php echo $config['language']=='en'?'active':''; ?>">
- <a href="?ref=addtabs&lang=en">English</a>
- </li>
- </ul>
- </li>
- <?php endif; ?>
-
- <!-- 全屏按钮 -->
- <li class="hidden-xs">
- <a href="#" data-toggle="fullscreen"><i class="fa fa-arrows-alt"></i></a>
- </li>
-
- <!-- 账号信息下拉框 -->
- <li class="dropdown user user-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <img src="<?php echo htmlentities(cdnurl($admin['avatar'])); ?>" class="user-image" alt="<?php echo htmlentities($admin['nickname']); ?>">
- <span class="hidden-xs"><?php echo htmlentities($admin['nickname']); ?></span>
- </a>
- <ul class="dropdown-menu">
- <!-- User image -->
- <li class="user-header">
- <img src="<?php echo htmlentities(cdnurl($admin['avatar'])); ?>" class="img-circle" alt="">
-
- <p>
- <?php echo htmlentities($admin['nickname']); ?>
- <small><?php echo date("Y-m-d H:i:s",$admin['logintime']); ?></small>
- </p>
- </li>
- <!-- Menu Footer-->
- <li class="user-footer">
- <div class="pull-left">
- <a href="general/profile" class="btn btn-primary addtabsit"><i class="fa fa-user"></i>
- <?php echo __('Profile'); ?></a>
- </div>
- <div class="pull-right">
- <a href="<?php echo url('index/logout'); ?>" class="btn btn-danger"><i class="fa fa-sign-out"></i>
- <?php echo __('Logout'); ?></a>
- </div>
- </li>
- </ul>
- </li>
- <!-- 控制栏切换按钮 -->
- <li class="hidden-xs">
- <a href="javascript:;" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
- </li>
- </ul>
- </div>
- </div>
-
- <?php if(\think\Config::get('fastadmin.multiplenav')): ?>
- <!--第二级菜单,只有在multiplenav开启时才显示-->
- <div id="secondnav">
- <ul class="nav nav-tabs nav-addtabs disable-top-badge" role="tablist">
- <?php if($fixedmenu): ?>
- <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>
- <?php endif; if($referermenu): ?>
- <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>
- <?php endif; ?>
- </ul>
- </div>
- <?php endif; ?>
- </nav>
- </header>
-
- <!-- 左侧菜单栏 -->
- <aside class="main-sidebar">
- <!-- 左侧菜单栏 -->
- <section class="sidebar">
- <!-- 管理员信息 -->
- <div class="user-panel hidden-xs">
- <div class="pull-left image">
- <a href="general/profile" class="addtabsit"><img src="<?php echo htmlentities(cdnurl($admin['avatar'])); ?>" class="img-circle" /></a>
- </div>
- <div class="pull-left info">
- <p><?php echo htmlentities($admin['nickname']); ?></p>
- <i class="fa fa-circle text-success"></i> <?php echo __('Online'); ?>
- </div>
- </div>
-
- <!-- 菜单搜索 -->
- <form action="" method="get" class="sidebar-form" onsubmit="return false;">
- <div class="input-group">
- <input type="text" name="q" class="form-control" placeholder="<?php echo __('Search menu'); ?>">
- <span class="input-group-btn">
- <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
- </button>
- </span>
- <div class="menuresult list-group sidebar-form hide">
- </div>
- </div>
- </form>
-
- <!-- 移动端一级菜单 -->
- <div class="mobilenav visible-xs">
-
- </div>
-
- <!--如果想始终显示子菜单,则给ul加上show-submenu类即可,当multiplenav开启的情况下默认为展开-->
- <ul class="sidebar-menu <?php if(\think\Config::get('fastadmin.multiplenav')): ?>show-submenu<?php endif; ?>">
-
- <!-- 菜单可以在 后台管理->权限管理->菜单规则 中进行增删改排序 -->
- <?php echo $menulist; ?>
-
- </ul>
- </section>
- </aside>
-
- <!-- 主体内容区域 -->
- <div class="content-wrapper tab-content tab-addtabs">
- <?php if($fixedmenu): ?>
- <div role="tabpanel" class="tab-pane <?php echo $referermenu?'':'active'; ?>" id="con_<?php echo $fixedmenu['id']; ?>">
- <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>
- </div>
- <?php endif; if($referermenu): ?>
- <div role="tabpanel" class="tab-pane active" id="con_<?php echo $referermenu['id']; ?>">
- <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>
- </div>
- <?php endif; ?>
- </div>
-
- <!-- 底部链接,默认隐藏 -->
- <footer class="main-footer hide">
- <div class="pull-right hidden-xs">
- </div>
- <strong>Copyright © 2017-2020 <a href="/"><?php echo $site['name']; ?></a>.</strong> All rights reserved.
- </footer>
-
- <!-- 右侧控制栏 -->
- <div class="control-sidebar-bg"></div>
- <style>
- .skin-list li{
- float:left; width: 33.33333%; padding: 5px;
- }
- .skin-list li a{
- display: block; box-shadow: 0 0 3px rgba(0,0,0,0.4);
- }
- </style>
- <!-- Control Sidebar -->
- <aside class="control-sidebar control-sidebar-dark">
- <!-- Create the tabs -->
- <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
- <li class="active"><a href="#control-sidebar-setting-tab" data-toggle="tab" aria-expanded="true"><i class="fa fa-wrench"></i></a></li>
- <li><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
- <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
- </ul>
- <!-- Tab panes -->
- <div class="tab-content">
- <!-- Home tab content -->
- <div class="tab-pane active" id="control-sidebar-setting-tab">
- <h4 class="control-sidebar-heading"><?php echo __('Layout Options'); ?></h4>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <h4 class="control-sidebar-heading"><?php echo __('Skins'); ?></h4>
- <ul class="list-unstyled clearfix skin-list">
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- </ul>
- </div>
- <!-- /.tab-pane -->
- <!-- Home tab content -->
- <div class="tab-pane" id="control-sidebar-home-tab">
- <h4 class="control-sidebar-heading"><?php echo __('Home'); ?></h4>
- </div>
- <!-- /.tab-pane -->
- <!-- Settings tab content -->
- <div class="tab-pane" id="control-sidebar-settings-tab">
- <h4 class="control-sidebar-heading"><?php echo __('Setting'); ?></h4>
- </div>
- <!-- /.tab-pane -->
- </div>
- </aside>
- <!-- /.control-sidebar -->
- </div>
-
- <!-- 加载JS脚本 -->
- <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>
- </body>
- </html>
|