in takeupload.php add this shows new torrent uploaded in shoutbox plus gives the uploader 3 gigs every time to their account
////////new torrent upload detail sent to shoutbox//////////
$text = "
New Torrent Uploaded ".htmlspecialchars($torrent)." please thank the uploader!!";
$userid = "0";
$username = "shoutbot";
$date=time();
mysql_query("INSERT INTO shoutbox (userid, username, date, text) VALUES (" . sqlesc($userid) . ", " . sqlesc($username) . ", $date, " . sqlesc($text) . ")") or sqlerr(__FILE__, __LINE__);
/////////////////////////////END///////////////////////////////////
mysql_query("UPDATE users SET uploaded = uploaded + 3221225472 WHERE id = ". $CURUSER['id']);
header("Location: $BASEURL/details.php?id=$id&uploaded=1");
add it between this
*******************/
code goes here
header("Location: $BASEURL/details.php?id=$id&uploaded=1");