View Single Post
  #8  
Old 5th August 2013, 16:46
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
attention

Attention

You will need to have POSTER MOD to work!





Try this:

in bittorrent after <head> add this:
PHP Code:
<script type="text/javascript" src="overlib.js"></script> 
then after <body> add

PHP Code:
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div
still in bittorrent.php find this:
PHP Code:
print($row["cat_name"]);
            print(
"</a>");
        }
        else
            print(
"-");
        print(
"</td>\n"); 
add after it this

PHP Code:
        $preparing_baloon=mysql_query("SELECT poster FROM torrents WHERE id=$id LIMIT 0, 255") or sqlerr();
        
$poster=mysql_fetch_array($preparing_baloon);
        
$poster=$poster[poster];
if (!empty(
$arr["poster"])){
$poster1 "<table border=0 class=embedded cellspacing=0><td border=0 class=embedded align=center width=100% height=220><img src=$poster width=150 height=220></td>";
}
else{
$poster1 "<table border=0 class=embedded cellspacing=0><td border=0 class=embedded align=center width=100% height=220><img src=/pic/noposter.png width=100% height=220></td>";

so it is look like this

PHP Code:
                print($row["cat_name"]);
            print(
"</a>");
        }
        else
            print(
"-");
        print(
"</td>\n"); 
        
$preparing_baloon=mysql_query("SELECT poster FROM torrents WHERE id=$id LIMIT 0, 255") or sqlerr();
        
$poster=mysql_fetch_array($preparing_baloon);
        
$poster=$poster[poster];
if (!empty(
$arr["poster"])){
$poster1 "<table border=0 class=embedded cellspacing=0><td border=0 class=embedded align=center width=100% height=220><img src=$poster width=150 height=220></td>";
}
else{
$poster1 "<table border=0 class=embedded cellspacing=0><td border=0 class=embedded align=center width=100% height=220><img src=/pic/noposter.png width=100% height=220></td>";

now find this

PHP Code:
          print("\" title=\"" $dispname "\"><b>" CutName($dispname$char) . " <img src=pic/new.png></a> 
Replace with this

PHP Code:
             print("\"onmouseover=\"return overlib('<td><img src=$poster width=150 height=220></td>',  WIDTH, 150, DELAY, 200);\" onmouseout=\"return nd();\";><b>$dispname</b></a> <img src=pic/new.png></a> 
then find this

PHP Code:
         else

             print(
"\" title=\"" $dispname ."\"><b>" CutName($dispname$char) . "</b></a> 
Replace with this

PHP Code:
             print("\"onmouseover=\"return overlib('<td><img src=$poster width=150 height=220></td>',  WIDTH, 150, DELAY, 200);\" onmouseout=\"return nd();\";><b>$dispname</b></a> 
That's it
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
The Following User Says Thank You to Chez For This Useful Post:
ratza (4th November 2014)