diff --git a/admin/counts.php b/admin/counts.php index 31a0eb3..7ed9269 100755 --- a/admin/counts.php +++ b/admin/counts.php @@ -49,7 +49,7 @@ if (is_array($char_data)) { box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1); border: 1px; margin: 0px 0px 10px 10px; - width: 101px; + width: 90px; height: 80px; text-align: center; } @@ -71,53 +71,53 @@ if (is_array($char_data)) { -
-
-
今日上传 +
+
+
今日上传
-
昨日上传 +
昨日上传
-
+
累计上传
-
+
缓存文件
-
+
可疑图片
-
+
文件夹
-
+
占用存储
-
+
剩余空间
-
+
-
+

最近30日上传趋势与空间占用

diff --git a/admin/zui.chart.php b/admin/zui.chart.php index bdac766..143989d 100755 --- a/admin/zui.chart.php +++ b/admin/zui.chart.php @@ -11,6 +11,18 @@ require_once APP_ROOT . '/application/chart.php'; if (!is_online()) { checkLogin(); } +// 删除统计文件 +if (isset($_POST['del_total'])) { + @deldir($_POST['del_total']); + echo ' + + '; + // 延时1s刷新 + Header("refresh:1;url=counts.php"); +} // 统计图表 // array_reverse($arr,true) 倒叙数组并保持键值关系 $char_data = read_chart_total(); @@ -38,52 +50,57 @@ if (is_array($char_data)) { .autoshadow { box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1); margin: 0px 0px 10px 10px; - width: 130px; + width: 90px; height: 80px; text-align: center; }
- -
-
统计时间:
+
+
+
+ 统计时间: + + +
+
-
-
今日上传 +
+
今日上传
-
昨日上传 +
昨日上传
-
+
累计上传
-
+
缓存文件
-
+
可疑图片
-
+
文件夹
-
+
占用存储
-
+
剩余空间
@@ -91,17 +108,17 @@ if (is_array($char_data)) {
-
-
+
+

文件统计(张)

-
+

硬盘统计:(GB)

-
+

最近30上传趋势与空间占用(上传/张 占用/MB)