buxtelif heder sehife kodlari sirlanmisdir

<div class="mean__menu-wrapper">
    <div class="main-menu">
        <nav id="mobile-menu">
            <ul>
                <?php
                $cek = $db->query("select * from menu where veziyyeti='0' and kategori='0' and footer='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                foreach ($cek as $goster) {
                ?>
                    <li>
                        <a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?>
                            <?php
                            $cek = $db->query("select * from menu where veziyyeti='0' and kategori='{$goster["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                            if ($cek) {
                            ?>
                                <i class="fas fa-angle-down"></i>
                            <?php } ?>
                        </a>
                        <?php if ($goster) { ?>
                            <ul class="submenu">
                                <?php
                                foreach ($cek as $goster) {
                                ?>
                                    <li><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a></li>
                                <?php } ?>
                            </ul>
                        <?php } ?>
                    </li>
                <?php } ?>
            </ul>
        </nav>
    </div>
</div>

bu ayri bir header kododur

<div id="navbar" class="collapse navbar-collapse navigation-holder">
    <button class="menu-close"><i class="ti-close"></i></button>
    <ul class="nav navbar-nav mb-2 mb-lg-0">
        <?php
        $cek = $db->query("select * from menu where veziyyeti='0' and kategori='0' and footer='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
        foreach ($cek as $goster) {
        ?>
            <li <?php if ($goster["acilir"] == 0) { ?> class="menu-item-has-children" <?php } ?>>
                <a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a>
                <?php if ($goster["acilir"] == 0) { ?>
                    <ul class="sub-menu">
                        <?php
                        $altMenuCek = $db->query("select * from menu where veziyyeti='0' and kategori='{$goster["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                        foreach ($altMenuCek as $altMenuGoster) {
                        ?>
                            <li><a href="<?= $altMenuGoster["url"] ?>" <?php if ($altMenuGoster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $altMenuGoster["adi"] ?></a></li>
                        <?php } ?>
                    </ul>
                <?php } ?>
            </li>
        <?php } ?>

        <li class="menu-item-has-children">
            <a href="<?= $lan["url"] ?>"><?= $dilsec["adi"] ?></a>
            <ul class="sub-menu">
                <?php
                $dilCek = $db->query("select * from lan where veziyyeti='0' AND kod!='{$dilsec["kod"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                foreach ($dilCek as $dilGoster) {
                ?>
                    <li><a href="?lan=<?= $dilGoster["kod"] ?>"><?= $dilGoster["adi"] ?></a></li>
                <?php } ?>
            </ul>
        </li>
    </ul>


    buda ayri bir header kodudur


    <div class="navbar-collapse collapse clearfix">
        <ul class="navigation clearfix">
            <?php
            $cek = $db->query("select * from menu where veziyyeti='0' and kategori='0' and footer='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
            foreach ($cek as $goster) {
            ?>
                <li <?php if ($goster["acilir"] == 0) { ?> class="dropdown" <?php } ?>><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a>
                    <?php if ($goster["acilir"] == 0) { ?>
                        <ul>
                            <?php
                            $cek = $db->query("select * from menu where veziyyeti='0' and kategori='{$goster["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                            foreach ($cek as $goster) {
                            ?>
                                <li><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a></li>
                            <?php } ?>
                        </ul>
                    <?php } ?>
                </li>
            <?php } ?>

            <li class="dropdown"><a href="?<?= $dilsec["kod"] ?>"><?= $dilsec["adi"] ?></a>

                <ul>
                    <?php
                    $cek = $db->query("SELECT * FROM lan WHERE veziyyeti='0' AND kod!='{$dilsec["kod"]}' ORDER BY sira ASC")->fetchAll(PDO::FETCH_ASSOC);
                    foreach ($cek as $goster) {
                    ?>
                        <li><a href="?lan=<?= $goster["kod"] ?>"><?= $goster["adi"] ?></a></li>
                    <?php } ?>
                </ul>

            </li>
        </ul>
    </div>

    buda dil secimli header dilin en ve ya az olan kodlu

    <div class="header-lower">
        <div class="shape" style="background-image: url(assets/images/shape/shape-1.png);"></div>
        <div class="outer-box">
            <div class="logo-box">
                <figure class="logo"><a href="index.html"><img src="imgupload/<?= $logo ?>" alt="<?= $title ?>"></a></figure>
            </div>
            <div class="menu-area clearfix">
                <!--Mobile Navigation Toggler-->
                <div class="mobile-nav-toggler">
                    <i class="icon-bar"></i>
                    <i class="icon-bar"></i>
                    <i class="icon-bar"></i>
                </div>
                <nav class="main-menu navbar-expand-md navbar-light">
                    <div class="collapse navbar-collapse show clearfix" id="navbarSupportedContent">
                        <ul class="navigation clearfix">
                            <?php
                            $cek = $db->query("select * from menu where veziyyeti='0' and kategori='0' and footer='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                            foreach ($cek as $goster) {
                            ?>
                                <li <?php if ($goster["acilir"] == 0) { ?> class="dropdown" <?php } ?>><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a>
                                    <?php if ($goster["acilir"] == 0) { ?>
                                        <ul>
                                            <?php
                                            $cek = $db->query("select * from menu where veziyyeti='0' and kategori='{$goster["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                            foreach ($cek as $goster) {
                                            ?>
                                                <li><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a></li>
                                            <?php } ?>
                                        </ul>
                                    <?php } ?>
                                </li>
                            <?php } ?>
                            <li class="dropdown"><a href="?<?= $dilsec["kod"] ?>"><?= $dilsec["adi"] ?></a>

                                <ul>
                                    <?php
                                    $cek = $db->query("SELECT * FROM lan WHERE veziyyeti='0' AND kod!='{$dilsec["kod"]}' ORDER BY sira ASC")->fetchAll(PDO::FETCH_ASSOC);
                                    foreach ($cek as $goster) {
                                    ?>
                                        <li><a href="?lan=<?= $goster["kod"] ?>"><?= $goster["adi"] ?></a></li>
                                    <?php } ?>
                                </ul>

                            </li>
                        </ul>
                    </div>
                </nav>
            </div>


            ayri bir header kodu


            <div class="collapse navbar-collapse" id="navbarContent">
                <ul class="navbar-nav ">


                    <?php
                    $cek = $db->query("select * from menu where veziyyeti='0' and lan='{$dilsec["id"]}' and footer='0' and kategori='0' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                    foreach ($cek as $goster) {
                    ?>
                        <li class="nav-item <?php if ($goster["acilir"] == 0) { ?>has-dropdown <?php } ?>" data-hover="">
                            <a <?php if ($goster["acilir"] == 0) { ?>class="dropdown-toggle" <?php } ?> href="<?= $goster["url"] ?>" <?php if ($goster["acilir"] == 0) { ?> data-toggle="dropdown" <?php } ?>>
                                <span><?= $goster["adi"] ?></span></a>

                            <?php if ($goster["acilir"] == 0) { ?>
                                <ul class="dropdown-menu">
                                    <?php
                                    $cek = $db->query("select * from menu where veziyyeti='0' and lan='{$dilsec["id"]}' and kategori='{$goster["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                    foreach ($cek as $goster) {
                                    ?>
                                        <li class="nav-item"><a href="<?= $goster["url"] ?>"><span><?= $goster["adi"] ?></span></a></li>
                                    <?php } ?>
                                </ul>
                            <?php } ?>

                        </li>
                    <?php } ?>
                    <li class="nav-item has-dropdown" id="departments" data-hover=""><a class="dropdown-toggle" href="xidmetler" data-toggle="dropdown"><span><?= $lan["header-sol-baslik"] ?></span></a>
                        <ul class="dropdown-menu">

                            <?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) {
                            ?>
                                <li class="nav-item"><a href="<?= $goster["seo"] ?>"><span><?= $goster["adi"] ?></span></a> </li>
                            <?php } ?>

                        </ul>
                    </li>
                </ul>
                <div class="module-holder">

                    <div class="module module-search float-left">
                        <div class="module-icon search-icon"><i class="icon-search" data-hover=""></i></div>
                    </div>


                    <div class="module-contact">
                        <a class="btn btn--primary btn-line btn-line-after" href="qeydiyyat">
                            <a class="btn btn--primary btn-line btn-line-after" href="qeydiyyat">
                                <span><?= $lan["header-sag-yazi"] ?></span><span class="line"> <span></span></span></a>
                    </div>
                </div>
                <select id="language-selector" onchange="window.location.href=this.value;">
                    <option value="/"><?= $dilsec["adi"] ?></option>
                    <?php
                    $cek = $db->query("select * from lan where veziyyeti='0' and not id='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                    foreach ($cek as $goster) {
                    ?>
                        <option value="?lan=<?= $goster["id"] ?>"><?= $goster["adi"] ?></option>
                    <?php } ?>
                </select>

            </div>

            Alt ve alt menyun atina alt menu acilan

            <div class="col-lg-6">
                <div class="header-menu">
                    <ul class="nav-menu">
                        <?php
                        // Ana menü öğelerini çekiyoruz
                        $main_menu_items = $db->query("select * from menu where veziyyeti='0' and kategori='0' and footer='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);

                        foreach ($main_menu_items as $main_item) {
                        ?>
                            <li>
                                <a href="<?= $main_item["url"] ?>" <?php if ($main_item["sekme"] == 1) { ?> target="_blank" <?php } ?>>
                                    <?= $main_item["adi"] ?>
                                    <?php
                                    // Ana menü öğesinin alt menüleri olup olmadığını kontrol ediyoruz
                                    $sub_menu_items = $db->query("select * from menu where veziyyeti='0' and kategori='{$main_item["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                    if ($sub_menu_items) {
                                        // Eğer alt menüler varsa, CSS için "fa-angle-down" ikonunu ekleyebiliriz
                                        // Bu ikonun görünmesi için uygun Font Awesome veya benzeri kütüphane projenize dahil edilmiş olmalı.
                                    ?>

                                    <?php
                                    }
                                    ?>
                                </a>
                                <?php if ($sub_menu_items) { ?>
                                    <ul class="sub-menu">
                                        <?php
                                        foreach ($sub_menu_items as $sub_item) {
                                        ?>
                                            <li>
                                                <a href="<?= $sub_item["url"] ?>" <?php if ($sub_item["sekme"] == 1) { ?> target="_blank" <?php } ?>>
                                                    <?= $sub_item["adi"] ?>
                                                    <?php
                                                    // Alt menü öğesinin alt menüleri olup olmadığını kontrol ediyoruz
                                                    $nested_sub_menu_items = $db->query("select * from menu where veziyyeti='0' and kategori='{$sub_item["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                                    if ($nested_sub_menu_items) {
                                                    ?>

                                                    <?php
                                                    }
                                                    ?>
                                                </a>
                                                <?php if ($nested_sub_menu_items) { ?>
                                                    <ul class="sub-menu">
                                                        <?php
                                                        foreach ($nested_sub_menu_items as $nested_sub_item) {
                                                        ?>
                                                            <li>
                                                                <a href="<?= $nested_sub_item["url"] ?>" <?php if ($nested_sub_item["sekme"] == 1) { ?> target="_blank" <?php } ?>>
                                                                    <?= $nested_sub_item["adi"] ?>
                                                                </a>
                                                            </li>
                                                        <?php } ?>
                                                    </ul>
                                                <?php } ?>
                                            </li>
                                        <?php } ?>
                                    </ul>
                                <?php } ?>
                            </li>
                        <?php } ?>
                    </ul>
                </div>
            </div>


            basqa bir hader kodu

            <div class="nav-outer clearfix">
                <nav class="main-menu clearfix">
                    <div class="navbar-header clearfix">
                        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                    </div>
                    <div class="navbar-collapse collapse clearfix">
                        <ul class="navigation clearfix">
                            <?php
                            $cek = $db->query("select * from menu where veziyyeti='0' and kategori='0' and footer='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                            foreach ($cek as $goster) {
                            ?>
                                <li <?php if ($goster["acilir"] == 0) { ?> class="dropdown" <?php } ?>><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a>
                                    <?php if ($goster["acilir"] == 0) { ?>
                                        <ul>
                                            <?php
                                            $cek = $db->query("select * from menu where veziyyeti='0' and kategori='{$goster["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                            foreach ($cek as $goster) {
                                            ?>
                                                <li><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a></li>
                                            <?php } ?>
                                        </ul>
                                    <?php } ?>
                                </li>
                            <?php } ?>

                            <li class="dropdown"><a href="?<?= $dilsec["kod"] ?>"><?= $dilsec["adi"] ?>></a>

                                <ul>
                                    <?php
                            $cek = $db->query("SELECT * FROM lan WHERE durum='0' AND kod!='{$dilsec["kod"]}' ORDER BY sira ASC")->fetchAll(PDO::FETCH_ASSOC);
                            foreach ($cek as $goster) {
                            ?>
                                        <li><a href="?lan=<?= $goster["kod"] ?>"><?= $goster["adi"] ?></a></li>
                                    <?php } ?>
                                </ul>

                            </li>
                        </ul>
                    </div>
                </nav>



                Basqa bir hader kodu

                <div class="mean__menu-wrapper d-none d-lg-block">
                    <div class="main-menu main-menu-3">
                        <nav id="mobile-menu">
                            <ul>
                                <?php
                                $cek = $db->query("select * from menu where veziyyeti='0' and kategori='0' and footer='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                foreach ($cek as $goster) {
                                ?>


                                    <li <?php if ($goster["acilir"] == 0) { ?> class="has-dropdown" <?php } ?>>
                                        <a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a>
                                        <?php if ($goster["acilir"] == 0) { ?>
                                            <ul class="submenu">
                                                <?php
                                                $cek = $db->query("select * from menu where veziyyeti='0' and kategori='{$goster["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                                foreach ($cek as $goster) {
                                                ?>
                                                    <li><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a></li>
                                                <?php } ?>

                                            </ul>
                                        <?php } ?>
                                    </li>

                                <?php } ?>
                            </ul>
                        </nav>
                    </div>
                </div>



basqa bir hader baglama ve dil kodu

<div class="main-header-menu-item float-right">
                <nav class="main-navigation-area clearfix ul-li">
                    <ul class="menu-navigation">
                        <?php
                        $cek = $db->query("select * from menu where durum='0' and kategori='0' and footer='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                        foreach ($cek as $goster) {
                        ?>
                            <li <?php if ($goster["acilir"] == 0) { ?> class="dropdown" <?php } ?>><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a>
                                <?php if ($goster["acilir"] == 0) { ?>
                                    <ul class="dropdown-menu clearfix">
                                        <?php
                                        $cek = $db->query("select * from menu where durum='0' and kategori='{$goster["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                        foreach ($cek as $goster) {
                                        ?>
                                            <li><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?> </a></li>
                                        <?php } ?>
                                    </ul>
                                <?php } ?>
                            </li>
                        <?php } ?>
                        &nbsp;
                        &nbsp;

                        <style>
                            #language-selector {
                                background: white;
                                border: 1px solid #ccc;
                                padding: 6px 6px;
                                border-radius: 8px;
                                font-size: 14px;
                                appearance: none;
                                -webkit-appearance: none;
                                -moz-appearance: none;
                                /*                                background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23666' d='M2 0L0 2h4z'/%3E%3C/svg%3E");*/
                                background-repeat: no-repeat;
                                background-position: right 10px center;
                                background-size: 8px 10px;
                                width: 40px;
                                cursor: pointer;
                            }

                            #language-selector option {
                                padding: 8px;
                            }
                        </style>

                        <select id="language-selector" onchange="window.location.href=this.value;">
                            <option value="/<?= $dilsec["kod"] ?>"><?= $dilsec["adi"] ?></option>
                            <?php
                            $cek = $db->query("SELECT * FROM lan WHERE durum='0' AND kod!='{$dilsec["kod"]}' ORDER BY sira ASC")->fetchAll(PDO::FETCH_ASSOC);
                            foreach ($cek as $goster) {
                            ?>
                                <option value="?lan=<?= $goster["kod"] ?>"><?= $goster["adi"] ?></option>
                            <?php } ?>
                        </select>

                    </ul>
                </nav>
                <div class="header-cta-btn text-center float-right">
                    <a href="elaqe"><?= $lan['header-teklifal'] ?></a>
                </div>
            </div>

baska bir hader baglama kodu dil secemeli

<div class="container">
            <div class="mega__menu-wrapper p-relative">
                <div class="header__main">
                    <div class="header__logo">
                        <a href="./">
                            <div class="logo">
                                <img src="imgupload/<?= $logo ?>" alt="<?= $title ?>">
                            </div>
                        </a>
                    </div>

                    <div class="mean__menu-wrapper d-none d-lg-block">
                        <div class="main-menu main-menu-3">
                            <nav id="mobile-menu">
                                <ul>
                                    <?php
                                    $cek = $db->query("select * from menu where veziyyeti='0' and kategori='0' and footer='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                    foreach ($cek as $goster) {
                                    ?>


                                        <li <?php if ($goster["acilir"] == 0) { ?> class="has-dropdown" <?php } ?>>
                                            <a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a>
                                            <?php if ($goster["acilir"] == 0) { ?>
                                                <ul class="submenu">
                                                    <?php
                                                    $cek = $db->query("select * from menu where veziyyeti='0' and kategori='{$goster["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                                    foreach ($cek as $goster) {
                                                    ?>
                                                        <li><a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a></li>
                                                    <?php } ?>

                                                </ul>
                                            <?php } ?>
                                        </li>

                                    <?php } ?>
                                </ul>
                            </nav>
                        </div>
                    </div>
                    <select id="language-selector" onchange="window.location.href=this.value;">
                    <option value="/"><?= $dilsec["adi"] ?></option>
                    <?php
                    $cek = $db->query("select * from lan where veziyyeti='0' AND kod!='{$dilsec["kod"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                    foreach ($cek as $goster) {
                    ?>
                        <option value="?lan=<?= $goster["kod"] ?>"><?= $goster["adi"] ?></option>
                    <?php } ?>
                    </select>

                    <div class="header__right">
                        <div class="header__action d-flex align-items-center">
                            <div class="header__btn-wrap align-items-center d-inline-flex">


                                <div class="rr-header-contact-btn d-flex align-items-center d-none d-sm-flex">
                                    <a href="elaqe" class="rr-btn__header">
                                        <span class="btn-wrap">
                                            <span class="text-one">
                                                <?= $lan['header-teklifal'] ?>
                                                <svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                    <path d="M1 6.5H11" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                                    <path d="M6 1.5L11 6.5L6 11.5" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                                </svg>
                                            </span>
                                            <span class="text-two">
                                                <?= $lan['header-teklifal'] ?>
                                                <svg width="12" height="13" viewBox="0 0 12 13" fill="none" xmlns="http://www.w3.org/2000/svg">
                                                    <path d="M1 6.5H11" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                                    <path d="M6 1.5L11 6.5L6 11.5" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
                                                </svg>
                                            </span>
                                        </span>
                                    </a>
                                </div>
                            </div>

                            <div class="header__hamburger ml-30 d-xl-none">
                                <div class="sidebar__toggle">
                                    <a class="bar-icon" href="javascript:void(0)">
                                        <span></span>
                                        <span></span>
                                        <span></span>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>



-------------------Basqa bir hader elave kodu

<header class="header-area header-two-area">
    <div class="container header__container">
        <div class="header__main">
            <a href="index.html" class="logo">
                <img src="imgupload/<?= $logo ?>" alt="<?= $title ?>">
            </a>
            <div class="main-menu">
                <nav>
                    <ul>
                        <?php
                        $cek = $db->query("SELECT * FROM menu WHERE veziyyeti='0' AND kategori='0' AND footer='0' AND lan='{$dilsec["id"]}' ORDER BY sira ASC")->fetchAll(PDO::FETCH_ASSOC);
                        foreach ($cek as $goster) {
                            ?>
                            <li <?php if ($goster["acilir"] == 0) { ?> class="has-dropdown" <?php } ?>>
                                <a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a>
                                <?php if ($goster["acilir"] == 0) { ?>
                                    <ul class="sub-menu">
                                        <?php
                                        $cek = $db->query("SELECT * FROM menu WHERE veziyyeti='0' AND kategori='{$goster["id"]}' AND lan='{$dilsec["id"]}' ORDER BY sira ASC")->fetchAll(PDO::FETCH_ASSOC);
                                        foreach ($cek as $goster) {
                                            ?>
                                            <li>
                                                <a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a>
                                            </li>
                                        <?php } ?>
                                    </ul>
                                <?php } ?>
                            </li>
                            <?php
                        }
                        ?>
                        <li class="ml-20 d-none d-lg-block">
                            <a class="search-trigger" href="#0">
                                <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                                    <path d="M16.0375 14.9381L12.0784 11.0334C13.0625 9.86621 13.6554 8.36744 13.6554 6.73438C13.6554 3.02103 10.5925 0 6.82774 0C3.0629 0 0 3.02103 0 6.73438C0 10.4475 3.0629 13.4683 6.82774 13.4683C8.4834 13.4683 10.0031 12.8836 11.1865 11.913L15.1456 15.8178C15.2687 15.9393 15.4301 16 15.5915 16C15.7529 16 15.9143 15.9393 16.0375 15.8178C16.2839 15.5748 16.2839 15.181 16.0375 14.9381ZM1.26142 6.73438C1.26142 3.70705 3.75845 1.24414 6.82774 1.24414C9.89695 1.24414 12.3939 3.70705 12.3939 6.73438C12.3939 9.76146 9.89695 12.2241 6.82774 12.2241C3.75845 12.2241 1.26142 9.76146 1.26142 6.73438Z" fill="white" />
                                </svg>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>


-------------------------Basqa bir hader baglama------------

<div class="th-menu-wrapper">
    <div class="th-menu-area">
        <div class="mobile-logo">
            <a href="./"><img src="imgupload/<?= $logo ?>" alt="<?= $title ?>"></a>
            <div class="close-menu">
                <button class="th-menu-toggle"><i class="fal fa-times"></i></button>
            </div>
        </div>
        <div class="th-mobile-menu">
            <ul>
                
                <?php
                $cek = $db->query("select * from menu where veziyyeti='0' and kategori='0' and footer='0' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                foreach ($cek as $goster) {
                    ?>
                    <li <?php if ($goster["acilir"] == 0) { ?> class="menu-item-has-children" <?php } ?>>
                        <a href="<?= $goster["url"] ?>" <?php if ($goster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $goster["adi"] ?></a>
                        <?php if ($goster["acilir"] == 0) { ?>
                            <ul class="sub-menu">
                                <?php
                                $altMenuCek = $db->query("select * from menu where veziyyeti='0' and kategori='{$goster["id"]}' and lan='{$dilsec["id"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                                foreach ($altMenuCek as $altMenuGoster) {
                                    ?>
                                    <li><a href="<?= $altMenuGoster["url"] ?>" <?php if ($altMenuGoster["sekme"] == 1) { ?> target="_blank" <?php } ?>><?= $altMenuGoster["adi"] ?></a></li>
                                <?php } ?>
                            </ul>
                        <?php } ?>
                    </li>
                <?php } ?>

                <li class="menu-item-has-children">
                    <a href="<?= $lan["url"] ?>"><?= $dilsec["adi"] ?></a>
                    <ul class="sub-menu">
                        <?php
                        $dilCek = $db->query("select * from lan where veziyyeti='0' AND kod!='{$dilsec["kod"]}' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
                        foreach ($dilCek as $dilGoster) {
                            ?>
                            <li><a href="?lan=<?= $dilGoster["kod"] ?>"><?= $dilGoster["adi"] ?></a></li>
                        <?php } ?>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</div>