|
#1
|
|||
|
|||
How do you get the number behind the category
Gr Mika |
The Following User Says Thank You to Mika For This Useful Post: | ||
zenja7777 (8th September 2008)
|
#2
|
||||
|
||||
What TS version are you using ?
That is a mod, i was thinking those numbers are there by default... |
#3
|
|||
|
|||
Ts 3.4
Like here: nzbmasters :: Login EDIT: (found the solution) In browse.php find this or similar Code:
$catsperrow = 4; print(($i && $i % $catsperrow == 0) ? "</tr><tr>" : ""); Code:
$countcats = get_row_count('torrents', "WHERE category = $cat[id]"); Code:
print("<td class=bottom style=\"padding-bottom: 2px;padding-left: 7px\"><input name=c$cat[id] type=\"checkbox\" " . (in_array($cat[id],$wherecatina) ? "checked " : "") . "value=1><a class=catlink href=browse.php?cat=$cat[id]>" . htmlspecialchars($cat[name]) . "</a></td>\n"); Code:
print("<td class=bottom style=\"padding-bottom: 2px;padding-left: 7px\"><input name=c$cat[id] type=\"checkbox\" " . (in_array($cat[id],$wherecatina) ? "checked " : "") . "value=1><a class=catlink href=browse.php?cat=$cat[id]>" . htmlspecialchars($cat[name]) . "</a> ($countcats)</td>\n"); Gr Mika |
The Following User Says Thank You to Mika For This Useful Post: | ||
zenja7777 (8th September 2008)
|
#4
|
|||
|
|||
Thank. I apply work in TS 4.3 too.
|
Tags |
browse |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Anonymous in browse.php | lovebeer | TBDev | 2 | 17th March 2010 15:13 |
how to add a search box in browse.php | irfan | TBDev | 0 | 22nd October 2009 17:25 |
browse.php sql error. | biggyb | Template Shares | 4 | 7th July 2009 13:20 |
browse.php | ahly | Community Cafe | 0 | 12th December 2008 17:12 |
browse page trouble :( | snakebite | Torrent Strike | 4 | 20th May 2008 19:03 |