<?php
$_p_w = 280;
$_p_h = 326;
$_com = $item["type"];
if(empty($_com)){
	$_com = $com;
}
?>
<div class="product_item hover itemhover">
	<div class="image hieuung">
		<a href="<?=$item["tenkhongdau"]?>" class="d-block overflow-hidden">
			<img src="thumb/1-<?=$_p_w?>-<?=$_p_h?>/upload/product/<?=$item["photo"]?>" class="card-img-top w-100" alt="<?=$item["tenkhongdau"]?>" onerror="this.src='img/<?=$_p_w?>x<?=$_p_h?>/'">
		</a>
	</div>
	<div class="detail ">
		<h3><a href="<?=$item["tenkhongdau"]?>" class="h3a"><?=$item["ten_$lang"]?></a></h3>
		<?php if(!empty($item["masp"])){ ?>
			<div class="masp d-none">MSSP:<?=$item["masp"]?></div>
		<?php } ?>
		<div class="addons">
			<div class="giaban">Giá: <span><?=price($item["giaban"])?></span></div>
			<?php if($item["giacu"] > 0){ ?>
				<div class="giacu"><span><?=price($item["giacu"])?></span></div>
			<?php } ?>
		</div>
		
	</div>
	
	<?php /*<div class="btn-muangay btn-giohang add_cart " data-product="<?=return_uid($item["id"])?>"><span>Mua Ngay</span></div>
	<?php if($item['noibat1']!=0) echo '<span class="pnew"></span>';?> */?>

</div>