|
#1
|
|||
|
|||
Last X torrents
Here is Last X torrents with poster and marquee function.
Here is the code Code:
//Start of Last X torrents with poster and marquee mod $query="SELECT id, name, poster FROM torrents WHERE poster <> '' ORDER BY added DESC LIMIT XXX"; $result=mysql_query($query);$num = mysql_num_rows($result); print("<br>"); print("<h2>Last XXX Torrents</h2>"); print("<table cellpadding=2 width=100% align=center><tr><td colspan=1 align=center><marquee scrollAmount=3 onMouseover=this.scrollAmount=0 onMouseout=this.scrollAmount=3 scrolldelay=0 direction=left>"); while ($row = mysql_fetch_assoc($result)) { $id = $row['id']; $name = $row['name']; $poster = $row['poster']; $name = str_replace('_', ' ' , $name); $name = str_replace('.', ' ' , $name); $name = substr($name, 0, 50); print("<a href=$BASEURL/details.php?id=$id title=$name><img src=$poster width=100 height=142 title=$name border=0></a>"); } print("</marquee></td></tr></table>"); //End of Last X torrents with poster and marquee mod Code:
DESC LIMIT XXX Code:
print("<h2>Last XXX Torrents</h2>"); Picture: Last edited by sammygo; 1st May 2009 at 16:03. |
#2
|
||||
|
||||
TBDEV
Another post copied from tbdev
|
#3
|
|||
|
|||
|
#4
|
||||
|
||||
//
__________________
|
#5
|
|||
|
|||
|
#6
|
||||
|
||||
add this in index.php where do you want to appear
PHP Code:
PHP Code:
__________________
|
The Following User Says Thank You to Chez For This Useful Post: | ||
bestlap (23rd January 2013)
|
Tags |
torrents |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Torrents.ro | Fynnon | Community Cafe | 2 | 21st January 2015 12:45 |
TorrentStrike theme engine to TBdev | Kotafi | Mods & Themes | 6 | 13th May 2012 04:42 |
Import TBdev & TT torrents to phpMyBitTorrent | joeroberts | Mods & Themes | 1 | 12th November 2010 05:39 |
Problem with TBDEV Tracker - Torrents problem | M4d4lyNn | TBDev | 0 | 15th January 2010 08:49 |