Post: #1
|
||
nexdor Joined: 23-12-2011 Posts: 7 Country: |
Scrolling Images We have TS-Ultimate Edition 2.0 We want to change the header to scrolling Images on header
Can anyone tell me which folder I put this code...?? Thanks for any help |
|
|
||
Post: #2
|
|
HeadCoder Joined: 03-10-2013 Posts: 18 Country: |
Scrolling Images you could try this its a very old one ok make a php file name it last30 inside it put this then upload to your plugins folder
then do to your tools and add last30 same name on both so on CODE: <?php /*  -------------------------------------------------------------------------- |  TS Special Edition v.5.3 |  ======================================== |  by xam |  (c) 2005 - 2008 Template Shares Services |  http://templateshares.net |  ======================================== |  Web: http://templateshares.net |  Time: May 5, 2008, 2:44 am |  Signature Key: TSSE9012008 |  Email: contact@templateshares.net |  TS SE IS NOT FREE SOFTWARE!  --------------------------------------------------------------------------- */ // Dont change for future reference. define('TS_P_VERSION', '1.2 by xam'); // Security Check. if (!defined('IN_PLUGIN_SYSTEM')) {    die("<font face='verdana' size='2' color='darkred'><b>Error!</b> Direct initialization of this file is not allowed.</font>"); } // BEGIN Plugin: last30 # begin last30 $query="SELECT id, name, t_image FROM torrents WHERE t_image <> '' ORDER BY added DESC limit 30"; $result=mysql_query($query); $num = mysql_num_rows($result); $last30 = ' <br> <table><tr><td colspan=1 align=center><marquee scrollAmount=3 o<strong></strong>nMouseover=this.scrollAmount=0 o<strong></strong>nMouseout=this.scrollAmount=3 scrolldelay=0 direction=left> '; $i=0; while ($row = mysql_fetch_assoc($result)) { $id = $row['id']; $name = $row['name']; $poster = $row['t_image']; $name = str_replace('_', ' ' , $name); $name = str_replace('.', ' ' , $name); $name = substr($name, 0, 50); if($i > 0 && $i % 15 == 0) $last30 .= ' '; $last30 .= ' <a href="'.$BASEURL.'/details.php?id='.$id.'" title="'.$name.'"><img  src="'.$poster.'" width="100" height="120" title="'.$name.'" border=0 /></a> '; $i++; } $last30 .= ' </marquee></td></tr></table><br> '; # end last30 // END Plugin: last30 ?> |
|
|
«
Previous Thread
|
Next Thread
»
|