X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-chk_regs.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hb=8ce32e702f3caa76b8d446902948e83e1e6854c8;hp=159c450c07cac515a6ba2aa563d6f9514e31933f;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/inc/modules/admin/what-chk_regs.php b/inc/modules/admin/what-chk_regs.php index 159c450c07..f551ef47b7 100644 --- a/inc/modules/admin/what-chk_regs.php +++ b/inc/modules/admin/what-chk_regs.php @@ -1,94 +1,3 @@ 0) { - // We have some (new?) registrations! - $OUT = ''; $SW = 2; - while ($content = SQL_FETCHARRAY($result)) { - // Add link to refid - if ($content['refid'] > 0) $content['refid'] = generateUserProfileLink($content['refid']); - - // Prepare array for the row template - // @TODO Rewritings: ip->REMOTE_ADDR,hash->user_hash in template - $content = array( - 'sw' => $SW, - 'gender' => translateGender($content['gender']), - 'surname' => $content['surname'], - 'family' => $content['family'], - 'email' => "".$content['email']."", - 'ip' => $content['REMOTE_ADDR'], - 'refid' => $content['refid'], - 'hash' => $content['user_hash'], - 'link' => generateUserProfileLink($content['userid']), - ); - - // Load row template and switch color - $OUT .= loadTemplate('admin_list_chk_reg_row', true, $content); - $SW = 3 - $SW; - } - - // Load main template - loadTemplate('admin_list_chk_reg', false, $OUT); -} else { - // No registrations left - or all has confirmed their email address... :-) - loadTemplate('admin_settings_saved', false, getMessage('ADMIN_ALL_CONFIRMED_EMAIL')); -} - -// Free memory -SQL_FREERESULT($result); - -// [EOF] +// @DEPRECATED ?>