X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=0.2.1%2Finc%2Flibs%2Fpayout_functions.php;h=bc6036e6cfa261fda4576808f6016d42bcca83e5;hp=f6eeb82190477c8000cc85fb273e0ff78cc0b99d;hb=50646cc7b05cf5ff93e9b1e36ab03047cc0cd6bf;hpb=2408c1599f73859fe4a2938e87bc080b9dcb9cca diff --git a/0.2.1/inc/libs/payout_functions.php b/0.2.1/inc/libs/payout_functions.php index f6eeb82190..bc6036e6cf 100644 --- a/0.2.1/inc/libs/payout_functions.php +++ b/0.2.1/inc/libs/payout_functions.php @@ -1,86 +1,86 @@ - 0) - { - // Pay this out! - $result = SQL_QUERY_ESC("SELECT id, type, rate, min_points -FROM "._MYSQL_PREFIX."_payout_types -WHERE %s >= min_points -ORDER BY type", array($POINTS), __FILE__, __LINE__); - if (SQL_NUMROWS($result) > 0) - { - OUTPUT_HTML ("
-
".PAYOUT_NOW.":

-
"); - } - else - { - // No payout types setup so far - OUTPUT_HTML ("

".PAYOUT_NO_PAYOUT_TYPES."

"); - } - } - else - { - // Points is empty - OUTPUT_HTML ("

".PAYOUT_NO_POINTS_ENTERED."

"); - } -} -// -?> + 0) + { + // Pay this out! + $result = SQL_QUERY_ESC("SELECT id, type, rate, min_points +FROM "._MYSQL_PREFIX."_payout_types +WHERE %s >= min_points +ORDER BY type", array($POINTS), __FILE__, __LINE__); + if (SQL_NUMROWS($result) > 0) + { + OUTPUT_HTML ("
+
".PAYOUT_NOW.":

+
"); + } + else + { + // No payout types setup so far + OUTPUT_HTML ("

".PAYOUT_NO_PAYOUT_TYPES."

"); + } + } + else + { + // Points is empty + OUTPUT_HTML ("

".PAYOUT_NO_POINTS_ENTERED."

"); + } +} +// +?>