diff --git a/admin/about.php b/admin/about.php new file mode 100644 index 0000000..43b97de --- /dev/null +++ b/admin/about.php @@ -0,0 +1,8 @@ +"; +?> \ No newline at end of file diff --git a/found.php b/found.php index 80accaf..a25cd0c 100644 --- a/found.php +++ b/found.php @@ -4,18 +4,20 @@ // 载入类 include_once("config.php"); + //获取当前时间 + $thetime = date('Y-m',time()); //初始化 $domain = $config['domain']; $userdir = $config['userdir']; - $sql = "SELECT `id`,`path` FROM `imginfo` WHERE (`dir` = '$userdir' AND `level` < 3) ORDER BY random() LIMIT 12"; + $sql = "SELECT `id`,`path` FROM `imginfo` WHERE (`dir` = '$userdir' AND `level` < 3 AND `date` LIKE '$thetime%') ORDER BY random() LIMIT 12"; $datas = $database->query($sql)->fetchAll(); ?>
-
此页面随机显示12张图片,刷新页面可重新随机。
+
此页面随机显示本月12张图片,刷新页面可重新随机,如果不显示说明本月暂未上传图片。
- + \ No newline at end of file diff --git a/tpl/admin/left.php b/tpl/admin/left.php index 069be3b..aa72007 100644 --- a/tpl/admin/left.php +++ b/tpl/admin/left.php @@ -17,7 +17,12 @@
可疑图片
-
  • 系统设置
  • +
  • + 系统设置 +
    +
    关于
    +
    +
  • \ No newline at end of file