This is so simple I know, but I can't seem to find exactly where to insert the code for this on myadopts.php --- I have a lot of adoptables and really need to have many pages.
I ganked the code ( two parts ) for the memberlist from the profile page, but not getting this inserted right:
Code:
$article_content = $article_content."<br>";
if($currentpage > 1) {
$newpage = $currentpage - 1;
$article_content = $article_content."<b><a href='myadopts.php?page=".$newpage."'><img src='templates/icons/prev.gif' border=0> Previous Page</a></b> ";
}
else{
$article_content = $article_content."<b><img src='templates/icons/prev.gif' border=0> Previous Page</b> ";
}
if($currentpage < $totalpages) {
$newpage = $currentpage + 1;
$article_content = $article_content." :: <b><a href='myadopts.php?page=".$newpage."'>Next Page <img src='templates/icons/next.gif' border=0></a></b> ";
}
else{
$article_content = $article_content." :: <b>Next Page <img src='templates/icons/next.gif' border=0></b>";
}
thanks!