list($stats_id, $sender, $subj, $text, $url, $stamp, $max) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
// Transfer data to constants for the template
if (($stats_id > 0) && ($ID == "-1")) $ID = $stats_id;
if ($col == "bonus_id") $sender = 0;
list($stats_id, $sender, $subj, $text, $url, $stamp, $max) = SQL_FETCHROW($result);
SQL_FREERESULT($result);
// Transfer data to constants for the template
if (($stats_id > 0) && ($ID == "-1")) $ID = $stats_id;
if ($col == "bonus_id") $sender = 0;