This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/affiliate/affiliate.tpl
2011-05-03 09:49:01 +10:00

17 lines
384 B
Smarty

{if $SESS_LOGGED == '1'}
{$method->exe('affiliate','user_view')}
<!-- signup for an affiliate account -->
{if ($affiliate_user_view == false)}
{$block->display('affiliate:user_add')}
<!-- display the affiliate account -->
{else}
{$block->display('affiliate:user_view')}
{/if}
{else}
<!-- login/register for an account -->
{$block->display('account:user_login')}
{/if}