Output An Affiliate's Last Paid Date

From TMMwiki
Jump to: navigation, search
NATS 3
Skins & Templates Admin
Smarty Plugins
Skins
Editing Skins
Creating Skins
Switching Skins
Templates
nats_code
Affiliate Stats Template
Affiliate Support Template
Affiliate Login Template
custom errors.php
Template Array Variable
Detailed Stats
NATS Variables
Dialer Statistics
Affiliate Signup
Post URL Variables
Member Usernames & Passwords
Output An Affiliate's Last Paid Date
Custom Program and Campaign Selection Pages
CAPTCHA Removal
Username Recommendations
Password Retrieval
Post-Biller Templates
Geo-Target Join Options
Template Caching
Random Usernames and Passwords
Base Templates
Protecting Template Data
Mail Reseller Signup Template Variable Names
Smarty
Smarty print array
News Section Templating
Affiliate Signup Email
Getting The NATSCode
Checking for Usernames on All Sites
Adding Stats to Affiliate Pages
Affiliate Join Page Linkcodes

The template function get_paid_date (NATS3) prints the last date an affiliate was paid.

By default, get_paid_date assigns the date to the variable $paid_date. You can alternatively assign the date to any valid Smarty variable by passing the name of the variable to the parameter $var. For Example: {get_paid_date var="paid"}

To print out the results directly, specify "print=1". For Example: {get_paid_date print=1}