]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/payout_functions.php
Area 'modify' added to all extensions, some fixes for installing/modifying extension
[mailer.git] / inc / libs / payout_functions.php
index 4df56e3a20469b8eeb82fa5b78efcce4c6dcc472..9ab7329ec72f39bdf6b3bcce7ca92983758f03dd 100644 (file)
@@ -46,7 +46,7 @@ function PAYOUT_OUTPUT_PAYOUT_LIST ($points) {
                $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__);
+ORDER BY type", array($points), __FUNCTION__, __LINE__);
                if (SQL_NUMROWS($result) > 0) {
                        OUTPUT_HTML("<br /><div align=\"center\">
 <div align=\"center\"><strong>{--PAYOUT_NOW--}:</strong></div><br />
@@ -57,7 +57,7 @@ ORDER BY type", array($points), __FILE__, __LINE__);
                                if ($points >= $mpoi) {
                                        // Ok we found one
                                        $P = $points * $rate - 0.5;
-                                       OUTPUT_HTML("<li>{--PAYOUT_IN--}: <strong><a href=\"{!URL!}/modules.php?module=login&amp;what=payout&amp;payout=".$id."\">".$type." (".PAYOUT_MAX." ".round($P)." ".$type.")</a></strong></li>");
+                                       OUTPUT_HTML("<li>{--PAYOUT_IN--}: <strong><a href=\"{!URL!}/modules.php?module=login&amp;what=payout&amp;payout=".$id."\">".$type." ({--PAYOUT_MAX--} ".round($P)." ".$type.")</a></strong></li>");
                                }
                        }