summaryrefslogtreecommitdiff
path: root/template.php
diff options
context:
space:
mode:
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/>';