X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_norefs.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hp=83ea7425cef2015b6458be206db38f638f003193;hb=2164ff00dd24d381e1d412ae248f486230b2019a;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5 diff --git a/inc/modules/admin/what-list_norefs.php b/inc/modules/admin/what-list_norefs.php index 83ea7425ce..f551ef47b7 100644 --- a/inc/modules/admin/what-list_norefs.php +++ b/inc/modules/admin/what-list_norefs.php @@ -1,162 +1,3 @@ 0) -{ - // Free memory - SQL_FREERESULT($result_master); - - // We have some (new?) registrations! - define('__COLSPAN1' , $colspan); - define('__COLSPAN2' , ($colspan + 2)); - define('__USER_CNT' , $user_count); - define('__ALPHA_SORT', alpha($_GET['sortby'], $colspan, true)); - define('__SORT_LINKS', SortLinks($_GET['letter'], $_GET['sortby'], $colspan, true)); - if ($PAGES > 1) - { - define('__PAGE_NAV', ADD_PAGENAV($PAGES, $_CONFIG['user_limit'], true, $colspan, true)); - } - else - { - // No page navigation is required - define('__PAGE_NAV', ""); - } - - // Column with nickname when nickname extension is present - if (EXT_IS_ACTIVE("nickname")) - { - // Nickname extension found - define('__NICKNAME_TH', " ".NICKNAME.""); - } - else - { - // Not found - define('__NICKNAME_TH', ""); - } - - $SW = 2; $OUT = ""; - while (list($uid, $gender, $sname, $fname, $email, $IP, $ref, $status, $nick) = SQL_FETCHROW($result)) - { - if ($ref > 0) $ref = ADMIN_USER_PROFILE_LINK($ref); - $LINKS = TRANSLATE_COMMA(GET_TOTAL_DATA($uid, "user_links", "id", "userid", true)); - if ($LINKS > 0) $LINKS = $BASE."&what=list_links&u_id=".$uid."\">".$LINKS.""; - - // Add nickname - if ((empty($nick)) || ($uid == $nick)) $nick = "---"; - - // Transfer data to array - $content = array( - 'sw' => $SW, - 'uid' => ADMIN_USER_PROFILE_LINK($uid), - 'gender' => TRANSLATE_GENDER($gender), - 'sname' => $sname, - 'fname' => $fname, - 'email' => "".$email."", - 'addr' => $IP, - 'ref' => $ref, - 'status' => TRANSLATE_STATUS($status), - 'links' => $LINKS, - 'nick' => $nick - ); - - // Load row template and switch colors - $OUT .= LOAD_TEMPLATE("admin_list_user_row", true, $content); - $SW = 3 - $SW; - } - - // Free memory - SQL_FREERESULT($result); - - define('__USER_ROWS', $OUT); - - // Load main template - LOAD_TEMPLATE("admin_list_user"); - - // Free some memory - SQL_FREERESULT($result_master); -} - else -{ - // No one as registered so far! :-( - LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_ACCOUNT_NOREFS_404); -} - -// +// @DEPRECATED ?>