Don't know if this will do, but try:
change this:
PHP Code:
$output .= " <td align=\"left\"><b>". $detaila . $tor['torrentname'] . $detailb ."$dl $thisisfrees $doubleuptag</b></a>\n";
to this:
PHP Code:
if (sql_timestamp_to_unix_timestamp($tor["added"]) >= $last_browse)
$output .= " <td align=\"left\"><b>". $detaila . $tor['torrentname'] . $detailb ."$dl $thisisfrees $doubleuptag (<font color=red>New</font>)</b></a>\n";
else
$output .= " <td align=\"left\"><b>". $detaila . $tor['torrentname'] . $detailb ."$dl $thisisfrees $doubleuptag</b></a>\n";