diff --git a/templates/part.pagenavi.php b/templates/part.pagenavi.php index 1bb99b6173bc45e2ebae0a952f12b5ce5591628c..d48d0cada32a1aa39c901e4fe61bae62b734a808 100644 --- a/templates/part.pagenavi.php +++ b/templates/part.pagenavi.php @@ -3,7 +3,7 @@ <tr> <td width="1"> <?php if($_['page']>0):?> - <span class="pagerbutton1"><a href="<?php echo $_['page']-1;?>">prev</a> </span> + <span class="pagerbutton1"><a href="<?php echo $_['url'].($_['page']-1);?>">prev</a> </span> <?php endif; ?> </td> <td> @@ -23,7 +23,7 @@ </td> <td width="1"> <?php if(($_['page']+1)<$_['pagecount']):?> - <span class="pagerbutton2"><a href="<?php echo $_['page']+1;?>">next</a></span> + <span class="pagerbutton2"><a href="<?php echo $_['url'].($_['page']+1);?>">next</a></span> <?php endif; ?> </td> </tr>