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