add "from" section

This commit is contained in:
2023-11-25 17:41:02 +08:00
parent a566a9fb26
commit 0280256a9f
3 changed files with 18 additions and 3 deletions

View File

@ -51,7 +51,14 @@ require("track.php");
if ($row["author"] != NULL) {
?>
<div id="author" style="font-size: 1.5rem;">
—<?php echo $row["author"] ?>
<?php echo $row["author"] ?>
</div>
<?php
}
if ($row["from"] != NULL) {
?>
<div id="from" style="font-size: 1.5rem; color: dimgray;">
<i><?php echo $row["from"] ?></i>
</div>
<?php
}