Code:
if($page < $pages & $cat) {
$next = "<b><a href=\"torrents.php?page=".($page+1)."&cat=".$cat."\"><img src=\"images/next.png\"></a></b>";
} elseif($page < $pages ) {
$next = "<b><a href=\"torrents.php?page=".($page+1).$sort1."\"><img src=\"images/next.png\"></a></b>";
}else{
$next = "<img src=\"images/next.png\">";
}
if($page > 1 & $cat) {
$prev = "<b><a href=\"torrents.php?page=".($page-1)."&cat=".$cat."\"><img src=\"images/back.png\"></a></b>";
} elseif($page > 1) {
$prev = "<b><a href=\"torrents.php?page=".($page-1).$sort1."\"><img src=\"images/back.png\"></a></b>";
}else{
$prev = "<img src=\"images/back.png\">";
}
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
|