X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=0.2.1%2Finc%2Fmodules%2Fadmin%2Fwhat-chk_regs.php;h=3efc110daad4599b17e9733ce0d934b13b1152d4;hb=7bc25dd08431c94ce9edca131d56c1a36b13c28a;hp=ea946107683c59e7885eafefcaa708189579b321;hpb=157ee010917df5ca07e6d31b42f67417b2516d74;p=mailer.git
diff --git a/0.2.1/inc/modules/admin/what-chk_regs.php b/0.2.1/inc/modules/admin/what-chk_regs.php
index ea94610768..3efc110daa 100644
--- a/0.2.1/inc/modules/admin/what-chk_regs.php
+++ b/0.2.1/inc/modules/admin/what-chk_regs.php
@@ -1,87 +1,87 @@
- 0)
-{
- // We have some (new?) registrations!
- $SW = 2; $OUT = "";
- while (list($uid, $sex, $sname, $fname, $email, $IP, $ref, $hash) = SQL_FETCHROW($query))
- {
- if ($ref > 0) $ref = ADMIN_USER_PROFILE_LINK($ref);
- // Prepare array for the row template
- $content = array(
- 'sw' => $SW,
- 'sex' => TRANSLATE_SEX($sex),
- 'sname' => $sname,
- 'fname' => $fname,
- 'email' => "".stripslashes($email)."",
- 'ip' => $IP,
- 'ref' => $ref,
- 'hash' => $hash,
- 'link' => ADMIN_USER_PROFILE_LINK($uid),
- );
-
- // Load row template and switch color
- $OUT .= LOAD_TEMPLATE("admin_reg_row", true, $content);
- $SW = 3 - $SW;
- }
-
- // Free memory
- SQL_FREERESULT($query);
- define('__REG_ROWS', $OUT);
-
- // Load main template
- LOAD_TEMPLATE("admin_reg");
-}
- else
-{
- // No registrations left - or all has confirmed their email address... :-)
- LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_ALL_CONFIRMED_EMAIL);
-}
-CLOSE_TABLE();
-//
-?>
+ 0)
+{
+ // We have some (new?) registrations!
+ $SW = 2; $OUT = "";
+ while (list($uid, $sex, $sname, $fname, $email, $IP, $ref, $hash) = SQL_FETCHROW($query))
+ {
+ if ($ref > 0) $ref = ADMIN_USER_PROFILE_LINK($ref);
+ // Prepare array for the row template
+ $content = array(
+ 'sw' => $SW,
+ 'sex' => TRANSLATE_SEX($sex),
+ 'sname' => $sname,
+ 'fname' => $fname,
+ 'email' => "".stripslashes($email)."",
+ 'ip' => $IP,
+ 'ref' => $ref,
+ 'hash' => $hash,
+ 'link' => ADMIN_USER_PROFILE_LINK($uid),
+ );
+
+ // Load row template and switch color
+ $OUT .= LOAD_TEMPLATE("admin_reg_row", true, $content);
+ $SW = 3 - $SW;
+ }
+
+ // Free memory
+ SQL_FREERESULT($query);
+ define('__REG_ROWS', $OUT);
+
+ // Load main template
+ LOAD_TEMPLATE("admin_reg");
+}
+ else
+{
+ // No registrations left - or all has confirmed their email address... :-)
+ LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_ALL_CONFIRMED_EMAIL);
+}
+CLOSE_TABLE();
+//
+?>