X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=doubler.php;h=8f147a4996a82b33284f4c6b1962c4c30e8e12ed;hb=5a037072da9ffa803deffabc4c8b2bafe7479f7d;hp=9eb0c4e9180ef6962a441aa04ff6c966022ac543;hpb=d8148e3f1f3a6762b2e786dbe99ada269dcf2ea0;p=mailer.git diff --git a/doubler.php b/doubler.php index 9eb0c4e918..8f147a4996 100644 --- a/doubler.php +++ b/doubler.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Punkteverdoppler * * -------------------------------------------------------------------- * - * * + * $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 * @@ -51,9 +56,9 @@ require("inc/config.php"); REDIRECT_ON_UNINSTALLED_EXTENSION("doubler"); // Is the script installed? -if (isBooleanConstantAndTrue('mxchange_installed')) { +if (isInstalled()) { // Probe for referal ID - if (REQUEST_ISSET_GET(('refid'))) $GLOBALS['refid'] = SQL_ESCAPE(REQUEST_GET('refid')); + if (REQUEST_ISSET_GET(('refid'))) $GLOBALS['refid'] = REQUEST_GET(('refid')); // Only check this if refid is provided! if ($GLOBALS['refid'] > 0) { @@ -123,7 +128,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { // Check all together if ((!empty($uid)) && ($password == generateHash(REQUEST_POST('pass'), substr($password, 0, -40))) && ($status == "CONFIRMED") && ($probe_points)) { // Nickname resolved to a unique userid or direct userid entered by the member - $DOUBLER_UID = $uid; + $GLOBALS['doubler_uid'] = $uid; // Calulcate points $points = GET_TOTAL_DATA($uid, "user_points", "points") - GET_TOTAL_DATA($uid, "user_data", "used_points"); @@ -274,4 +279,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { } // Really all done here... ;-) +shutdown(); + +// ?>