Quote:
Originally Posted by turktiger
it seems very far from mouse and only thumb like in the attachment , cant we show seeders and leechers in it like 7.2 (i use 5.6 )
|
at your page there maybe a problem in css ... in header perhaps ...
I will work on a balloon that shows seeders/leechers, etc. ... but what's the point in that, you can see those values in the browse page right on the torrent you're pointing ... maybe it's not a good idea in loading the tracker with thousands of graphics and gizmos ... but, as I said, i'll work on a balloon like that
Bump: Ok, here is the version with seeders/leechers/category/size shown in the window ...:
for those who never changed browse.php:
find:
PHP Code:
$name_torrent = '<a href="'.($UseQuickMenu ? '#' : $seolink2).'" id="torrentmenu'.$torrents['id'].'" /><b>'.(!empty($keywords) ? highlight(htmlspecialchars_uni($keywords), $torrents['name']) : $torrents['name']).'</b></a> '.$isnew.' '.$issticky.' '.$isfree.' '.$issilver.' '.$isdoubleupload.' '.$isrequest.' '.$isnuked.' <span id="isexternal_'.$torrents['id'].'">'.$isexternal.'</span>';
and replace it with:
PHP Code:
$res12 = mysql_query("SELECT name FROM categories WHERE id=$torrents[category]");
$arr1 = mysql_fetch_assoc($res12);
$cat1 = $arr1["name"];
$size1 = mksize($torrents["size"]);
$imagineat=htmlspecialchars_uni($torrents['t_image']);
$name_torrent = '<a href="'.$seolink2.'" onmouseover="return overlib(\'<table width=100%><tr><td bgcolor=black align=center><img src='.$imagineat.' width=150 height=200></td><td bgcolor=black align=center ><b><font color=white>'.$torrents['name'].'</font></b><br><br><font color=yellow><b>Tip: '.$cat1.'</font><br><br><font color=lime><b>'.$torrents['seeders'].' Seederi</font><br><font color=red>'.$torrents['leechers'].' Leecheri</font><br><br><font color=white>Marime: '.$size1.'</font></td></tr></table>\', WIDTH, 150, DELAY, 100);" onmouseout="return nd();"><b>'.$torrents['name'].'</b></a> '.$isnew.' '.$issticky.' '.$isfree.' '.$issilver.' '.$isdoubleupload.' '.$isrequest.' '.$isnuked.' <span id="isexternal_'.$torrents['id'].'">'.$isexternal.'</span>';
For those who already made the ballon modification from the first post:
in browse.php
find:
PHP Code:
$imagineat=htmlspecialchars_uni($torrents['t_image']);
$name_torrent = '<a href="'.$seolink2.'" onmouseover="return overlib(\'<table width=100%><tr><td><img src='.$imagineat.' width=150 height=200></td></tr></table>\', WIDTH, 150, DELAY, 100); ..... etc
and replace it with:
PHP Code:
$res12 = mysql_query("SELECT name FROM categories WHERE id=$torrents[category]");
$arr1 = mysql_fetch_assoc($res12);
$cat1 = $arr1["name"];
$size1 = mksize($torrents["size"]);
$imagineat=htmlspecialchars_uni($torrents['t_image']);
$name_torrent = '<a href="'.$seolink2.'" onmouseover="return overlib(\'<table width=100%><tr><td bgcolor=black align=center><img src='.$imagineat.' width=150 height=200></td><td bgcolor=black align=center ><b><font color=white>'.$torrents['name'].'</font></b><br><br><font color=yellow><b>Tip: '.$cat1.'</font><br><br><font color=lime><b>'.$torrents['seeders'].' Seederi</font><br><font color=red>'.$torrents['leechers'].' Leecheri</font><br><br><font color=white>Marime: '.$size1.'</font></td></tr></table>\', WIDTH, 150, DELAY, 100);" onmouseout="return nd();"><b>'.$torrents['name'].'</b></a> '.$isnew.' '.$issticky.' '.$isfree.' '.$issilver.' '.$isdoubleupload.' '.$isrequest.' '.$isnuked.' <span id="isexternal_'.$torrents['id'].'">'.$isexternal.'</span>';
that should do it ....