summaryrefslogtreecommitdiff
path: root/admin_paginate.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin_paginate.php')
-rw-r--r--admin_paginate.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/admin_paginate.php b/admin_paginate.php
new file mode 100644
index 0000000..9d4f74c
--- /dev/null
+++ b/admin_paginate.php
@@ -0,0 +1,25 @@
+
+<div id="admin-paginate">
+
+<?php
+ // external variables:
+ // echo $current_page_index ;
+ // echo $total_page ;
+ // echo $url;
+
+ if($total_page > 1){
+ for ($p=0; $p<$total_page; $p++) {
+ if($p == $current_page_index){
+ html_admin_paginate_link_current($url, $p);
+ }
+ else {
+ html_admin_paginate_link($url, $p);
+ }
+ }
+ }
+?>
+
+
+<div style="clear:both;"></div>
+
+</div> \ No newline at end of file