bigintval($data), // @TODO This 'userid' cannot be saved because of encapsulated EL code 'userid' => getMemberId(), 'link_type' => $row['link_type'], 'subject' => $subject, 'sender' => $sender, 'timestamp' => generateDateTime($timestamp, 2), 'points' => $pay, ); // Load row template if (getConfig('show_points_unconfirmed') == 'Y') { $OUT .= loadTemplate('member_unconfirmed_row', true, $content); } else { $OUT .= loadTemplate('member_unconfirmed_row_nopoints', true, $content); } // Count points $sum += $pay; } else { // Prepare data for template $content = array( 'data' => $data, 'message' => $message, ); // Display points or not? if (getConfig('show_points_unconfirmed') == 'Y') { $OUT .= loadTemplate('member_unconfirmed_404', true, $content); } else { $OUT .= loadTemplate('member_unconfirmed_404_nopoints', true, $content); } } // Free result SQL_FREERESULT($result_data); } // END - while // Free memory SQL_FREERESULT($result); // Remember total points $content['total_points'] = $sum; // Remember all generated rows in constant for the template $content['rows'] = $OUT; // Load main template if (getConfig('show_points_unconfirmed') == 'Y') { loadTemplate('member_unconfirmed_table', false, $content); } else { loadTemplate('member_unconfirmed_table_nopoints', false, $content); } } else { // No mails left to confirm... :) loadTemplate('admin_settings_saved', false, '{--MEMBER_NO_MAILS_TO_CONFIRM--}'); } // [EOF] ?>