<?php if(get_user_pricing_by_id($id,'blog')==1): ?>
	<?php if(count($posts) > 0): ?>
		<div class="section-banner mb-50" style="background: url(<?= get_user_layout_img($id,'blog')?>)">
			<div class="banner-wrapper text-center">
				<h1><?= get_features_name('blog');?></h1>
			</div>
		</div>
	<div class="section_wrapper">
		<div class="mi-blog container">
			<div class="row">
				<?php include(APPPATH.get_layouts($id,'blog')); ?>
			</div>
			<div class="text-center mt-30 mb-20">
				<a href="<?php echo base_url('all-post-'.$slug); ?>" class="btn btn-info mi-btn btn_style_<?= get_user_info_by_slug($slug)['btn_style'];?>"><?= !empty(lang('see_more'))?lang('see_more'):"See More"?></a>
			</div>
		</div>
	</div>
	<?php endif ?>
<?php endif ?>

