Hi,
If you want to search for paid links, you need the ExpiryDate as a condition:
Basically, if a link has 2147483647 as its expiry date - that means its free (so we want to look for LESS THAN 2147483647). Then, just to make sure its an active link you would need to check its > CORE::time() (the server time)
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
If you want to search for paid links, you need the ExpiryDate as a condition:
Code:
ExpiryDate < 2147483647 AND ExpiryDate > CORE::time()Basically, if a link has 2147483647 as its expiry date - that means its free (so we want to look for LESS THAN 2147483647). Then, just to make sure its an active link you would need to check its > CORE::time() (the server time)
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!