summaryrefslogtreecommitdiff
path: root/paginate.php
blob: c6ce295b70db46241622156637f76c97a87b291b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div id="paginate">

<?php 
// external variables: 
// echo $current_page_index ;
// echo $total_page ;
// echo $url;


    for ($p=0; $p<$total_page; $p++) {
        if($p == $current_page_index){
            html_paginate_link_current($url, $p);
        }
        else {
            html_paginate_link($url, $p);
        }
    } 

?>

</div>

<div style="clear:both;"></div>