Jak ukryć zawartość tabeli? robię to w następujący sposób i przy zapisywaniu szablonu dostaje komunikat z errorem.
<if condition="($bbuserinfo[usergroupid]!=15">(tabelka)</if>
cały kod tabeli:
Kod php:
<if condition="($bbuserinfo[usergroupid]!=15">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="thead" colspan="2"><span style="float:right;"><font size="1">
<a href="faq.php?faq=regulamin#faq_active">Exclusive Member information...?</a></font> <img style="display:none;" /></td>
</tr>
<tr>
<td bgcolor="#EFF0F4" width="2%"><img src="http://www.fotonogi.pl/forum/images/chestnut/misc/tip.gif" alt="" /></td>
<td class="alt2" width="98%" id="tiptext"><center><if condition="$show['guest']">$vbphrase[exclusive_all] $bbuserinfo[username]$vbphrase[exclusive_guest]</if>
<if condition="$show['member']">$vbphrase[exclusive_all] $bbuserinfo[username]$vbphrase[exclusive_member]</if> <img src="http://www.vbulletin-ressources.com/forum/images/smilies/wink2.gif" border="0" alt="" /></center></td>
</tr>
</table>
</if>