X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=surfbar.php;h=adfa099fe0d94abc9b67ca2a536e15943c804c72;hp=01ddd7e57ac7de9a95560f288dfd63f636b26ce9;hb=fb7120ffa230b62b54895bcf95952e1cf30f8594;hpb=d8148e3f1f3a6762b2e786dbe99ada269dcf2ea0 diff --git a/surfbar.php b/surfbar.php index 01ddd7e57a..adfa099fe0 100644 --- a/surfbar.php +++ b/surfbar.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * 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 * @@ -50,7 +55,7 @@ $msg = null; require("inc/config.php"); // Is the script installed? -if (isBooleanConstantAndTrue('mxchange_installed')) { +if (isInstalled()) { // Only logged in users may use this surfbar! REDIRECT_ON_UNINSTALLED_EXTENSION("surfbar"); @@ -82,7 +87,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { 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 (isBooleanConstantAndTrue('mxchange_installed')) { } // Really all done here... ;-) +shutdown(); + +// ?>