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

20 lines
382 B
Smarty
Raw Normal View History

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