Quote:
Originally Posted by BlueZ98
How can i make this dissaper:
Pleas help
|
find this in near the bottom of takeupload.php
PHP Code:
$text = "[url=http://www.peerspy.net/details.php?id=$id]".htmlspecialchars($torrent)."[/url]";
$userid = "0";
$date=time();
mysql_query("INSERT INTO shoutbox (id, userid, date, text) VALUES ('id'," . sqlesc($userid) . ", $date, " . sqlesc($text) . ")") or sqlerr(__FILE__, __LINE__);
and replace with this
PHP Code:
$text = "[b]New torrent![/b] [url=$BASEURL/details.php?id=$id]".htmlspecialchars($torrent)."[/url] [color=lime][b]was just uploaded by[/b] [/color][url=$BASEURL/userdetails.php?id=". $CURUSER['id'] ."] " .$CURUSER['username']."[/URL]";
$userid = "10001";
$date=time();
mysql_query("INSERT INTO shoutbox (id, userid, date, text) VALUES ('id'," . sqlesc($userid) . ", $date, " . sqlesc($text) . ")") or sqlerr(__FILE__, __LINE__);