bu kod xidmetleri  html daki qurlus pozulmadan baqlamqdir
<?php
$cek = $db->query("SELECT * FROM xidmetler WHERE veziyyeti='0' AND lan='{$dilsec["id"]}' ORDER BY sira ASC")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>

<?php
$cek = $db->query("select * from xidmetler where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>

<?= $goster["adi"] ?>
<?= $goster["seo"] ?>
imgupload/<?= $goster["resim"] ?>

<?php } ?>
---------------------------------------------------------

bu kod ise xidmetleri bir xidmet secirik ve diger datadaki xidmetleri getirir


<?php
$cek = $db->query("SELECT * FROM xidmetler WHERE veziyyeti='0' AND lan='{$dilsec["id"]}' ORDER BY sira ASC")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>

<?= $lan['xidmet-basliq'] ?>
<?= $lan['xidmet-basliq-1'] ?>

    <?= $goster["adi"] ?>
    <?= $goster["seo"] ?>
    <?= $goster["onaciklama"] ?>
    imgupload/<?= $goster["resim"] ?>
    imgupload/<?= $goster["icon"] ?>

<?php } ?>



-----------------------------------Layiheler------------

<?php
$cek = $db->query("select * from layiheler where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>

    <?= $goster["adi"] ?>
    <?= $goster["seo"] ?>
    <?= $goster["aciklama"] ?>
    <?= $goster["onaciklama"] ?>
    imgupload/<?= $goster["resim"] ?>
    <?= $goster["linki"] ?>

<?php } ?>


-----------------------------------haqqimizda------------


    <?= $lan['haqqimizda-adi'] ?>
    <?= nl2br($lan['haqqimizda-altmetin']) ?>
    <?= nl2br($lan["haqqimizda-aciqlama"]) ?>
    <?= $lan['slider-buton2'] ?>
    imgupload/<?= $haqqimizda["resim"] ?>
    imgupload/<?= $haqqimizda["resim2"] ?>




-----------------------------------Komanda------------

<?php
$cek = $db->query("select * from komandamiz where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>

    <?= $goster["adi"] ?>
    <?= $goster["seo"] ?>
    <?= $goster["aciklama"] ?>
    <?= $goster["onaciklama"] ?>            vezife
    imgupload/<?= $goster["resim"] ?>
    

<?php } ?>



-----------------------------------Sertifikatlar------------

<?php
$cek = $db->query("select * from sertifikatlar where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>

    <?= $goster["adi"] ?>
    <?= $goster["seo"] ?>
    <?= $goster["aciklama"] ?>
    <?= $goster["onaciklama"] ?>
    imgupload/<?= $goster["resim"] ?>
    <?= $goster["linki"] ?>

<?php } ?>

-----------------------------------Paketler------------

<?php
$cek = $db->query("select * from paketler where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>

    <?=$goster["fiyat"]?><?php if($goster["kur"]==0){ echo '₼'; } else if($goster["kur"]==1){ echo'$';} else { echo"€";}?>
    <?= $goster["adi"] ?>
    <?= $goster["seo"] ?>
    <?= $goster["onaciklama"] ?>
    <?= $goster["aciklama"] ?>
    imgupload/<?= $goster["resim"] ?>
    <?= $goster["linki"] ?>

<?php } ?>



--------------------------------Xeberler----------------

<?php
$cek = $db->query("select * from xeberler where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>
    
    <?= $goster["adi"] ?>
    <?= $goster["seo"] ?>
    <?= $goster["onaciklama"] ?>
    <?= $goster["eklenme_tarihi"] ?>
    imgupload/<?= $goster["resim"] ?>
    <?= $lan['xeberler-link'] ?>

<?php } ?>

----------------------------Mehsullar--------------

