]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rallye_functions.php
New-line added
[mailer.git] / inc / libs / rallye_functions.php
index 1630c50e22b6443d185b75264bc970c5f60a8a51..cd86573a4c55f3f8630d33fcc4d8412b995103af 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 08/22/2004 *
- * ===============                              Last change: 08/24/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 08/22/2004 *
+ * ===================                          Last change: 08/24/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : rallye_functions.php                             *
@@ -244,9 +244,9 @@ WHERE
        d.`status`='CONFIRMED' AND
        p.ref_depth=1 AND
        d.max_mails > 0 AND
-       d.mails_confirmed >= %s
+       d.mails_confirmed >= {?ref_payout?}
 LIMIT 1",
-                       array(bigintval($content['userid']), getConfig('ref_payout')), __FUNCTION__, __LINE__);
+                       array(bigintval($content['userid'])), __FUNCTION__, __LINE__);
 
                // Get points
                list($refpoints) = SQL_FETCHROW($result_ref);
@@ -285,13 +285,13 @@ LIMIT 1",
                if (empty($DATA['ref'][$idx])) $DATA['ref'][$idx] = '---';
                // Add row
                $OUT .= "<tr>
-  <td class=\"switch_sw".$SW." bottom2\">&nbsp;&nbsp;".($idx+1).".</td>
-  <td align=\"center\" class=\"switch_sw".$SW." bottom2\">";
+  <td class=\"switch_sw".$SW." bottom\">&nbsp;&nbsp;".($idx+1).".</td>
+  <td align=\"center\" class=\"switch_sw".$SW." bottom\">";
                if (($DATA['userid'][$idx] == $default) && ($default > 0)) $OUT .= "<strong>";
                $OUT .= $DATA['userid'][$idx];
                if (($DATA['userid'][$idx] == $default) && ($default > 0)) $OUT .= "</strong>";
                $OUT .= "</td>
-  <td align=\"center\" class=\"switch_sw".$SW." bottom2\">";
+  <td align=\"center\" class=\"switch_sw".$SW." bottom\">";
                if (($DATA['userid'][$idx] == $default) && ($default > 0)) $OUT .= "<strong>";
                $OUT .= $DATA['ref'][$idx];
                if (($DATA['userid'][$idx] == $default) && ($default > 0)) $OUT .= "</strong>";
@@ -685,18 +685,18 @@ function addReferalRallyeWinners ($rallye, $default=0) {
                // Add row
                $add = '';
                $OUT .= "<tr>
-  <td class=\"switch_sw".$SW." bottom2".$add."\">&nbsp;&nbsp;".($idx+1).".</td>
-  <td align=\"center\" class=\"switch_sw".$SW." bottom2".$add."\">";
+  <td class=\"switch_sw".$SW." bottom".$add."\">&nbsp;&nbsp;".($idx+1).".</td>
+  <td align=\"center\" class=\"switch_sw".$SW." bottom".$add."\">";
                if (($DATA['userid'][$idx] == $default) && ($default > 0)) $OUT .= "<strong>";
                $OUT .= $DATA['userid'][$idx];
                if (($DATA['userid'][$idx] == $default) && ($default > 0)) $OUT .= "</strong>";
                $OUT .= "</td>
-  <td align=\"center\" class=\"switch_sw".$SW." bottom2".$add."\">";
+  <td align=\"center\" class=\"switch_sw".$SW." bottom".$add."\">";
                if (($DATA['userid'][$idx] == $default) && ($default > 0)) $OUT .= "<strong>";
                $OUT .= $DATA['ref'][$idx];
                if (($DATA['userid'][$idx] == $default) && ($default > 0)) $OUT .= "</strong>";
                $OUT .= "</td>
-  <td align=\"center\" class=\"switch_sw".$SW." bottom2".$add."\">";
+  <td align=\"center\" class=\"switch_sw".$SW." bottom".$add."\">";
                if (($DATA['userid'][$idx] == $default) && ($default > 0)) $OUT .= "<strong>";
                $OUT .= $DATA['infos'][$idx];
                if (($DATA['userid'][$idx] == $default) && ($default > 0)) $OUT .= "</strong>";