
<div class="home_blog_post_area {$hookName}">
	<div class="home_blog_post">
		<div class="page_title_area">
			{if isset($chsel_title)}
				<h3 class="page-heading">
					<em>{$chsel_title}</em>
					<span class="heading_carousel_arrow"></span>
				</h3>
			{/if}
			{if isset($chsel_desc)}
				<p class="page_subtitle">{$chsel_desc}</p>
			{/if}
			<div class="heading-line d_none"><span></span></div>
		</div>

		<div class="row home_blog_post_inner carousel">
		{if (isset($chselposts) && !empty($chselposts))}
			{foreach from=$chselposts item=chselpost}
				<article class="blog_post col-xs-12 col-sm-4">
					<div class="blog_post_content">
						<div class="blog_post_content_top">
							<div class="post_thumbnail">
								
									<img class="xipblog_img img-responsive" src="{$chselpost.post_img_default}" alt="{$chselpost.post_title}">
									<div class="blog_mask">
										<div class="blog_mask_content">
											<a class="thumbnail_lightbox" href="{$chselpost.post_img_default}">
												<i class="icon_plus"></i>
											</a>
										</div>
									</div>
							
							</div>
						</div>

						<div class="blog_post_content_bottom">
							<h3 class="post_title"><a href="{$chselpost.link}">{$chselpost.post_title}</a></h3>
							<div class="post_meta clearfix">
								<p class="meta_author">
									{* <i class="icon-user"></i> *}
									{l s='Posted by' mod='xipblog'}
									<span>{$chselpost.post_author_arr.firstname} {$chselpost.post_author_arr.lastname}</span>
								</p>
								<p class="meta_date">
									{* <i class="icon-calendar"></i> *}
									{$chselpost.post_date|date_format:"%b %d, %Y"}
								</p>

							</div>
							
							<div class="post_content">
								{if isset($chselpost.post_excerpt) && !empty($chselpost.post_excerpt)}
									<p>{$chselpost.post_excerpt|truncate:100:' ...'|escape:'html':'UTF-8'}</p>
								{else}
									<p>{$chselpost.post_content|truncate:100:' ...'|escape:'html':'UTF-8'}</p>
								{/if}
							</div>
							<div class="content_more">
								<a class="read_more" href="{$chselpost.link}">{l s='Continue' mod='xipblog'}</a>
							</div>
						</div>
						
					</div>
				</article>
			{/foreach}
		{else}
			<p>{l s='No Blog Post Found' mod='xipblog'}</p>
		{/if}
		</div>


	</div>
</div>