<?php
$cek = $db->query("select * from mehsullar where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>

    <?=$goster["fiyat"]?><?php if($goster["kur"]==0){ echo '₼'; } else if($goster["kur"]==1){ echo'$';} else { echo"€";}?>
    <?= $goster["adi"] ?>
    <?= $goster["seo"] ?>
    <?= $goster["onaciklama"] ?>
    imgupload/<?= $goster["resim"] ?>

<?php } ?>



mehsulun ancaq kateqoriyasini cekme kodu

<div class="shop-product-wrapper">
            <div class="row">
                <?php
                    $cek=$db->query("select * from mehsul_kateqoriya where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                    foreach($cek as $goster){
                ?>
                <div class="col-lg-3 col-sm-6">
                    <!-- Single Product Start -->
                    <div class="single-product-02">
                        <a href="<?= $goster["seo"] ?>"><img src="imgupload/<?= $goster["resim"] ?>" width="270" height="303" alt="product" /></a>
                        <div class="product-content">
                            <h4 class="title">
                                <a href="<?= $goster["seo"] ?>"><?= $goster["adi"] ?></a>
                            </h4>
                            
                        </div>
                    </div>
                    <!-- Single Product End -->
                </div>
                <?php }?>
            </div>
        </div>


------------------------statistika-------------------

<?php
$cek = $db->query("select * from istatik where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach($cek as $goster){
  ?>

  <?=$goster["adi"]?>
  <?=$goster["sira"]?>
  imgupload/<?= $goster["resim"] ?>

<?php } ?>

<?php foreach($istatikcek as $istatik){?>

<?=$istatik["aciklama"]?>
<?=$istatik["adi"]?>
<?=$istatik["onaciklama"]?>
imgupload/<?=$istatik["resim"]?>

<?php } ?>

--------------------reyler-------------

<?php
$cek = $db->query("select * from reyler where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>
    <?= $goster["adi"] ?>
    <?= $goster["seo"] ?>
    <?= $goster["onaciklama"] ?> vezife
    <?= $goster["aciklama"] ?>
    imgupload/<?= $goster["resim"] ?>

<?php } ?>

    basqa bir rey cekme kodu

 <?php foreach($yorumcek as $yorum){?>

<?=$yorum["aciklama"]?>
<?=$yorum["adi"]?>
<?=$yorum["onaciklama"]?>
imgupload/<?=$yorum["resim"]?>

<?php } ?>


----------------------Slayder--------------

<?php
$cek = $db->query("select * from slider where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
?>

    <?= $goster["adi"] ?>
    <?= $goster["aciklama"] ?>
    imgupload/<?= $goster["resim"] ?>
    <?= $lan['slider-buton'] ?>
    <?= $goster["linki"] ?>

<?php } ?>




-------------------------referanslar--------------

<?php
$cek = $db->query("select * from referanslar where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach($cek as $goster){
?>

imgupload/<?= $goster["resim"] ?>

<?php } ?>


------------------------------------------------------Xidmetler duzulus kodu dizaynli sekilde olan

---------------Bu kodda en soncu xidmet adini 4 zidmetdede eyni sekilde yazirdi gordunudrdu----- (cicekbulaq.az daki koddur)



