<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?
if(count($arResult["POSTS"]) < 1){
	?>
	<div class="alert alert-block">
		<?echo GetMessage("SONET_BLOG_EMPTY");?>
	</div>
	<?
	return true;
}
?><div class="media-group"><?
foreach($arResult["POSTS"] as $arPost)
{
	?>
	<div class="media">
		<div class="media-body">
			<h4 class="media-heading"><a href="<?=$arPost["urlToPost"]?>"><?echo $arPost["TITLE"]; ?></a></h4>
			<p class="date"><?=$arPost["DATE_PUBLISH_FORMATED"]?></p>
			<?=$arPost["TEXT_FORMATED"]?>
		</div>
	</div>
	<?
}
?></div>
<?if(strlen($arResult["NAV_STRING"])>0):?>
<?echo $arResult["NAV_STRING"];?>
<?endif?>