* 增加上传历史记录

* 2023-01-31 v2.7.0 dev

- 增加上传历史记录
- 增加粘贴上传状态
- 增加广场非图片图标
- 增加前端显示缩略图链接
- 增加每日获取Bing图片背景
- 增加图片详细信息管理登录后显示更多信息
- 修复图片详细信息中随机图片排版混乱
- 替换访问生成缩略图代码
- 更新一些组件
- 优化代码
This commit is contained in:
icret
2023-01-31 00:05:15 +08:00
parent c0dee49656
commit 4dd2c30455
24 changed files with 334 additions and 118 deletions

View File

@@ -5,14 +5,9 @@
require_once '../application/header.php';
require_once APP_ROOT . '/application/chart.php';
// 检测是否开启统计
if (!$config['chart_on']) exit(header('Location: ' . $config['domain'] . '?chart#closed'));
// 检测登录和是否开启统计
if (!$config['chart_on'] && !is_who_login('admin')) exit(header('Location: ' . $config['domain'] . '?hart#closed'));
// 检测登录
if (!is_who_login('admin')) {
checkLogin();
exit(require_once APP_ROOT . '/application/footer.php');
}
// 删除统计文件
if (isset($_POST['del_total'])) {
@deldir($_POST['del_total']);
@@ -127,7 +122,7 @@ if (is_array($char_data)) {
<div class="col-xs-3 alert alert-primary autoshadow">
当前版本
<hr />
<?php echo get_current_verson(); ?>
<?php echo get_current_version(); ?>
</div>
</div>
<div class="col-md-12 col-xs-12">