]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-active.php
A lot variables renamed from all upper-case to hungarian notation
[mailer.git] / inc / modules / guest / what-active.php
index 2a6845808d880dd7eadf53f8dd00bdab720e5923..ec3a4601a6116130690439d8904576f27606a1d2 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Liste heutiger aktiver Mitglieder                *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -36,7 +41,7 @@ if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 } elseif ((!EXT_IS_ACTIVE("active")) && (!IS_ADMIN())) {
-       addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "active");
+       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "active");
        return;
 }
 
@@ -52,7 +57,7 @@ if (EXT_IS_ACTIVE("nickname")) $ADD = "nickname";
 // Check for members who were active only this day
 $result = SQL_QUERY_ESC("SELECT userid, ".$ADD.", last_online
 FROM `{!_MYSQL_PREFIX!}_user_data`
-WHERE last_online >= %s AND status='CONFIRMED'
+WHERE last_online >= %s AND `status`='CONFIRMED'
 ORDER BY last_online DESC LIMIT %s",
        array(START_TDAY, getConfig('active_limit')), __FILE__, __LINE__);