`t`.`type`,
`p`.`payout_timestamp`,
`p`.`status`,
- `t`.`allow_url` AS `allow`,
- `p`.`target_url` AS `url`,
- `p`.`link_text` AS `alt`,
- `p`.`banner_url` AS `banner`
+ `t`.`allow_url`
+ `p`.`target_url`,
+ `p`.`link_text`
+ `p`.`banner_url`
FROM
`{?_MYSQL_PREFIX?}_user_payouts` AS `p`
LEFT JOIN
}
// Nothing entered must be secured in member/what-payputs.php !
- if ($content['allow'] == 'Y') {
+ if ($content['allow_url'] == 'Y') {
// Banner/Textlink views/clicks request
- if (!empty($content['banner'])) {
+ if (!empty($content['banner_url'])) {
// Load template for the banner
$content['target_account'] = loadTemplate('admin_list_payouts_banner', TRUE, $content);
} else {
}
// Admins can addionally test the URL for framekillers
- $content['target_bank'] = '<a href="' . generateFrametesterUrl($content['url']) . '" target="_blank">{--CLICK_HERE--}</a>';
+ $content['target_bank'] = '<a href="' . generateFrametesterUrl($content['target_url']) . '" target="_blank">{--CLICK_HERE--}</a>';
} // END - if
// Add/Translate some data