How can I make so I can have torrents flagged as New! to last longer? user refreshes and they go away right after that permanently until next new upload. This would make sense to have this stay as New! until user clicks on the torrent link.
Maybe the code is not good?
Maybe the code is not good?
$last_access = $CURUSER["last_browse"];
$time_now = gmtime();
if ($last_access > $time_now || !is_numeric($last_access))
$last_access = $time_now;
if (sql_timestamp_to_unix_timestamp($result2["added"]) >= $last_access) {
$disname .= "New!";
}