"Movie-Torrentz, post: 45125":I think you mean like this:
_ThreeSixMafia_:
DUDE MS MARQUEE SUCKS.
maybe somebody wants to try this slider.
[url="
http://incitorrent.com"]Demo[/url]
In index.php Find:
//Site Notice
if ($site_config['SITENOTICEON']){
begin_frame("" . NOTICE . "");
echo stripslashes($site_config['SITENOTICE']);
end_frame();
}
Before Add:
// recommended torrents
begin_frame("Recommended");
$news = mysql_query("SELECT id, name, added, image1, image2 FROM torrents WHERE banned ='no' AND visible='yes' AND torrents.recommended='yes' ORDER BY torrents.id DESC LIMIT 10"); ///limit number of images
if (mysql_num_rows($news) > 0) {
?>
<div class="marquee" id="mycrawler2">
<?
while ($row2 = mysql_fetch_array($news, MYSQL_NUM)) {
$tor = $row2['0'];
$altname = $row2['1'];
$where = "WHERE banned = 'no' AND visible='yes' AND torrents.id='$tor'";
$res = mysql_query("SELECT torrents.id, torrents.image1, torrents.image2, torrents.added, categories.name AS cat_name FROM torrents LEFT JOIN categories ON torrents.category = categories.id $where $orderby $limit");
$row = mysql_fetch_array($res);
$cat = $row['cat_name'];
$img1 = "<a href='{$site_config[sITEURL]}/torrents-details.php?id=$row[id]'><img src='uploads/images/{$row[image1]}' height=175> </a>";
if ($row["image1"] != ""){
print("". $img1 ."");
}
}
?>
</div>
<?
}
end_frame();
// recommended torrents
add in your themes header.php before </head> tag
<!--recommended -->
<script type="text/javascript" src="js/crawler.js">
<script type="text/javascript" src="js/jquery.min.js">
</script>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
},
inc: 5, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 2,
neutral: 150,
savedirection: true,
random: false
});
</script>
<!--recommended -->
and Upload attached files to
public_html/js directory.
[url="
http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6407"]crawler.js[/url]
[url="
http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6408"]jquery.min.js[/url]