<?php 
	$span = 12/$cols; 
?>
<div class="box nobackground bloglatest">
	<h2 class="box-heading"><?php echo $heading_title; ?></h2>
	<?php if( trim($message) ) { ?>
		<p class="box-description"><?php echo $message;?></p>
	<?php } ?>
	<div class="box-content" >
		<?php if( !empty($blogs) ) { ?>
		<div class="pavblog-latest row">
			<?php foreach( $blogs as $key => $blog ) { $key = $key + 1;?>
			<div class="col-lg-<?php echo $span;?> col-md-<?php echo $span;?> col-sm-<?php echo $span;?> col-xs-12 pavblock">
				<div class="blog-item border">
					<div class="blog-body">
						<?php if( $blog['thumb']  )  { ?>
							<div class="image">
								<img src="<?php echo $blog['thumb'];?>" title="<?php echo $blog['title'];?>" alt="<?php echo $blog['title'];?>" class="img-responsive"/>
							</div>
						<?php } ?>
						<div class="group-blog">
							<div class="blog-title">
								<a href="<?php echo $blog['link'];?>" title="<?php echo $blog['title'];?>"><?php echo $blog['title'];?></a>
							</div>
							<div class="description"><?php $blog['description'] = strip_tags($blog['description']); ?>
								<?php echo utf8_substr( $blog['description'],0, 55)."...";?>
							</div>
						</div>
<!-- 						<a href="<?php echo $blog['link'];?>" class="readmore hover-effect button"><?php echo $objlang->get('text_readmore');?></a>	 -->						
					</div>
				</div>
			</div>
			<?php if( ( $key%$cols==0 || $key == count($blogs)) ){  ?>
				<div class="clearfix"></div>
			<?php } ?>
			<?php } ?>
		</div>
		<?php } ?>
	</div>
 </div>
