2021-11-09 11:43:23 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="zh-cn">
|
2022-04-08 21:33:53 +08:00
|
|
|
<?php require_once __DIR__ . '/function.php'; ?>
|
2021-11-09 11:43:23 +08:00
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2022-01-27 17:25:46 +08:00
|
|
|
<meta name="renderer" content="webkit" />
|
|
|
|
<meta name="force-rendering" content="webkit" />
|
2022-02-06 15:39:57 +08:00
|
|
|
<meta name="author" content="Icret EasyImage2.0">
|
2021-11-09 11:43:23 +08:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2022-01-27 17:25:46 +08:00
|
|
|
<title><?php echo $config['title']; ?></title>
|
2021-11-09 11:43:23 +08:00
|
|
|
<meta name="keywords" content="<?php echo $config['keywords']; ?>" />
|
|
|
|
<meta name="description" content="<?php echo $config['description']; ?>" />
|
2022-03-07 12:34:04 +08:00
|
|
|
<link rel="shortcut icon" href="<?php static_cdn(); ?>/favicon.ico" type="image/x-icon" />
|
2022-01-27 17:25:46 +08:00
|
|
|
<link href="<?php static_cdn(); ?>/public/static/zui/css/zui.min.css" rel="stylesheet">
|
|
|
|
<link href="<?php static_cdn(); ?>/public/static/zui/theme/zui-theme-<?php echo $config['theme']; ?>.css" rel="stylesheet">
|
2022-02-06 15:39:57 +08:00
|
|
|
<script src="<?php static_cdn(); ?>/public/static/zui/lib/jquery/jquery-3.6.0.min.js"></script>
|
2022-02-27 14:59:03 +08:00
|
|
|
<script src="<?php static_cdn(); ?>/public/static/zui/js/zui.min.js"></script>
|
2022-01-18 16:52:44 +08:00
|
|
|
<!--[if lt IE 9]>
|
2022-01-27 17:25:46 +08:00
|
|
|
<script src="<?php static_cdn(); ?>/public/static/zui/lib/ieonly/html5shiv.js"></script>
|
|
|
|
<script src="<?php static_cdn(); ?>/public/static/zui/lib/ieonly/respond.js"></script>
|
|
|
|
<script src="<?php static_cdn(); ?>/public/static/zui/lib/ieonly/excanvas.js"></script>
|
2022-01-18 16:52:44 +08:00
|
|
|
<![endif]-->
|
2022-02-06 15:39:57 +08:00
|
|
|
<?php /** 自定义代码 */ if ($config['customize']) echo $config['customize']; ?>
|
2022-02-19 22:57:33 +08:00
|
|
|
|
2021-11-09 11:43:23 +08:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="container">
|
2022-01-18 22:54:38 +08:00
|
|
|
<div class="page-header">
|
2021-11-09 11:43:23 +08:00
|
|
|
<ul class="nav nav-pills">
|
2022-02-13 16:14:46 +08:00
|
|
|
<li><a href="<?php echo $config['domain']; ?>"><i class="icon icon-home"></i> 首页</a></li>
|
2022-02-19 22:57:33 +08:00
|
|
|
<?php // 关闭广场非登录状态不显示广场导航
|
2022-02-06 15:39:57 +08:00
|
|
|
if ($config['showSwitch'] || is_who_login('admin')) echo '
|
2022-02-22 11:11:25 +08:00
|
|
|
<li><a href="' . $config['domain'] . '/application/list.php"><i class="icon icon-th"></i> 广场<span class="label label-badge label-primary">' . get_file_by_glob(APP_ROOT . config_path(), 'number') . '</span></a></li>';
|
2022-01-27 17:25:46 +08:00
|
|
|
// 登陆状态显示设置页面
|
|
|
|
if (is_who_login('admin')) {
|
2022-02-06 15:39:57 +08:00
|
|
|
echo '
|
2022-02-13 16:14:46 +08:00
|
|
|
<li><a href="' . $config['domain'] . '/admin/admin.inc.php' . '"><i class="icon icon-cogs"></i> 设置</a></li>';
|
2022-01-27 17:25:46 +08:00
|
|
|
// 登陆状态下开启统计页面与导航
|
2022-02-06 15:39:57 +08:00
|
|
|
if ($config['chart_on']) echo '
|
2022-02-13 16:14:46 +08:00
|
|
|
<li><a href="' . $config['domain'] . '/admin/chart.php' . '"><i class="icon icon-pie-chart"></i> 统计</a>
|
2022-02-06 15:39:57 +08:00
|
|
|
</li>';
|
|
|
|
} ?>
|
|
|
|
|
2021-11-09 11:43:23 +08:00
|
|
|
</ul>
|
|
|
|
</div>
|
2022-04-08 21:33:53 +08:00
|
|
|
<!-- 顶部导航栏END -->
|