if ($vbulletin->userinfo['usergroupid'] == '6' ) { echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'> } else { echo "You do not have permission for this page"; }