<h1>{{$lang.Users_groups}}</h1>
<a href="?p=users-groupForm" class="new_element">{{$lang.New_client_group}}</a>
{{if count( $aUserGroups ) > 0}}
	<table class="list">
		<thead>
			<tr>
				<th class="id">{{$lang.Id}}</th><th class="name">{{$lang.Name}}</th><th class="actions">{{$lang.Actions}}</th>
			</tr>
		</thead>
		<tbody>
			{{foreach from=$aUserGroups item=aGroup}}
				<tr>
					<td class="id">{{$aGroup.iGroup}}</td>
					<td class="name"><a href="?p=users-groupForm&amp;iGroup={{$aGroup.iGroup}}">{{$aGroup.sName}}</a></td>
					<td class="actions">
						<a href="?p=users-groupForm&amp;iGroup={{$aGroup.iGroup}}"><img src="{{$config.dir_templates}}admin/images/ico/edit.png" alt="{{$lang.Edit}}" title="{{$lang.Edit}}" /></a>
						<a href="?p=users-groupDelete&amp;iGroup={{$aGroup.iGroup}}" class="delete" onclick="return del( );"><img src="{{$config.dir_templates}}admin/images/ico/delete.png" alt="{{$lang.Delete}}" title="{{$lang.Delete}}" /></a>
					</td>
				</tr>
			{{/foreach}}
		</tbody>
	</table>
{{else}}
	<div class="msg" id="error">
		<img src="{{$config.dir_templates}}admin/images/ico/msg_error.png" class="imgv" alt="" /> {{$lang.Data_not_found}}
	</div>
{{/if}}