<div class="block mini_user" id="{id}">
	<a title="Группа: {gp_name}" class="btn2 btn-cancel w-100" href="../profile?id={id}" style="color: {gp_color}; text-align: left;">
		<b>{login}</b>
	</a>
	<a href="../profile?id={id}">
		<img class="img-thumbnail w100" alt="{login}" src="../{avatar}?v={cache}"></img>
	</a>
	<ul class="navigation2">
		<li>
			<a class="c-fff" href="../profile?id={id}">
				<span class="glyphicon glyphicon-share-alt"></span>
				Перейти
			</a>
		</li>
		{if('{type}' == '2')}
		<li onclick="cancel_friend('{id}'),dell_block('{id}')">
			<a class="c-fff">
				<span class="glyphicon glyphicon-remove"></span> Отменить заявку
			</a>
		</li>
		{/if}
		{if('{type}' == '3')}
		<li onclick="take_friend('{id}'),dell_block('{id}'),load_col_infriends()">
			<a class="c-fff">
				<span class="glyphicon glyphicon-ok"></span> Принять
			</a>
		</li>
		<li onclick="reject_friend('{id}'),dell_block('{id}'),load_col_infriends()">
			<a class="c-fff">
				<span class="glyphicon glyphicon-remove"></span> Отклонить
			</a>
		</li>
		{/if}
	</ul>
</div>