<?php include '_header.php'; ?>
<style>
.card-body {
/* -ms-flex: 1 1 auto;
flex: 1 1 auto; */
min-height: 1px;
display: grid;
padding: 0.25rem;
}
.stars{
color: #ffa500;
}
.container {
background: black;
}
body{
background-color: #0e0e0e !important;
}
</style>
<div class="container pt-5 position-relative " >
<div class="product-h1 p-3" style="min-height: 1154px;">
<h1 class="text-left mt-2 mb-0 ml-5" style="color: #dc960f;"></h1>
<header class="header-line position-relative d-flex mb-4" style="z-index: 1;">
<h3 class="pr-3" style="background: black; z-index: 10;">
<span class="text-responsive" style="color:#dc960f;">THAISOHO PRODUCT</span>
<div class="text-right" style="color: #dc960f; font-size: 16px;">Recommaned product</div>
</h3>
</header>
<div class="row justify-content-center m-0" style="">
<?php
$query_product = mysqli_query($dbc , "SELECT * FROM product_type order by created_at desc");
while ($result = mysqli_fetch_assoc($query_product)) { ?>
<div class="col-sm-12 mb-5 col-lg-4 text-center">
<a href="product_group.php?group=<?=$result['id']?>&name=<?=$result['name']?>"><img class=" mb-2" src="Admin/uploads/<?=$result['picture']?>?v=<?=time()?>" height="500" width="100%" ></a>
<h3 class="text-white"><?=$result['name']?></h3>
</div>
<?php } ?>
</div>
</div>
</div>
<?php include '_footer.php'; ?>
</body>
</html>