- // Ok we found one
- $P = translateComma($points * $content['rate'] - 0.5);
- outputHtml("<li>{--PAYOUT_IN--}: <strong><a href=\"{?URL?}/modules.php?module=login&what=payout&payout=".$content['id']."\">".$content['type']." ({--PAYOUT_MAX--} ".$P." ".$content['type'].")</a></strong></li>");
+ // Prepare content for template
+ $content['points'] = translateComma($points * $content['rate'] - 0.5);
+
+ // Load row template
+ $OUT .= loadTemplate('member_payout_li', true, $content);