This commit is contained in:
2023-04-21 15:51:37 +08:00
parent fb8ba1ad36
commit d635a35c10
2 changed files with 12 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+11 -1
View File
@@ -184,11 +184,21 @@ function show_index()
<?php function show_about()
{
$stmt = get_db()->prepare("SELECT count(1) as count FROM files");
$stmt->execute();
$row = $stmt->fetch(PDO::FETCH_ASSOC);
ob_start(); ?>
<div class="">
<p class="text-2xl">
about
这是一个简单图床.
</p>
<br>
<p>
目前共成功上传了: <span class="text-red-500"><?php echo $row["count"]; ?></span> 张图片.
</p>
</div>