	<div class="r_block" id="chat_body">
		<div class="r_block_head">
			<span class="glyphicon glyphicon-user"></span> Пользователи
		</div> 
		<div class="r_block_c">
			<div id="pagination1"><center>{pagination}</center></div>
			<div id="users" class="ov-h">
				{func GetData:users("{start}", "{group}", "{limit}")}
			</div>
			<div id="pagination2"><center>{pagination}</center></div>
		</div>
	</div>
</div>
<div class="right_block">
	<div class="l_block">
		<div class="l_block_head">
			Найти пользователя
		</div>
		<div class="l_block_c">
			<div class="input-group">
				<span class="input-group-btn">
					<button onclick="search_login({start})" class="btn btn-default" type="button">Найти</button>
				</span>
				<script>
					function group_change() {
						var group = $('#groups').val();
						location.href = 'users?group='+group+'&page=1';
					}
				</script>
				<input type="text" class="form-control" id="search_login" placeholder="Поиск - введите логин пользователя">
				<script> set_enter('#search_login', 'search_login({start})'); </script>
			</div>
			<span class="input-group-btn mt--1">
				<select id="groups" class="form-control" onchange="group_change();">
					{groups}
				</select>
			</span>
		</div>
	</div>
	{include file="/home/right_col.tpl"}
</div>