summaryrefslogtreecommitdiff
path: root/template.php
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-03-22 20:42:48 +0800
committerchai <chaifix@163.com>2022-03-22 20:42:48 +0800
commitf980b021f1f1df132c4599cb4c1fb127a1ae289a (patch)
tree55c1cf92b0465e238a5ce99d73e883d860d5ab80 /template.php
parent627b8e416d138112ad20b1299aca21dccebcd11c (diff)
+ album
Diffstat (limited to 'template.php')
-rw-r--r--template.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/template.php b/template.php
index 726bdfe..eb38b54 100644
--- a/template.php
+++ b/template.php
@@ -1,5 +1,6 @@
<?php require_once 'music.php'?>
<?php require_once 'utils.php'?>
+<?php require_once 'functions.php'?>
<?php
@@ -35,6 +36,11 @@ function html_music_player($music) {
echo ' Sorry, your browser do not support audio.';
echo '</audio>' ;
+ if(isLogin()){
+ echo '<label class="key">ID:</label>';
+ echo '<label class="value">' . $music->uid . '</label><br/>';
+ }
+
echo '<label class="key">Name:</label>';
echo '<label class="value">' . $music->title . '</label><br/>';