$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 />
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&what=payout&payout=".$id."\">".$type." (".PAYOUT_MAX." ".round($P)." ".$type.")</a></strong></li>");
+ OUTPUT_HTML("<li>{--PAYOUT_IN--}: <strong><a href=\"{!URL!}/modules.php?module=login&what=payout&payout=".$id."\">".$type." ({--PAYOUT_MAX--} ".round($P)." ".$type.")</a></strong></li>");
}
}