<?php
$cek = $db->query("select * from xidmetler where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
?>

    <?= $goster["adi"] ?>
    <?= $goster["aciklama"] ?>
    <?= $goster["onaciklama"] ?>
    imgupload/<?= $goster["resim"] ?>
    imgupload/<?= $goster["icon"] ?>
    <?= $lan['slider-buton'] ?>
    <?= $goster["linki"] ?>

<?php } ?>

 <!-- service-section -->
        <section class="service-section bg-color-1">
            <div class="shape" style="background-image: url(assets/images/shape/shape-4.png);"></div>
            <figure class="image-layer"><img src="imgupload/<?= $bead["resim4"] ?>" alt=""></figure>
            <div class="bg-shape">
                <div class="bg-shape-1"></div>
                <div class="bg-shape-2"></div>
                <div class="bg-shape-3"></div>
            </div>
            <div class="auto-container">
                <div class="sec-title centred">
                    <h2><?= $dil['esassehife-xidmet-basliq'] ?></h2>
                </div>
                <div class="row clearfix">
                    <?php
            $cek = $db->query("SELECT * FROM xidmetler WHERE veziyyeti='0' AND dil='{$dilsec["id"]}' ORDER BY sira ASC")->fetchAll(PDO::FETCH_ASSOC);
            foreach ($cek as $goster) {
            ?>
            <?php } ?>
                    <div class="col-lg-6 col-md-12 col-sm-12 big-column">
                        <div class="left-column text-right">
                            <div class="service-block-one wow fadeInLeft animated" data-wow-delay="00ms" data-wow-duration="1500ms">
                                <div class="inner-box">
                                    <div class="icon-box"><i class="flaticon-water-bottle-1"></i></div>
                                    <h4><a href=""><?= $goster["adi"] ?></a></h4>
                                    <p><?= $goster["onaciklama"] ?></p>
                                </div>
                            </div>
                            <div class="service-block-one wow fadeInLeft animated" data-wow-delay="300ms" data-wow-duration="1500ms">
                                <div class="inner-box">
                                    <div class="icon-box"><i class="flaticon-water"></i></div>
                                    <h4><a href=""><?= $goster["adi"] ?></a></h4>
                                    <p><?= $goster["onaciklama"] ?></p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-6 col-md-12 col-sm-12 big-column">
                        <div class="right-column text-left">
                            <div class="service-block-one wow fadeInRight animated" data-wow-delay="00ms" data-wow-duration="1500ms">
                                <div class="inner-box">
                                    <div class="icon-box"><i class="flaticon-water-bottle"></i></div>
                                    <h4><a href=""><?= $goster["adi"] ?></a></h4>
                                    <p><?= $goster["onaciklama"] ?></p>
                                </div>
                            </div>
                            <div class="service-block-one wow fadeInRight animated" data-wow-delay="300ms" data-wow-duration="1500ms">
                                <div class="inner-box">
                                    <div class="icon-box"><i class="flaticon-water-drop-1"></i></div>
                                    <h4><a href=""><?= $goster["adi"] ?></a></h4>
                                    <p><?= $goster["onaciklama"] ?></p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <!-- service-section end -->


--------------------------------------------------------------4 xidmeti baqlama kodu dizayn pzulmadan-----------------

<section class="service-section bg-color-1">
    <div class="shape" style="background-image: url(assets/images/shape/shape-4.png);"></div>
    <figure class="image-layer"><img src="imgupload/<?= $bead["resim4"] ?>" alt=""></figure>
    <div class="bg-shape">
        <div class="bg-shape-1"></div>
        <div class="bg-shape-2"></div>
        <div class="bg-shape-3"></div>
    </div>
    <div class="auto-container">
        <div class="sec-title centred">
            <h2><?= $dil['esassehife-xidmet-basliq'] ?></h2>
        </div>
        <div class="row clearfix">
            <?php
            $cek = $db->query("SELECT * FROM xidmetler WHERE veziyyeti='0' AND dil='{$dilsec["id"]}' ORDER BY sira ASC")->fetchAll(PDO::FETCH_ASSOC);
            $count = 0; // Sayıcı değişken
            foreach ($cek as $goster) {
                // Sütunun sol mu sağ mı olduğunu belirle ve uygun sınıfı ve animasyonu uygula
                $columnClass = 'col-lg-6 col-md-12 col-sm-12'; // Yan yana olmaları için ikisini de 6 olarak tut
                $alignmentClass = ($count % 2 == 0) ? 'text-right' : 'text-left';
                $animationClass = ($count % 2 == 0) ? 'fadeInLeft' : 'fadeInRight';
                $delay = ($count < 2) ? '00ms' : '300ms'; // Konuma göre gecikmeyi ayarla
            ?>
            <div class="<?= $columnClass ?>">
                <div class="<?= ($count % 2 == 0) ? 'left-column ' : 'right-column ' ?> <?= $alignmentClass ?>">
                    <div class="service-block-one wow <?= $animationClass ?> animated" data-wow-delay="<?= $delay ?>" data-wow-duration="1500ms">
                        <div class="inner-box">
                            <div class="icon-box">
                                <?php
                                    // Örnek: Hizmet ID'sine veya başka bir alana göre ikon atama
                                    if ($count == 0) echo '<i class="flaticon-water-bottle-1"></i>';
                                    else if ($count == 1) echo '<i class="flaticon-water"></i>';
                                    else if ($count == 2) echo '<i class="flaticon-water-bottle"></i>';
                                    else if ($count == 3) echo '<i class="flaticon-water-drop-1"></i>';
                                    else echo '<i class="flaticon-water-bottle-1"></i>'; // Varsayılan ikon
                                ?>
                            </div>
                            <h4><a href=""><?= $goster["adi"] ?></a></h4>
                            <p><?= $goster["onaciklama"] ?></p>
                        </div>
                    </div>
                </div>
            </div>
            <?php
                $count++; // Sayıcıyı artır
            }
            ?>
        </div>
    </div>
