2012-01-12, 11:07 PM
So all in all would the complete code be :
<if in_array($GLOBALS['mybb']->user['usergroup'], array(2)) then>
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead"><span class="smalltext"><strong>Error</strong></span></td>
</tr>
<tr>
<td class="trow1">
You need 10 posts to play games.
</table></if>
<if in_array($GLOBALS['mybb']->user['usergroup'], array(3,4,6,9)) then>
{$games_menu}
{$stats}
{$categories_bar}
{$tournaments_bar}
{$search_bar}
{$multipages}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="4" class="thead"><strong>{$lang->gamesection}</strong></td>
</tr>
<tr>
<td class="tcat" width="175" align="center"><strong>{$lang->name}</strong></td>
<td class="tcat" align="center"><strong>{$lang->description}</strong></td>
<td class="tcat" width="250" align="center"><strong>{$lang->menu}</strong></td>
<td class="tcat" width="200" align="center"><strong>{$lang->champion}</strong></td>
</tr>
{$games_bit}</if>