<?php
$doitac = result_array("select * from #_photo where hienthi=1 and type='doi-tac' order by stt,id desc");
?>
<div class="container">
	<div class="row">
		<?php foreach($doitac as $item){ ?>
		<div class="col-md-3  col-sm-4 col-6">
			<div class="card mb-3">
				<a href="<?=$item["link"]?>" alt="<?=$item["link"]?>">
					<img src="thumb/1-320-270/upload/hinhanh/<?=$item["photo_vi"]?>" class="card-img" alt="<?=$item["photo"]?>" onerror='this.src="img/320x270/"'>
					</a>
			</div>
		</div>
		<?php } ?>
	</div>
</div>