Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
Thread Tools
  #11  
Old 1st March 2013, 19:09
Leechbg Leechbg is offline
Senior Member
 
Join Date: Feb 2013
P2P
Posts: 18
Default
Quote:
Originally Posted by daffy View Post
download and install firebug, its a firefox plugin, it allows you to right click on parts of site and view code. you can then find the table and the css line it is being pulled from.

will help you ALOT and you can also learn alot about code you work with
https://getfirebug.com

post your bittorrent.php
I download this plagin for mozila.But i still found ...maybe I'm an idiot

This is a my bittorent.php please help to delete this line

Bump: Hi :) I finally managed to remove the line ...

In this in browse.php >>


PHP Code:
<?    
begin_frame
("" .RECOM"");
$ress sql_query("SELECT id, recommended, category, seeders, leechers, size, name, poster, times_completed from torrents WHERE recommended = 'yes' ORDER BY added DESC LIMIT 11") or sqlerr(__FILE____LINE__);
$num mysql_num_rows($ress);

if (
$num 0) {
print(
"<center><table border=1 cellspacing=0  cellpadding=1 width=75%><tr></center>");

print(
"<td align=center><font><b>Тип</font></b></td>");
//print("<td align=center><font size=+1><b>Rank</font></b></td>");
print("<td align=center><font><b>Название</font></b></td>");
print(
"<td align=center><font><b>Размер</b></font></td>");
print(
"<td align=center><font><b>Свалено</b></font></td>");
print(
"<td align=center><font><b>Сийдъри</b></font></td>");
print(
"<td align=center><font><b>Лийчъри</b></font></td></tr>");

for (
$i 0$i $num; ++$i)
{
while (
$row mysql_fetch_assoc($ress)) {


//////// Retrieve Category Image //////////
$cros sql_query("SELECT name, image FROM categories WHERE id=$row[category]");
if (
mysql_num_rows($cros) == 1)
{
$corr mysql_fetch_assoc($cros);
$cat_img "<img src=$BASEURL/pic/" $corr[image] . " border=0 alt='$corr[name]'>";
}
/////// End Category Image //////////////

//Rank Start
$i = ++$i;
//Rank End

//print("<tr><td>$cat_img</td>");
print("<td width=40 align=left>$cat_img</td>"); //category images
//print("<td align=center>$i</td>"); //rank

$poster $row['poster'];

print(
"<td width=60% align=left><a href=details.php?id=$row[id] onmouseover=\"return overlib('<table width=100%><img src=$poster width=120 height=170></table>',  WIDTH, 120, DELAY, 170);\" onmouseout=\"return nd();\";><b>$row[name]</b></a> $bgsubs $bgaudio");

print(
"<td align=center>" .mksize($row['size'])."</td>"); //size
print("<td align=center>" .number_format($row['times_completed'])."</td>"); //snatches
print("<td align=center><font color=red>" .number_format($row['seeders'])."</font></td>"); //seeders
print("<td align=center>" .number_format($row['leechers'])."</td></tr>\n"); //leechers
}
}
}
print(
"</tr></table>");

    

end_frame();
?>
I remove begin_frame and end_frame(); ... and here is a results >>>

Click the image to open in full size.
Attached Files
File Type: php bittorrent.php (63.0 KB, 4 views)
Reply With Quote
Reply

Tags
line , remove


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 23:10. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.