Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   Help With torrenttable Browse.php (http://www.bvlist.com/showthread.php?t=6457)

coko 22nd May 2011 07:02

Help With torrenttable Browse.php
 
3 Attachment(s)
hi all...
i need help , i tried a lot but am unable to modify my browse.php where torrents are shown. I use TBDEV Heavy Beta as Source (TBDEV 2010)

currently i have this table

http://img585.imageshack.us/img585/5952/browse2.jpg


i want to implement this type of table, i.e width of the table, longer "Name" field.

http://img849.imageshack.us/img849/6025/browse.jpg

joeroberts 22nd May 2011 14:14

in torrenttable_functions.php find

PHP Code:

  $htmlout .= "
  <td class='colhead' align='right'>
{$lang["torrenttable_files"]}</td>
  <td class='colhead' align='right'>
{$lang["torrenttable_comments"]}</td>
  <!--<td class='colhead' align='center'>
{$lang["torrenttable_rating"]}</td>-->
  <td class='colhead' align='center'>
{$lang["torrenttable_added"]}</td>
  <td class='colhead' align='center'>
{$lang["torrenttable_ttl"]}</td>
  <td class='colhead' align='center'>
{$lang["torrenttable_size"]}</td>
  <!--
  <td class='colhead' align='right'>
{$lang["torrenttable_views"]}</td>
  <td class='colhead' align='right'>
{$lang["torrenttable_hits"]}</td>
  -->
  <td class='colhead' align='center'>
{$lang["torrenttable_snatched"]}</td>
  <td class='colhead' align='right'>
{$lang["torrenttable_seeders"]}</td>
  <td class='colhead' align='right'>
{$lang["torrenttable_leechers"]}</td>
  <td class='colhead' align='center'>
{$lang["torrenttable_uppedby"]}</td>
  </tr>\n"


and make it look like this


PHP Code:

  $htmlout .= "
  <td class='colhead' align='right'><img dir='set image location' alt='
{$lang["torrenttable_files"]}' name='{$lang["torrenttable_files"]}'></td>
  <td class='colhead' align='right'><img dir='set image location' alt='
{$lang["torrenttable_comments"]}' name='{$lang["torrenttable_comments"]}'></td>
  <!--<td class='colhead' align='center'>
{$lang["torrenttable_rating"]}</td>-->
  <td class='colhead' align='center'><img dir='set image location' alt='
{$lang["torrenttable_added"]}' name='{$lang["torrenttable_added"]}'></td>
  <td class='colhead' align='center'><img dir='set image location' alt='
{$lang["torrenttable_ttl"]}' name='{$lang["torrenttable_ttl"]}'></td>
  <td class='colhead' align='center'><img dir='set image location' alt='
{$lang["torrenttable_size"]}' name='{$lang["torrenttable_size"]}'></td>
  <!--
  <td class='colhead' align='right'>
{$lang["torrenttable_views"]}</td>
  <td class='colhead' align='right'>
{$lang["torrenttable_hits"]}</td>
  -->
  <td class='colhead' align='center'><img dir='set image location' alt='
{$lang["torrenttable_snatched"]}' name='{$lang["torrenttable_snatched"]}'></td>
  <td class='colhead' align='right'><img dir='set image location' alt='
{$lang["torrenttable_seeders"]}' name='{$lang["torrenttable_seeders"]}'></td>
  <td class='colhead' align='right'><img dir='set image location' alt='
{$lang["torrenttable_leechers"]}' name='{$lang["torrenttable_leechers"]}'></td>
  <td class='colhead' align='center'><img dir='set image location' alt='
{$lang["torrenttable_uppedby"]}' name='{$lang["torrenttable_uppedby"]}'></td>
  </tr>\n"


make sure to set location of your images

in order to set the back ground color you well need to edit your css file for colhead


All times are GMT +2. The time now is 05:51.

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