<?php
$_result_items = $tintuc;
if(!empty($result_product)){
	$_result_items = $result_product;
}
?>
<div class="container">
	<div class="header-title">
		<h2 class="h2-title"><span><?=$title_detail?></span></h2>
	</div>
	<div class="row">
		<?php foreach($_result_items as $item){?>
			<div class="col-sm-6 col-xs-12">
				<div class="card_news">
						<div class="image">
							<a href="<?=$item["tenkhongdau"]?>">
								<img src="thumb/1-180-150/upload/baiviet/<?=$item["photo"]?>" class="card-img img-fluid" alt="<?=$item["photo"]?>" onerror='this.src="img/180x150/"'>
							</a>
						</div>
						<div class="content">
							<a href="<?=$item["tenkhongdau"]?>" class="h3-title">
								<?=$item["ten_$lang"]?>
							</a>
							<p class="card-text"><?=catchuoi($item["mota_$lang"],150)?></p>
						</div>
				</div>
			</div>
		<?php } ?>
	</div>
	<div class="clearfix"></div>
	<div class="paging d-flex justify-content-center w-100"><?=$paging?></div>
	<?php if(empty($_result_items)) echo _no_post;?>
</div>