Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   image error (http://www.bvlist.com/showthread.php?t=2794)

wMan 8th June 2009 07:41

image error
 
PHP 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 $cat) { 

this shows image ass nex button either >>>>
but this gives error
PHP Code:

if($page $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\>";
                } 

same code but error !! hove fix
when i click wiew image i get 404 and in url /images/back.png\>


joeroberts 8th June 2009 07:45

because you have open tags

wMan 8th June 2009 07:47

that's like didn't help

joeroberts 8th June 2009 07:51

Code:

                if($page < $pages & $cat) {
                        $next = "";
                } elseif($page < $pages ) {
                        $next = "";
                       
                }else{
                        $next = "";
                }
                if($page > 1 & $cat) {
                        $prev = "";
                } elseif($page > 1) {
                        $prev = "";
                       
                }else{
                        $prev = "";
                }


wMan 8th June 2009 07:54

2 Attachment(s)
thanks atached images if someone want to use it like that :friend:

searching have bug !! hove to fix this ?
http://bildites.lv/images/gctitbjqq82h4uv2xc0j.png


see these in manage atachments for torrent upload

Code:

Warning:  opendir(UserFiles/T15) [function.opendir]: failed to open dir: No such file or directory in /home/t15ool/public_html/bitbucket-upload.php on line 230
Code:

Warning:  readdir(): supplied argument is not a valid Directory resource in /home/t15ool/public_html/bitbucket-upload.php on line 231


All times are GMT +2. The time now is 17:30.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.