if (SQL_NUMROWS($result_master) == 1) {
// Mail order / bonus mail found!
// @TODO Rewrite this to $content = SQL_FETCHARRAY(), look some lines above for two differrent queries
if (SQL_NUMROWS($result_master) == 1) {
// Mail order / bonus mail found!
// @TODO Rewrite this to $content = SQL_FETCHARRAY(), look some lines above for two differrent queries
- list($stats_id, $sender, $subj, $text, $url, $stamp, $max) = SQL_FETCHROW($result_master);
+ list($stats_id, $sender, $subject, $text, $url, $stamp, $max) = SQL_FETCHROW($result_master);
// Transfer data to constants for the template
if (($stats_id > 0) && ($ID == '-1')) $ID = $stats_id;
// Transfer data to constants for the template
if (($stats_id > 0) && ($ID == '-1')) $ID = $stats_id;
while ($content = SQL_FETCHARRAY($result)) {
// User data found? We can take any field of u.
if (!is_null($content['status'])) {
// Prepare data for the row template
$content = array(
while ($content = SQL_FETCHARRAY($result)) {
// User data found? We can take any field of u.
if (!is_null($content['status'])) {
// Prepare data for the row template
$content = array(
// Load row template and switch colors
$OUT .= loadTemplate('admin_list_unconfirmed_row', true, $content);
} else {
// Load row template and switch colors
$OUT .= loadTemplate('admin_list_unconfirmed_row', true, $content);
} else {