]> git.mxchange.org Git - mailer.git/blobdiff - surfbar.php
Rewritten all THEME_FOO variables to GLOBALS
[mailer.git] / surfbar.php
index 3e10594f6744bac813a03fd4baeff59f6f8716ab..adfa099fe0d94abc9b67ca2a536e15943c804c72 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Die Surfbar selbst                               *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $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                  *
@@ -82,7 +87,7 @@ if (isInstalled()) {
                        REQUEST_UNSET_GET(('frame'));
                } elseif ((REQUEST_ISSET_GET(('frame'))) && (REQUEST_GET('frame') == "stats")) {
                        // Get total points amount
-                       $points = GET_TOTAL_DATA($GLOBALS['userid'], "user_points", "points") - GET_TOTAL_DATA($GLOBALS['userid'], "user_data", "used_points");
+                       $points = GET_TOTAL_DATA(getUserId(), "user_points", "points") - GET_TOTAL_DATA(getUserId(), "user_data", "used_points");
 
                        // Prepare content
                        $content = array(
@@ -199,4 +204,7 @@ if (isInstalled()) {
 }
 
 // Really all done here... ;-)
+shutdown();
+
+//
 ?>