Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
NO IMAGE DEFAULT
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Support

Unknown User
2020-04-19 13:28:29
Hello!
NO IMAGE DEFAULT IN TORRENT DETAILS

if ($row["image1"] != "" OR $row["image2"] != "") {
   $img1 = "<tg height='410px' width='580px'><a href=" . $site_config["SITEURL"] . "/uploads/images/$row[image1] rel=gb_imageset[nice_pics] title=" . $shortname . "><IMG src=" . $site_config["SITEURL"] . "/uploads/images/$row[image1]  height=400px width=310px border=0></a>";

   if ($row["image1"] != "")
       if ($row["image2"] != "")
           $img2 = "<a href=" . $site_config["SITEURL"] . "/uploads/images/$row[image2] rel=gb_imageset[nice_pics] title=" . $shortname . "><IMG src=" . $site_config["SITEURL"] . "/uploads/images/$row[image2]  height=400px width=310x border=0></a>";

}

UPDATE!
if ($row["image1"] != ""){
print("<tg height='410px' width='580px'>".$img1."</tg>");
$x++;
}else{
   $img1 = "<a href=file.php?id=$row[id]'><img id='cover_img1' class='cover_img' border='0' src='/pic/uploadimage.jpg' title=\"$altname | $cat\" height=400px width=310px border=0></a>
";
}
 i have made it !
2020-04-19 18:00:14
what is file.php? I dont think anyone else will have this file since its clearly custom I would think, but thanks for sharing :)
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728