From 08e6e289626620abd5dea49c0485fa80dc011e79 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Wed, 15 Jul 2020 00:18:04 +0800 Subject: =?UTF-8?q?:poop:=20Add:=20=E5=88=9D=E6=AD=A5=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=20hint.css=20=E6=B7=BB=E5=8A=A0=20tooltip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Utils.php | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'libs/Utils.php') diff --git a/libs/Utils.php b/libs/Utils.php index 3d62f77..27d7658 100644 --- a/libs/Utils.php +++ b/libs/Utils.php @@ -1,6 +1,14 @@ fetchRow($db->select()->from('table.contents') - ->where('table.contents.status = ?', 'publish') - ->where('table.contents.password IS NULL') - ->order('table.contents.created', Typecho_Db::SORT_ASC) - ->limit(1)); - echo '一切开始于 '.date('Y-m-d', $content['created']); - } - /** * 缩略图 */ -- cgit v1.2.3