X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=0.2.1%2Finc%2Fmodules%2Fadmin%2Fwhat-list_norefs.php;fp=0.2.1%2Finc%2Fmodules%2Fadmin%2Fwhat-list_norefs.php;h=0000000000000000000000000000000000000000;hp=313ccfc2481236b8747809ea84ed75597995b516;hb=ab9c0550b44bdb6bbb930b4553f687702963801e;hpb=50646cc7b05cf5ff93e9b1e36ab03047cc0cd6bf diff --git a/0.2.1/inc/modules/admin/what-list_norefs.php b/0.2.1/inc/modules/admin/what-list_norefs.php deleted file mode 100644 index 313ccfc248..0000000000 --- a/0.2.1/inc/modules/admin/what-list_norefs.php +++ /dev/null @@ -1,165 +0,0 @@ - 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, $sex, $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), - 'sex' => TRANSLATE_SEX($sex), - 'sname' => $sname, - 'fname' => $fname, - 'email' => "".stripslashes($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); -} - -CLOSE_TABLE(); -// -?>