Here's the code to us:
In auth.php before ?>
Code:
$userinfo = func_query_first("SELECT login,firstname,lastname,membership FROM $sql_tbl[customers] WHERE login='$login'");
$smarty->assign("userinfo", $userinfo);
Code in your templates:
Code:
{if $userinfo.membership eq "Wholesale"} Show Text{/if}