From 4e92033683d250c06d3e9f39caf675adc4b339f2 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 25 Mar 2022 11:03:09 +0800 Subject: +album page --- template.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'template.php') diff --git a/template.php b/template.php index eb38b54..55724ba 100644 --- a/template.php +++ b/template.php @@ -14,6 +14,17 @@ function html_music($music) { echo '' ; } +function html_music_wide($music, $index=0) { + echo '
'; + echo ' ' . $index .''; + echo '
'; + echo ' '; + echo ' '; + echo '
'; + echo '' . $music->title . ''; + echo '
'; +} + function html_tag($tag) { echo '' . $tag->name . ''; } @@ -69,5 +80,14 @@ function html_paginate_link_current($url, $pagei) { echo '' . ($pagei + 1) . ''; } +function html_album($album) { + echo '
'; + echo '
'; + echo ' '; + echo '
'; + echo ' ' . $album->title . ''; + echo '
'; +} + ?> \ No newline at end of file -- cgit v1.1-26-g67d0