get pts ad

From CashCrusaderWiki

Revision as of 19:13, 26 October 2012 by Jutaky (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Use get_pts_ad() function to show paid to sign up advertisements. There is one required parameter for the adgroup and optional parameters for translating the output.

Required CashCrusader version: 2.00
Required CashCrusader version: 2.27 (with country targeting)

Example usage to show all PTS ads:

<?php echo get_pts_ad('%'); ?>

Example usage to show PTS ads from adgroup "freebies":

<?php echo get_pts_ad('freebies'); ?>

Complete example including translation:

'Sign-up for the site above to earn',
'Sorry, no sites are available for you to sign-up for at this time',
'point(s)', 'cent(s)', 1,
'Next Page','Previous Page',
'Paste your confirmation email message for the above site here',
Personal tools
Administration manual