{if $page_display eq "tpl_signin" or $page_display eq "tpl_signup" or $page_display eq "tpl_recovery" or $page_display eq "tpl_payment"} {if $paid_memberships eq "1" and ($page_display eq "tpl_payment" or $page_display eq "tpl_signup")}{/if} {if $page_display eq "tpl_signup"}{if ($fb_auth eq "1" and $smarty.session.fb_user['id'] gt 0) or ($gp_auth eq "1" and $smarty.session.gp_user['id'] gt 0)}{/if}{/if} {/if}