Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Torrent Strike
Reply
  #1  
Old 5th November 2008, 20:57
gvalfer gvalfer is offline
Member
 
Join Date: Oct 2008
Posts: 13
Default icons cats in browser
i use torrentstike fully mode v1, how to insert the icons of cats in browser?
get the names and put the images
please help me
Reply With Quote
  #2  
Old 5th November 2008, 21:02
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
i don`t understand what you want ...draw me a picture please

and you can post in TS forum since this is a supported source :P
Reply With Quote
  #3  
Old 5th November 2008, 21:46
gvalfer gvalfer is offline
Member
 
Join Date: Oct 2008
Posts: 13
Default
Quote:
Originally Posted by Fynnon View Post
i don`t understand what you want ...draw me a picture please

and you can post in TS forum since this is a supported source :P

Click image for larger version

Name:	screenhunter01nov051938ve1.jpg
Views:	81
Size:	41.0 KB
ID:	614
Reply With Quote
  #4  
Old 5th November 2008, 23:42
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
bittorrent.php FIND:
PHP Code:
function genrelist() {
    
$ret = array();
    
$res mysql_query("SELECT id, name FROM categories ORDER BY name");
    while (
$row mysql_fetch_array($res))
        
$ret[] = $row;
    return 
$ret;

REPLACE:
PHP Code:
function genrelist() {
    
$ret = array();
    
$res mysql_query("SELECT id, name, image FROM categories ORDER BY name");
    while (
$row mysql_fetch_array($res))
        
$ret[] = $row;
    return 
$ret;

browse.php FIND:
PHP Code:
foreach ($cats as $cat)
{
    
$catsperrow 7;
    print((
$i && $i $catsperrow == 0) ? "</tr><tr>" "");
    print(
"<td align=center class=bottom style=\"padding-bottom: 2px;padding-left: 7px\"><input name=c$cat[id] type=\"checkboxden\" " . (in_array($cat[id],$wherecatina) ? "checked " "") . "value=1><a class=catlink href=browse.php?cat=$cat[id]>" htmlspecialchars($cat[name]) . "</a></td>\n");
    
$i++;


REPLACE:

PHP Code:
foreach ($cats as $cat)
{
    
$catsperrow 7;
    print((
$i && $i $catsperrow == 0) ? "</tr><tr>" "");
    print(
"<td align=center class=bottom style=\"padding-bottom: 2px;padding-left: 7px\"><input name=c$cat[id] type=\"hidden\" " . (in_array($cat[id],$wherecatina) ? "checked " "") . "value=1><a class=catlink href=browse.php?cat=$cat[id]><img src=pic/" htmlspecialchars($cat[image]) . "></a></td>\n");
    
$i++;

Reply With Quote
Reply

Tags
browser , cats , icons

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Browser Stats GaBoNtZ Mods & Themes 3 29th April 2012 14:11
Category icons daffy Downloads 2 24th May 2010 22:18
I need oldies icons! andsh TBDev 2 27th May 2009 16:20
TBDev Cats Align Problem ? wrestleman Community Cafe 3 25th May 2009 13:56
help me please <Icons category> gvalfer Torrent Strike 6 23rd October 2008 23:17



All times are GMT +2. The time now is 11:38. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.