update
This commit is contained in:
File diff suppressed because one or more lines are too long
+11
-1
@@ -184,11 +184,21 @@ function show_index()
|
|||||||
|
|
||||||
<?php function show_about()
|
<?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(); ?>
|
ob_start(); ?>
|
||||||
|
|
||||||
<div class="">
|
<div class="">
|
||||||
<p class="text-2xl">
|
<p class="text-2xl">
|
||||||
about
|
这是一个简单图床.
|
||||||
|
</p>
|
||||||
|
<br>
|
||||||
|
<p>
|
||||||
|
目前共成功上传了: <span class="text-red-500"><?php echo $row["count"]; ?></span> 张图片.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user