]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-reflinks.php
Removed already no longer used last parameter from addMaxReceiveList(), so more EL...
[mailer.git] / inc / modules / member / what-reflinks.php
index 35832a3fb84c6dda6b2709a5a066378676bd8705..51cd39a8b7969c1a73434d11beb80072eefa1a86 100644 (file)
@@ -6,9 +6,9 @@
  * -------------------------------------------------------------------- *
  * File              : what-reflinks.php                                *
  * -------------------------------------------------------------------- *
- * Short description : Referal links                                    *
+ * Short description : Referral links                                   *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Referal-Links                                    *
+ * Kurzbeschreibung  : Referral-Links                                   *
  * -------------------------------------------------------------------- *
  * $Revision::                                                        $ *
  * $Date::                                                            $ *
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -37,7 +37,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } elseif (!isMember()) {
        redirectToIndexMemberOnlyModule();
 }
@@ -66,7 +66,7 @@ if (isExtensionActive('nickname')) {
 $whereStatement = " WHERE `visible`='Y'";
 if (isAdmin()) $whereStatement = '';
 
-$result = SQL_QUERY('SELECT `id`, `url`, `alternate`, `counter`, `clicks` FROM `{?_MYSQL_PREFIX?}_refbanner` ORDER BY `id` ASC', __FILE__, __LINE__);
+$result = SQL_QUERY('SELECT `id`,`url`,`alternate`,`counter`,`clicks` FROM `{?_MYSQL_PREFIX?}_refbanner` ORDER BY `id` ASC', __FILE__, __LINE__);
 
 if (!SQL_HASZERONUMS($result)) {
        // List available ref banners
@@ -110,7 +110,7 @@ if (!SQL_HASZERONUMS($result)) {
        $content['refbanner_content'] = loadTemplate('member_list_reflinks', true, $OUT);
 } else {
        // No refbanner found
-       $content['refbanner_content'] = displayMessage('{--MEMBER_REFERAL_BANNER_404--}', true);
+       $content['refbanner_content'] = displayMessage('{--MEMBER_REFERRAL_BANNER_404--}', true);
 }
 
 // Free result