<section class="product">
            <div class="container">
                <div class="row">
                    <div class="col-xl-3 col-lg-3">
                        <div class="product__sidebar">
                           
                            <div class="shop-category product__sidebar-single">
                                <h3 class="product__sidebar-title">Ürün kategorileri</h3>
                                <ul class="list-unstyled">
                                <?php foreach($urunkatcek as $urunkat){?>
                                    <li <?php if($urunkat["id"]==$id){?> class="active"<?php }?>><a href="<?=$urunkat["seo"]?>"><?=$urunkat["adi"]?></a></li>
                                <?php }?>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-xl-9 col-lg-9">
                        
                        <div class="product__all">
                            <div class="row">
                              <?php
							  $uruncek1 = $db->query("select * from urunler where kategori='$id'")->fetchAll(PDO::FETCH_ASSOC);
							   foreach($uruncek1 as $urun){?>
                                <div class="col-xl-4 col-lg-4 col-md-6">
                                    <div class="product__all-single">
                                        <div class="product__all-img">
                                            <img src="resimler/<?=$urun["resim"]?>" alt="<?=$urun["adi"]?>">
                                            <div class="product__all-btn-box">
                                                <a href="<?=$urun["seo"]?>" class="thm-btn product__all-btn">İnceleyin</a>
                                            </div>
                                        </div>
                                        <div class="product__all-content">
                                            <h4 class="product__all-title"><a href="<?=$urun["seo"]?>l"><?=$urun["adi"]?></a></h4>
                                            <p class="product__all-price"><?=$urun["fiyat"]?></p>
                                            <div class="product__all-review">
                                                <i class="fa fa-star"></i>
                                                <i class="fa fa-star"></i>
                                                <i class="fa fa-star"></i>
                                                <i class="fa fa-star"></i>
                                                <i class="fa fa-star"></i>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                   <?php }?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>