X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=inc%2Fmodules%2Fadmin%2Fwhat-list_norefs.php;h=f87b68fd319130d505ca122256bd7490eb3d0a92;hb=bb26a0d30f5069bb00c65ac715cbf04b2ae672d9;hp=313ccfc2481236b8747809ea84ed75597995b516;hpb=d0ab0382dd73638f0bc13a1a3d6f117ec11a203e;p=mailer.git
diff --git a/inc/modules/admin/what-list_norefs.php b/inc/modules/admin/what-list_norefs.php
index 313ccfc248..f87b68fd31 100644
--- a/inc/modules/admin/what-list_norefs.php
+++ b/inc/modules/admin/what-list_norefs.php
@@ -1,165 +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, $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();
-//
+// DEPRECATED!
?>