{* $Id$ *}
<table class="normal">
<tr><th colspan="3">{tr}Groups{/tr}</th></tr>
{cycle values="even,odd" print=false}
{foreach from=$stats item=stat}
	{if $stat.group ne 'Anonymous' and $stat.group ne 'Registered'}
		<tr class="{cycle}">
		<td>{$stat.nb}</td>
		<td>{$stat.group}</td>
		<td>
			{if $params.show_bar eq 'y'}
				{if !empty($stat.percent)}
					{quotabar length=$stat.percent}
				{/if}
			{else}
				%{$stat.percent|string_format:"%.2f"}
			{/if}
		</td>
		</tr>
	{/if}
{/foreach}
</table>

{* $Id$ *}
<table class="normal">
<tr>
<th>{tr}Group Name{/tr}</th>
<th>{tr}Number of Users{/tr}</th>
<th>{tr}Percentage of Total{/tr}</th>
</tr>
{cycle values="even,odd" print=false}
{foreach from=$stats item=stat}
	{if $stat.group ne 'Anonymous' and $stat.group ne 'Registered'}
		<tr class="{cycle}">
		<td>{$stat.group}</td>
		<td>{$stat.nb}</td>
		<td>
			{if $params.show_bar eq 'y'}
				{if !empty($stat.percent)}
					{quotabar length=$stat.percent}
				{/if}
			{else}
				%{$stat.percent|string_format:"%.2f"}
			{/if}
		</td>
		</tr>
	{/if}
{/foreach}
</table>

Improve headings and column order of table
[MOD] Improve headings and column order of table

git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@36835 b456876b-0849-0410-b77d-98878d47e9d5
