first go to themes your theme name end sthead.php before </head> add
Code:
<script type="text/javascript" src="overlib.js"></script>
then after <body> add
Code:
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
save
now in bittorrent.php
Find this
Code:
print($row["cat_name"]);
print("</a>");
}
else
print("-");
print("</td>\n");
add after it this
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
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
Code:
print("\" title=\"" . $dispname . "\"><b>" . CutName($dispname, $char) . " <img src=pic/new.png></a>
Replace with this
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
Code:
else
print("\" title=\"" . $dispname ."\"><b>" . CutName($dispname, $char) . "</b></a>
Replace with this
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>
So the code look like this(mine is a bit different because i add freelech,sticky,scene,request,2xupload)
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> $thisisfree $double_seed $scene $request<br>$description</b></a></div>");
else
print("\"onmouseover=\"return overlib('<td><img src=$poster width=150 height=220></td>', WIDTH, 150, DELAY, 200);\" onmouseout=\"return nd();\";><b>$dispname</b></a> $thisisfree $double_seed $scene $request</a><br>$description</b></div>");
if ($variant == "index")