X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fpayout_functions.php;h=e8b2e853b55488d60f89502fbea2bab09feb5e5e;hb=f2b603aed42bfdf7a94611d7bae71fe3a1048890;hp=84357a9f77d19751c07683abd07a9a1cf30504bc;hpb=7b0f17cd637e388049d2167811e4332cec1e979b;p=mailer.git diff --git a/inc/libs/payout_functions.php b/inc/libs/payout_functions.php index 84357a9f77..e8b2e853b5 100644 --- a/inc/libs/payout_functions.php +++ b/inc/libs/payout_functions.php @@ -1,7 +1,7 @@ 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), __FUNCTION__, __LINE__); - if (SQL_NUMROWS($result) > 0) { - OUTPUT_HTML("
-
{--PAYOUT_NOW--}:

-
"); + // Load main template + loadTemplate('member_payout_list', TRUE, $OUT); } else { // No payout types setup so far - LOAD_TEMPLATE('admin_settings_saved', false, "
{--PAYOUT_NO_PAYOUT_TYPES--}{--PAYOUT_NO_POINTS_ENTERED--}