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
Description of the torrent
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2021-11-21 01:33:56
Hello, I modified the function.php file to make a new torrent.php page but I can't make the torrent description appear and I added this code

" . format_comment($arr['descr']) . "


in the code below and it doesn't work, can you help me to put the description, thanks in advance







               print("</td>\n");
          break;
          case 'name':
              $char1 = 70; //cut name length
              $smallname = htmlspecialchars(CutName($row["name"], $char1));
              $dispname = "<b><br>

</b>

<br><br>


<table class=table_test border=2 width=90% cellpadding=10><tr><th colspan=10 align=center class=table_head><b>".T_("TORRENT_INFO")."</b>:

<b>".$smallname."</b>

</th></tr>" .
     "<tr><td colspan='7' valign=top rowspan=2 class=ttable_col1 cellpadding=5 style='padding: 10px;'><center><i><b><u>".T_("DESCRIPTION")."</u></b></i></center><br /><div style='height:120px; line-height:10em;overflow:auto;padding:10px;'><b><font size=2>


" . format_comment($arr['descr']) . "


</font></b></div></td>




               <td align='center'><a href=torrents-details.php?id=$row[id]'><img id='cover_img1' class='cover_img' border='2' src='uploads/images/$row[image1]' width='128px' height='177px'></a> </td>



<tr>

     <tr><td class=ttable_col2 align='center'>

<b>Genre : </b>
<span style='color:#FF4400'><b>" . $row["cat_name"] . "</b>



" . $catarr["cat_name"] . "

</td>".$lang." ".$flag."<td class=ttable_col2 align='center'><b>" .T_("TOTAL_SIZE"). " : </b>

" . mksize($row["size"]) ."

</td><td align=center class=ttable_col2><b>".T_("NUMBER_OF_DOWNLOADS")." : <font color=green>


".number_format($row['times_completed'])."


</b></font>


".T_("TIMES")."</td><td width=10 class=ttable_col2 align=center><a href=\"download.php?id=$id&name=" . rawurlencode($arr["filename"]) . "\"><img src='" . $site_config['SITEURL'] . "/images/icon_download.gif' border='0' title='".T_("DIRECT_DOWN")."' alt=\"Download torrent\" /></a></td>

<td class=ttable_col2 align=center><img border=\"0\" src=\"images/red_down.png\" width='10' height='10' title=\"".T_("LEECHERS")."!\"></a>(<font color=red>

<b>

".$row['leechers']."

</b>

</font>) - <img border=\"0\" src=\"images/green_up.png\" width='10' height='10' title=\"".T_("SEEDERS")."!\"></a>(<font color=green>

<b>


".$row['seeders']."


</b>

</font>)</td><td class=ttable_col2 align=center><a style='text-decoration:none' href=torrents-details.php?id=$id&hit=1><input type=button value='".T_("TORRENT")."' title='".T_("TORRENT_GO")."' alt='[".T_("TORRENT_GO")."]'></font></a></td></tr></table><br />

";




2021-11-21 10:14:57
looks like it should be row
$row['descr']
2021-11-21 13:50:41
thanks M-jay for your help it works fine now
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: 8
  • Members: 0
  • Guests online: 8
  • Comments: 3
  • Messages: 1,728