X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mailid_top.php;h=dda1814a29108bda32a5c04d11f5f4663cfc2c77;hb=4fe584c2e58ca2babe4141c1f4e8a595ec7a3ee9;hp=f51f2ce1fab411029d2fa08097e1a44cdc591827;hpb=f3e4c2c048761589836fdbe6bd2e46599a1833a7;p=mailer.git diff --git a/mailid_top.php b/mailid_top.php index f51f2ce1fa..dda1814a29 100644 --- a/mailid_top.php +++ b/mailid_top.php @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Bestaetigung von Mails * * -------------------------------------------------------------------- * - * $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!!!!!! * * -------------------------------------------------------------------- * @@ -74,11 +74,11 @@ if (isInstalled()) { if ($url_mid > 0) { $result = SQL_QUERY_ESC("SELECT id, link_type FROM `{!_MYSQL_PREFIX!}_user_links` WHERE stats_id=%s AND userid=%s LIMIT 1", array($url_mid, $url_uid), __FILE__, __LINE__); - $type = "mailid"; $DATA = $url_mid; + $type = "mailid"; $urlId = $url_mid; } elseif ($url_bid > 0) { $result = SQL_QUERY_ESC("SELECT id, link_type FROM `{!_MYSQL_PREFIX!}_user_links` WHERE bonus_id=%s AND userid=%s LIMIT 1", array($url_bid, $url_uid), __FILE__, __LINE__); - $type = "bonusid"; $DATA = $url_bid; + $type = "bonusid"; $urlId = $url_bid; } if (SQL_NUMROWS($result) == 1) { @@ -139,7 +139,7 @@ if (isInstalled()) { list($pay) = SQL_FETCHROW($result); $time = GET_PAY_POINTS($pay, "time"); $payment = GET_PAY_POINTS($pay, "payment"); - $VALID = true; + $isValid = true; } // END - if // Free memory... @@ -153,7 +153,7 @@ if (isInstalled()) { // Entry found? if (SQL_NUMROWS($result) == 1) { list($time, $payment) = SQL_FETCHROW($result); - $VALID = true; + $isValid = true; } // Free memory... @@ -162,12 +162,12 @@ if (isInstalled()) { } // Is this entry valid? - if ($VALID) { + if ($isValid) { if (($time == "0") && ($payment > 0)) $time = "1"; if (($time > 0) && ($payment > 0)) { if (!empty($code)) { // Generate code - $img_code = generateRandomCodde(getConfig('code_length'), $code, $url_uid, $DATA); + $img_code = generateRandomCodde(getConfig('code_length'), $code, $url_uid, $urlId); } // END - if switch ($mode) { @@ -253,14 +253,14 @@ if (isInstalled()) { // Shall I exclude the webmaster's own userid from the active-rallye? if ((((getConfig('bonus_uid') == $url_uid) && (getConfig('bonus_include_own') == "Y")) || (getConfig('bonus_uid') != $url_uid)) && (getConfig('def_refid') != $url_uid)) { // Add points and remember ranking are done in this function.... - BONUS_ADD_TURBO_POINTS($DATA, $url_uid, $type); + BONUS_ADD_TURBO_POINTS($urlId, $url_uid, $type); // Set template to mailid_points_done2 which contains a link to the ranking list $template = "mailid_points_done2"; if ($locked) $template = "mailid_points_locked2"; define('_UID_VALUE' , $url_uid); define('_TYPE_VALUE', $type); - define('_DATA_VALUE', TRANSLATE_COMMA($DATA)); + define('_DATA_VALUE', TRANSLATE_COMMA($urlId)); } // END - if } // END - if } // END - if @@ -297,11 +297,11 @@ if (isInstalled()) { define('_CODE_VALUE', $code); define('_UID_VALUE' , $url_uid ); define('_TYPE_VALUE', $type); - define('_DATA_VALUE', $DATA); + define('_DATA_VALUE', $urlId); define('_TEMPLATE_BANNER', LOAD_TEMPLATE("mailid_banner", true)); if (getConfig('code_length') > 0) { // Generate Code - define('_IMAGE_CODE', IMG_CODE($code, $type, $DATA, $url_uid)); + define('_IMAGE_CODE', IMG_CODE($code, $type, $urlId, $url_uid)); $templ = "mailid_enter_code"; } else { // Disabled code @@ -321,7 +321,7 @@ if (isInstalled()) { define('_TIM2_VALUE', strlen($time)); define('_UID_VALUE' , $url_uid ); define('_TYPE_VALUE', $type); - define('_DATA_VALUE', $DATA); + define('_DATA_VALUE', $urlId); define('_RAND_VALUE', mt_rand(0, 99999)); define('_TEMPLATE_BANNER', LOAD_TEMPLATE("mailid_banner", true));