]> git.mxchange.org Git - mailer.git/blobdiff - surfbar.php
Rewritten all THEME_FOO variables to GLOBALS
[mailer.git] / surfbar.php
index 4441627df8ef49d60f4b9fbc43dccd00f0133f48..adfa099fe0d94abc9b67ca2a536e15943c804c72 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Die Surfbar selbst                               *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: stelzi                                                   $ *
+ * $Author::                                                          $ *
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
@@ -87,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(
@@ -204,4 +204,7 @@ if (isInstalled()) {
 }
 
 // Really all done here... ;-)
+shutdown();
+
+//
 ?>