<div class="col-md-3 col-sm-4 col-xs-6" id="{id}">
	<div class="block">
		<div class="block_head">
			<a title="Группа: {gp_name}" href="../profile?id={id}" style="color: {gp_color}">{login}</a>
		</div> 
		<a class="c-fff" href="../profile?id={id}">
			<img class="img-thumbnail w100" alt="{login}" src="../{avatar}"></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>
</div>