</section>


-----------------------------------CVS------------

<?php
$cek = $db->query("select * from cvs where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
foreach ($cek as $goster) {
    ?>

    <?= $goster["adi"] ?>
    <?= $goster["aciklama"] ?>

<?php } ?>

eyer bir sual acanda tum suallar acilirsa 

html sade kod

<div class="faq__item">
                            <div class="accordion" id="accordionExample">
                                
                                
                                <div class="accordion-item wow fadeInDown shadow border-none" data-wow-delay="400ms"
                                    data-wow-duration="1500ms">
                                    <h2 class="accordion-header" id="headingthree">
                                        <button class="accordion-button collapsed" type="button"
                                            data-bs-toggle="collapse" data-bs-target="#collapsethree"
                                            aria-expanded="false" aria-controls="collapsethree">
                                            What is included in your services?
                                        </button>
                                    </h2>
                                    <div id="collapsethree" class="accordion-collapse collapse"
                                        aria-labelledby="headingthree" data-bs-parent="#accordionExample">
                                        <div class="accordion-body">
                                            <p>It is a long established fact that a reader be distracted by
                                                the readable content of a page when looking a its layout.
                                                Many desktop publishing packages and web page editors now use Lorem
                                                Ipsum
                                            </p>
                                        </div>
                                    </div>
                                </div>
                                
                            </div>
                        </div>


bagala kodu

<div class="faq__item">
    <div class="accordion" id="accordionExample">

        <?php
        $cek = $db->query("select * from cvs where veziyyeti='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
        foreach ($cek as $key => $goster) { // Benzersiz bir tanımlayıcı için $key kullanın
            // Her öğe için benzersiz ID'ler oluşturun
            $headingId = "heading" . $key;
            $collapseId = "collapse" . $key;
            ?>
            <div class="accordion-item wow fadeInDown shadow border-none" data-wow-delay="400ms"
                data-wow-duration="1500ms">
                <h2 class="accordion-header" id="<?= $headingId ?>">
                    <button class="accordion-button collapsed" type="button"
                        data-bs-toggle="collapse" data-bs-target="#<?= $collapseId ?>"
                        aria-expanded="false" aria-controls="<?= $collapseId ?>">
                        <?= $goster["adi"] ?>
                    </button>
                </h2>
                <div id="<?= $collapseId ?>" class="accordion-collapse collapse"
                    aria-labelledby="<?= $headingId ?>" data-bs-parent="#accordionExample">
                    <div class="accordion-body">
                        <p><?= $goster["aciklama"] ?></p>
                    </div>
                </div>
            </div>
        <?php } ?>
    </div>
</div>