summaryrefslogtreecommitdiff
path: root/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'template.php')
-rw-r--r--template.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/template.php b/template.php
index 04965b6..49d96ee 100644
--- a/template.php
+++ b/template.php
@@ -55,4 +55,13 @@ function html_music_player($music) {
}
+function html_paginate_link($url, $pagei) {
+ echo '<a href="' . $url . '&page=' . $pagei . '">' . ($pagei + 1) . '</a>';
+}
+
+function html_paginate_link_current($url, $pagei) {
+ echo '<a class="current" href="' . $url . '&page=' . $pagei . '">' . ($pagei + 1) . '</a>';
+}
+
+
?> \ No newline at end of file