View Single Post
  #9  
Old 18th January 2012, 23:02
buznagn buznagn is offline
Member
 
Join Date: Jan 2012
P2P
Posts: 2
Default
thats my piece of crap from about 4 years ago daffy lol you got it when i gave you my torrent trader source from my site

Quote:
Originally Posted by daffy View Post
he prolly using this one, had it donkeys years, no idea who made it but this is it lol

Code:
<?
if (!$site_config["MEMBERSONLY"] || $CURUSER["class"] >"1") { 
begin_block("Site Donors");

echo "<div align=left>";
echo "<center><strong><br>Thank You</strong></center><br>";
echo "<br/>";
$sql = "SELECT id, username, donated FROM users WHERE donated != '' ORDER BY donated DESC ";
$mysql_result=mysql_query($sql) or die (mysql_error());; 
while ($row=mysql_fetch_array($mysql_result))
{
$id = $row['id'];
$username = $row['username'];
$donated = $row['donated'];
echo "<center><strong><img src=/images/star.gif></img><a href=account-details.php?id=$id><font color=orange>".$username."</font></a><img src=/images/star.gif></img></strong></center>";
}
echo "</marquee><br>";
echo "<center><strong><br>For Your Support</strong></center><br>";
echo"<br/>";

end_block();
}
?>
:sun:
make new block named donors_block. add above code. add block to admincp

oh yea you will need the donation mod installed to so if user donates say 1 usd or gbp they will show, i had mine set to 10, anything below that they dont show. if you want the whole mod for that, holla with a dolla
Reply With Quote