lol, alright, let's get serious about this
So - we can assign variables for sure - that shouldn't be a problem - here is what we should be working with from what I can tell - and I'd like to put this into your auth.php file.
Code:
$membershiplevel=array_pop(func_query_first("select membership from $sql_tbl[customers] where login='$login'"));
$smarty->assign("membershiplevel",$membershiplevel);
Now, this really should do the trick I would think - may need some slight tweaking though so lemme know. You can pretty much stick this at the end of the file...
Then your if/then tag would look like:
Code:
{if $membershiplevel eq 'Premium'}Do it!{/if}
Cheers!