<div class="nano mmt15">
    <div class="nano-content" id="tour_menu" style="">
        <nav id="menu" class="nav-main" role="navigation">
            <ul class="nav nav-main">
                <li class="nav-parent <?php if($_GET["ne"]==""){?>nav-expanded nav-active<?php }?>"> <a class="nav-link" href="#"> <img src="//cdn.<?php echo $cdnurl?>/images/crm.png" style="height: 25px;"> <span><?php echo ctranslate("CrmPlus");?></span></a>
                    <ul class="nav nav-children">
                        <li onclick="location.href='?'"><a class="nav-link" href="?"><?php echo ctranslate("Giriş Ekranı")?></a></li>
                        <li style="<?php if($module["crm"]=="1"){echo "display:none;";}?>" onclick="window.open('<?php echo $weburl?>');"><a class="nav-link" href="<?php echo $weburl?>" target="_blank"><?php echo ctranslate("Önizle")?></a></li>
						<?php if(tanim("openai","n2",0)<>""){?>
						<?php if($module["alva"]>0){?>
						<li class="">
							<a class="cp mfrm" data-toggle="modal" data-target="#myModal" data-title="Alva" data-width="50%" data-url="modules/live_chat/alva.php">Online Chat Ai</a>
						</li>
						<?php }}?>
                        <?php if($_SESSION["kim"]<>"yonetici"){?>
                            <li><a class="nav-link" href="?ne=ayarlar&islem=drive">Drive</a></li>
                            <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/logs.php" data-title="User Logs">User Logs</a></li>
                            <li style="<?php if($module["crm_market"]=="1"){echo "display:none;";}?>"><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="//cdn.crmplus.com.tr/market?data=<?php echo v3e($ljson)?>" data-title="Module Market"><?php echo ctranslate("Modül Market")?></a></li>
                            <li style="<?php if($module["crm_integrations"]=="1"){echo "display:none;";}?>"><a class="nav-link majx" data-toggle="modal" data-target="#ajaxModal" data-url="fonksiyon.php?islem=integrations" data-title="Entegrasyonlar"><?php echo ctranslate("Entegrasyonlar")?></a></li>
                            <?php if(file_exists("../deppo/newsletter.json")){?>
                                <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="fonksiyon.php?islem=newsletter" data-title="Newsletter"><?php echo ctranslate("E-Mail Listesi")?></a></li>
                            <?php }?>
                            <?php if(file_exists("../deppo/ebulten.txt")){?>
                                <li><a class="nav-link" href="../deppo/ebulten.txt" download><?php echo ctranslate("E-Mail Listesi (txt)")?></a></li>
                            <?php }?>
                        <?php }?>
                        <?php if($MSA==1){?>
                            <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/operation<?php echo $ver;?>.php" data-title="<?php echo ctranslate("Crm Veri Yönetimi")?>"><?php echo ctranslate("Crm Veri Yönetimi")?></a></li>
                        <?php }?>
                        <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y29"]<>0))){?>
                            <li class="nav-parent">
                                <a><?php echo ctranslate("Analytics/Rapor")?></a>
                                <ul class="nav nav-children">
                                    <?php if($module["m19"]==1){?>
                                        <li class=" mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/reports/report_general.php" data-title="<?php echo ctranslate("Analytics")?>"><a class="nav-link"><?php echo ctranslate("Analytics")?></a></li>
                                    <?php }?>
                                        <li class=" mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/reports/report_ecommerce.php" data-title="<?php echo ctranslate("Crm Rapor");?>"><a class="nav-link"><?php echo ctranslate("Crm Rapor");?></a></li>
                                </ul>
                            </li>
                        <?php }?>
                        <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y29"]<>0))){?>
                            <li class="nav-parent">
                                <a><?php echo ctranslate("Raporlar")?></a>
                                <ul class="nav nav-children">
                                    <?php if($module["posnet"]==1){?>
                                        <li onclick="location.href='?ne=anasayfa&islem=radditions'"><a class="nav-link" href="#?ne=anasayfa&islem=radditions"><?php echo ctranslate("PosNet Rapor");?></a></li>
                                    <?php }?>
                                    <?php if($c7==1){?>
                                        <li onclick="location.href='?ne=anasayfa&islem=rfinans'"><a class="nav-link" href="#?ne=anasayfa&islem=rfinans"><?php echo ctranslate("Finans Rapor");?></a></li>
                                    <?php }?>
                                    <?php if($e8<>0 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y29"]<>0))){?>
                                        <li class="mfrm" data-toggle="modal" data-title="<?php echo ctranslate($t25." Rapor");?>" data-target="#myModal" data-url="modules/xls/exporter.php?ne=report_clients&path=reports/"><a class="nav-link"><?php echo ctranslate($t25." Rapor");?></a></li>
                                    <?php }?>
                                    <?php if($m14==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y29"]<>0))){?>
                                        <li  class="mfrm" data-toggle="modal" data-title="<?php echo ctranslate($t24." Rapor");?>" data-target="#myModal" data-url="modules/xls/exporter.php?ne=report_products&path=reports/"><a class="nav-link"><?php echo ctranslate($t24." Rapor");?></a></li>
                                    <?php }?>
                                    <?php if($m16==1){?>
                                        <li  class="mfrm" data-toggle="modal" data-title="<?php echo ctranslate("Eticaret Rapor");?>" data-target="#myModal" data-url="modules/xls/exporter.php?ne=report_ecommerces&path=reports/"><a class="nav-link"><?php echo ctranslate("Eticaret Rapor");?></a></li>
                                    <?php }?>
                                    <?php if($module["muhasebe_fatura"]=="1"){?>
                                        <li  class="mfrm" data-toggle="modal" data-title="<?php echo ctranslate("Fatura Rapor")?>" data-target="#myModal" data-url="modules/xls/exporter.php?ne=report_invoices&path=reports/"><a class="nav-link"><?php echo ctranslate("Faturalar")?></a></li>
                                    <?php }?>
                                    <?php $sqlax=mysqli_query($conn, "select * from genel where ne='menu' and s3=0 and t7='report' order by s1 asc"); while($rsax=mysqli_fetch_assoc($sqlax)){$jsla = json_decode($rsax["n1"],true);?>
                                    <li  class="mfrm <?php echo $rsax["t8"];?> <?php if(($_SESSION["kim"]=="Admin") or ($_SESSION["user_id"]==$rsax["s19"]) or $rsax["t8"]<>""){echo "db";}else{echo "dn";}?>" data-toggle="modal" data-title="<?php echo $jsla[$_SESSION["lang"]];?>" data-target="#myModal" data-url="<?php echo mlinked($rsax["id"]);?>"><a class="nav-link"><?php echo $jsla[$_SESSION["lang"]];?></a></li>
                                <?php }?>
                            </ul>
                        </li>
                    <?php }?>
                    <?php if($MSA==1 and tanim("cpanel","n1",0)<>""){?>
                        <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/cpanel.php" data-width="75%" data-title="CPanel"><a class="nav-link">CPanel</a></li>
                    <?php }?>
                    <?php if($MA==1){?>
                        <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="../deppo/tools/script/edit<?php echo $ver;?>.php?file=/" data-width="90%" data-title="Master+Studio"><a class="nav-link">Master+Studio</a></li>
                    <?php }?>
					<?php if(tanim("openai","n2",0)<>""){?>
						<li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/ai.php" data-width="75%" data-title="AI Cms"><a class="nav-link">AI Cms</a></li>
					<?php }?>
                    <li class="nav-parent" style="<?php if($module["crm_tools"]=="1"){echo "display:none;";}?>"><a class="nav-link">Tools</a>
                        <ul class="nav nav-children">
                            <li class="msa"><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="fonksiyon.php?islem=devir" data-title="Devir">Devir</a></li>
                            <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/agreement.php" data-title="<?php echo ctranslate("Sözleşme")?>"> <?php echo ctranslate("Sözleşme")?></a></li>
                            <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="fonksiyon.php?islem=changelogs" data-title="Changelogs">Changelogs</a></li>
                            <?php if($module["muhasebe_fatura"]=="1"){?>
                                <li  class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/integration/AccountingOperations/gib/designer/" data-width="90%" data-title="<?php echo ctranslate("Fatura Tasarım")?>"><a class="nav-link"><?php echo ctranslate("Fatura Tasarım")?></a></li>
                            <?php }?>
                            <?php if($MSA==1){?>
                                <li><a  class="cp nav-link mfrm" data-toggle="modal" data-target="#myModal" data-title="Crm+Studio"data-width="90%" data-url="modules/design/index.php">Designer</a></li>
                            <?php }?>
                            <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/uniqs.php?type=uniq" data-title="Uniq Codes">Uniq Codes</a></li>
                            <?php if($m14==1){?>
                                <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/print/print_qr.php" data-title="Qr Print">Qr Print</a></li>
                            <?php }?>
                            <?php if($MSA==1){?>
                                <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/ws.php" data-title="CrmPlus Ws">Web Servis</a></li>
                                <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="fonksiyon.php?islem=phpinfo" data-title="Php Info">Php Info</a></li>
                            <?php }?>
                            <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="//www.gmass.co/smtp-test" data-title="Smtp Test">Smtp Test</a></li>
                            <li><a class="nav-link" onclick="window.open('modules/tools?islem=exc', 'Exchange', 'width=450,height=300')">Kur Çevirici</a></li>
                            <li><a class="nav-link" onclick="window.open('modules/tools?islem=calc', 'Hesap Makinası', 'width=327,height=470')">Hesap Makinası</a></li>
                        </ul>
                    </li>
                    <li><a class="nav-link" href="#" onClick="window.open('//cdn.<?php echo $cdnurl?>/media','<?php echo ctranslate("Media Plus+")?>','directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=800,height=600');"><?php echo ctranslate("Media Plus+")?></a></li>
                    <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="fonksiyon.php?islem=bildirim&ne=hata" data-width="40%" data-title="<?php echo ctranslate("Hata Bildir")?>"><?php echo ctranslate("Hata Bildir")?></a></li>
                </ul>
            </li>
            <?php if(($m16==1 or $s4==1 or $s5==1 or $s6==1 or $g3==1 or $module["muhasebe_ekstre"]==1 or $module["point"]==1) and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y2"]<>0))){?>
                <li class="nav-parent <?php if($_GET["ne"]=="eticaret"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"> <i class="fa-solid fa-dumpster"></i> <span><?php echo ctranslate("E-ticaret")?></span></a>
                    <ul class="nav nav-children">
                        <?php if($m16==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y2_siparis"]==1))){?>
                            <li onclick="location.href='?ne=eticaret&islem=siparisler'"><a class="nav-link morders" href="?ne=eticaret&islem=siparisler"><?php echo ctranslate("Siparişler");?></a></li>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="<?php echo ctranslate("Sepetler")?>" data-url="modules/ecommerce/ecommerce_baskets.php"><a class="nav-link"><?php echo ctranslate("Sepetler")?></a></li>
                            <?php if($h3==1){?><li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="<?php echo ctranslate("İade Talepleri")?>" data-url="modules/ecommerce/ecommerce_cancellations.php"><a class="nav-link"><?php echo ctranslate("İade Talepleri")?></a></li><?php }?>
                        <?php }?>
                        <?php if($module["posnet"]==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y2_posnet"]==1))){?><li onclick="location.href='?ne=eticaret&islem=adisyonlar'"><a class="nav-link" href="?ne=eticaret&islem=adisyonlar"><?php echo ctranslate("PosNet")?></a></li><?php }?>
                        <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y2_banka"]==1))){?>
                            <?php if($s4==1 or $s5==1 or $s3==1 or $s6==1 or $g3==1 or $module["muhasebe_ekstre"]==1){?><li class="mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/ecommerce/ecommerce_banks.php" data-title="<?php echo ctranslate("Banka(lar)")?>"><a class="nav-link"><?php echo ctranslate("Banka(lar)")?></a></li><?php }?>
                        <?php }?>
                        <?php if($f3==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y2_kargo"]==1))){?><li class="mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/ecommerce/ecommerce_deliveries.php" data-title="<?php echo ctranslate("Kargo(lar)")?>"><a class="nav-link"><?php echo ctranslate("Kargo(lar)")?></a></li><?php }?>
                        <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y2_cek_puan"]==1))){?>
                            <?php if($d5==1){?><li class="mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/ecommerce/ecommerce_discount_codes.php" data-title=<?php echo ctranslate("Kampanya")?>"><a class="nav-link"><?php echo ctranslate("Kampanya")?></a></li><?php }?>
                            <?php if($module["point"]==1){?><li class="mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/ecommerce/ecommerce_points.php" data-title=<?php echo ctranslate("Puan Sistemi")?>"><a class="nav-link"><?php echo ctranslate("Puan Sistemi")?></a></li><?php }?>
                        <?php }?>
                        <?php if($module["ecommerce_campaigns"]==1 and ($_SESSION["kim"]=="Admin")){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/ecommerce/ecommerce_discount.php" data-title="<?php echo ctranslate("Kampanyalar")?>"><a class="nav-link"><?php echo ctranslate("Kampanyalar")?></a></li>
                        <?php }?>
                        <?php if($module["ecommerce_promotions"]==1 and ($_SESSION["kim"]=="Admin")){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/ecommerce/ecommerce_promotions.php" data-title="<?php echo ctranslate("Promosyonlar")?>"><a class="nav-link"><?php echo ctranslate("Promosyonlar")?></a></li>
                        <?php }?>
                        <?php if($module["areas"]<>0 and ($_SESSION["kim"]=="Admin")){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="<?php echo ctranslate("Bölgeler")?>" data-url="modules/ecommerce/ecommerce_delivery_areas.php?ne=eticaret&islem=areas"><a class="nav-link"><?php echo ctranslate("Bölgeler")?></a></li>
                        <?php }?>
                        <?php if($g3==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y2_etahsilat"]==1))){?><li onclick="location.href='?ne=eticaret&islem=tahsilat'"><a class="nav-link" href="?ne=eticaret&islem=tahsilat"><?php echo ctranslate("E-Tahsilat")?></a></li><?php }?>
                        <?php if($module["muhasebe_ekstre"]=="1" and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y24"]<>0))){?>
                            <li onclick="location.href='?ne=eticaret&islem=ekstre'"><a class="nav-link" href="?ne=eticaret&islem=ekstre"><?php echo ctranslate("E-Ekstre")?></a></li>
                        <?php }?>
                        <?php if($m16==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y2_satis"]==1))){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="<?php echo ctranslate("Mağaza Satış")?>" data-url="modules/ecommerce/ecommerce_storesales.php?ne=eticaret&islem=satis" data-ref="?ne=eticaret&islem=siparisler"><a class="nav-link"><?php echo ctranslate("Mağaza Satış")?></a></li>
                        <?php }?>
                        <?php if($module["paket"]<>0 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y25"]<>0))){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="<?php echo $package?>" data-url="modules/packages/packages.php?ne=eticaret&islem=paket"><a class="nav-link"><?php echo $package?></a></li>
                        <?php }?>
                        <?php if($module["doping"]<>0 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y25"]<>0))){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="<?php echo ctranslate("Dopingler")?>" data-url="modules/packages/dopings.php?ne=eticaret&islem=doping"><a class="nav-link"><?php echo ctranslate("Dopingler")?></a></li>
                        <?php }?>
                        <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y2_sp"]==1))){?>
                            <?php if(tanim("sp+n11","n1",0)<>"" or tanim("sp+hepsiburada","n1",0)<>"" or tanim("sp+trendyol","n1",0)<>""){?>
                                <li class="mfrm" data-toggle="modal" data-title="<?php echo ctranslate("Sanal Pazar")?>" data-width="90%" data-target="#myModal" data-url="../sanalpazar/"><a class="nav-link"><?php echo ctranslate("Sanal Pazar")?></a></li>
                            <?php }?>
                        <?php }?>
                    </ul>
                </li>
            <?php }?>
            <?php if($m14==1 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y0"]<>0))){?>
                <li class="nav-parent <?php if($_GET["ne"]=="kayit"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa fa-cubes" aria-hidden="true"></i> <span><?php echo ctranslate("Katalog");?></span></a>
                    <ul class="nav nav-children">
                        <li onclick="location.href='?ne=kayit&islem=kayitlar'"><a class="nav-link" href="?ne=kayit&islem=kayitlar"><?php echo ctranslate("Tüm ".$t24."");?></a></li>
                        <?php if(($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y0"]<>0)){?>
                            <li class="mfrm" data-toggle="modal" data-width="50%" data-target="#myModal" data-url="modules/public/add.php?ne=kayit&islem=kayitlar" data-title="<?php echo ctranslate("Yeni ".$t24s[0]."")?>"><a class="nav-link"><?php echo ctranslate("Yeni ".$t24s[0]."");?></a></li>
                        <?php }?>
                        <?php if($module["rproduct"]<>0){?>
                            <!--<li style=""><a class="nav-link" href="?ne=kayit&islem=stok"><?php echo ctranslate("Stok Hareketleri")?></a></li>-->
                        <?php }?>
                        <?php if($g2>0 and $_SESSION["kim"]<>"yonetici"){?>
                            <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/operation7.php?ne=kayit" data-title="Güncelleme"><?php echo ctranslate("Toplu Güncelleme")?></a></li>
                        <?php }?>
                        <?php if($a8==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and ($_SESSION["y21_uye_import"]==1 or $_SESSION["y21_uye_export"]==1)))){?>
                            <li class="nav-parent"><a class="nav-link" href="#">Excel</a>
                                <ul class="nav nav-children">
                                    <?php if($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and ($_SESSION["y21_kayit_import"]==3))){?>
                                        <li><a class="mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/xls/xls.php?ne=kayit&islem=xls&durum=ixls" data-title="Import">Import</a></li>
                                    <?php }?>
                                    <?php if($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and ($_SESSION["y21_kayit_export"]==3))){?>
                                        <li><a class="mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/xls/xls.php?ne=kayit&islem=xls&durum=exls" data-title="Export">Export</a></li>
                                    <?php }?>
                                </ul>
                            </li>
                        <?php }?>
						<?php if($g6==1 and $_SESSION["kim"]=="Admin"){?>
                            <li class="nav-parent"><a class="nav-link" href="#">Xml</a>
                                <ul class="nav nav-children">
                                    <li><a class="nav-link mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/xml/xml.php?ne=kayit&islem=xml&durum=ixml" data-title="Import">Import</a></li>
                                    <li><a class="nav-link mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/xml/xml.php?ne=kayit&islem=xml&durum=exml" data-title="Export">Export</a></li>
                                </ul>
                            </li>
                        <?php }?>
                        <?php if($a4>0 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y9"]<>0))){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/categories.php?ne=kayit&islem=<?php if($module["ajax_categories"]<>""){echo "categories";}else{echo "kategori";}?>" data-title="<?php echo ctranslate("Kategoriler")?>"><a class="nav-link"><?php echo ctranslate("Kategoriler")?></a></li>
                        <?php }?>
                        <?php if($a7<>0){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/products/optiongrup.php" data-title="<?php echo $vyonlar?>"><a class="nav-link"><?php echo $vyonlar?></a></li>
                        <?php }?>
                        <?php if($g8>0){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/products/brands.php" data-title="<?php echo $module["g8_title"];?>"><a class="nav-link"><?php echo $module["g8_title"];?></a></li>
                        <?php }?>
                    </ul>
                </li>
            <?php }?>
            
            <?php if($m15<>0 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y1_uyeler"]<>0))){?>
                <li class="nav-parent <?php if($_GET["ne"]=="uye"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa-solid fa-user"></i> <span><?php echo ctranslate($t25);?></span></a>
                    <ul class="nav nav-children">
                        <li  onclick="location.href='?ne=uye&islem=uyeler'" class="">
                            <a class="nav-link musers" href="?ne=uye&islem=uyeler"><?php echo ctranslate("Tüm ".$t25."");?></a>
                        </li>
                        <?php if(($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y1_uyeler"]<>0)){?>
                            <li class="mfrm" data-width="50%" data-toggle="modal" data-target="#myModal" data-url="modules/public/add.php?ne=uye&islem=uyeler" data-title="<?php echo ctranslate("Yeni ".$t25s[0]."");?>" data-ref="?ne=uye&islem=uyeler"><a class="nav-link"><?php echo ctranslate("Yeni ".$t25s[0]."");?></a></li>
                        <?php }?>
                        <?php if($a8==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and ($_SESSION["y21_uye_import"]==1 or $_SESSION["y21_uye_export"]==1)))){?>
                            <li class="nav-parent"> <a class="nav-link" href="#">Excel</a>
                                <ul class="nav nav-children">
									<?php if($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and ($_SESSION["y21_kayit_import"]==3))){?>
                                        <li><a class="mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/xls/xls.php?ne=uye&islem=xls&durum=ixls" data-title="Import">Import</a></li>
                                    <?php }?>
                                    <?php if($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and ($_SESSION["y21_kayit_export"]==3))){?>
                                        <li><a class="mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/xls/xls.php?ne=uye&islem=xls&durum=exls" data-title="Export">Export</a></li>
                                    <?php }?>
                                </ul>
                            </li>
                        <?php }?>
                        <?php if($h4>0 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y9"]<>0))){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/categories.php?ne=uye&islem=<?php if($module["ajax_categories"]<>""){echo "categories";}else{echo "kategori";}?>" data-title="<?php echo ctranslate("Kategoriler")?>"><a class="nav-link"><?php echo ctranslate("Kategoriler")?></a></li>
                        <?php }?>
                        <?php if($module["uye_relations"]=="1" and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y16"]<>0))){?>
                            <li onclick="location.href='?ne=uye&islem=relations'"><a class="nav-link" href="?ne=uye&islem=relations"><?php echo ctranslate("".$t25s[0]." İlişkileri")?></a></li>
                        <?php }?>
                    </li>
                </ul>
            </li>
        <?php }?>
        <?php if($m13==1 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y5"]<>0))){?>
            <li class="nav-parent <?php if($_GET["ne"]=="sayfa"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa-solid fa-file"></i> <span><?php echo ctranslate($t21);?></span></a>
                <ul class="nav nav-children">
                    <li onclick="location.href='?ne=sayfa&islem=sayfa'"><a class="nav-link" href="?ne=sayfa&islem=sayfa"><?php echo ctranslate("Tüm ".$t21."");?></a></li>
                    <li  class="mfrm" data-width="50%" data-toggle="modal" data-target="#myModal" data-url="modules/public/add.php?ne=sayfa&islem=sayfa" data-title="<?php echo ctranslate("Yeni ".$t21s[0]."");?>" data-ref="?ne=sayfa&islem=sayfa"><a class="nav-link"><?php echo ctranslate("Yeni  ".$t21s[0]." Ekle")?></a></li>
                    <?php if($d10>0 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y9"]<>0))){?>
                        <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/categories.php?ne=sayfa&islem=<?php if($module["ajax_categories"]<>""){echo "categories";}else{echo "kategori";}?>" data-title="<?php echo ctranslate("Kategoriler")?>"><a class="nav-link"><?php echo ctranslate("Kategoriler")?></a></li>
                    <?php }?>
                </ul>
            </li>
        <?php }?>

        <?php if($m11==1 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y4"]<>0))){?>
            <li class="nav-parent <?php if($_GET["ne"]=="haber"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa-solid fa-file-lines"></i> <span><?php echo ctranslate($t22);?></span></a>
                <ul class="nav nav-children">
                    <li onclick="location.href='?ne=haber&islem=sayfa'"><a class="nav-link" href="?ne=haber&islem=sayfa"><?php echo ctranslate("Tüm ".$t22."");?></a></li>
                    <li class="mfrm" data-width="50%" data-toggle="modal" data-target="#myModal" data-url="modules/public/add.php?ne=haber&islem=sayfa&durum=ysayfa&s2=<?php echo $_GET["s2"];?>" data-title="<?php echo ctranslate("Yeni ".$t22."");?>" data-ref="?ne=haber&islem=sayfa"><a class="nav-link"><?php echo ctranslate("Yeni ".$t22." Ekle")?></a></li>
                    <?php if($a8==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and ($_SESSION["y21_uye_import"]==1 or $_SESSION["y21_uye_export"]==1)))){?>
                        <li class="nav-parent"><a class="nav-link" href="#">Excel</a>
                            <ul class="nav nav-children">
                                <?php if($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and ($_SESSION["y21_haber_import"]==3))){?>
                                    <li onclick="location.href='?ne=haber&islem=xls&durum=ixls'"><a class="nav-link" href="?ne=haber&islem=xls&durum=ixls">Import</a></li>
                                <?php }?>
<!--
                                    <?php if($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and ($_SESSION["y21_haber_export"]==3))){?>
                                        <li onclick="location.href='?ne=haber&islem=xls&durum=exls'"><a class="nav-link" href="?ne=haber&islem=xls&durum=exls">Export</a></li>
                                    <?php }?>
                                -->
                            </ul>
                        </li>
                    <?php }?>
                    <?php if($b1>0 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y9"]<>0))){?>
                        <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/categories.php?ne=haber&islem=<?php if($module["ajax_categories"]<>""){echo "categories";}else{echo "kategori";}?>" data-title="<?php echo ctranslate("Kategoriler")?>"><a class="nav-link"><?php echo ctranslate("Kategoriler")?></a></li>
                    <?php }?>
                </ul>
            </li>
        <?php }?>

		<?php if($module["repairs"]==1){?>
            <li class="nav-parent <?php if($_GET["ne"]=="repairs"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa fa-tools"></i> <span><?php echo $module["repairs_text"];?></span></a>
                <ul class="nav nav-children">
                    <li onclick="location.href='?ne=repairs&islem=repairs'"><a class="nav-link" href="?ne=repairs&islem=repairs"><?php echo $module["repairs_text"];?></a></li>
                    <li class="mfrm" data-width="50%" data-toggle="modal" data-target="#myModal" data-url="modules/repairs/repair.php?ne=repairs&islem=repair" data-title="<?php echo $module["repairs_text"];?>" data-ref="?ne=repairs&islem=repairs"><a class="nav-link"><?php echo $module["repairs_text"];?> Ekle</a></li>
                </ul>
            </li>
        <?php }?>

        <?php $sqlx=mysqli_query($conn, "select id,n1,n2,n3 from genel where ne='xmodules' order by s10 asc,id desc"); while($rsx=mysqli_fetch_assoc($sqlx)){
            $xmode = explode('-',$rsx["n1"]);
            if($_GET["ne"]==$rsx["n2"]){$nedir=str_replace("-","",$rsx["n1"]); $xmodule=$xmode[0];}
            ?>
            <?php if((($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["ym_".$rsx["id"].""]<>0))){?>
                <li class="nav-parent <?php if($_GET["ne"]==$rsx["n2"]){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="<?php echo $rsx["n3"]?>" aria-hidden="true"></i> <span><?php echo ctranslate(str_replace("-","",$rsx["n1"]))?></span></a>
                    <ul class="nav nav-children">
                        <li onclick="location.href='?ne=<?php echo $rsx["n2"]?>&islem=sayfa'"><a class="nav-link" href="?ne=<?php echo $rsx["n2"]?>&islem=sayfa"><?php echo ctranslate("Tüm ".str_replace("-","",$rsx["n1"])."")?></a></li>
                        
                        <li class="mfrm" data-width="50%" data-toggle="modal" data-target="#myModal" data-url="modules/public/add.php?ne=<?php echo $rsx["n2"]?>&islem=sayfa" data-ref="?ne=<?php echo $rsx["n2"]?>&islem=sayfa" data-title="<?php echo ctranslate("Yeni ".$xmode[0]."")?>"><a class="nav-link"><?php echo ctranslate("Yeni ".$xmode[0]." Ekle")?></a></li>
                        
                        <?php if($module["d10_".$rsx["n2"].""]>0){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/categories.php?ne=<?php echo $rsx["n2"]?>&islem=<?php if($module["ajax_categories"]<>""){echo "categories";}else{echo "kategori";}?>" data-title="<?php echo ctranslate("Kategoriler")?>"><a class="nav-link"><?php echo ctranslate("Kategoriler")?></a></li>
                        <?php }?>
                    </ul>
                </li>
            <?php }}?>
            <?php if($c1=="1" and $_SESSION["kim"]=="Admin"){?>
                <li class="nav-parent <?php if($_GET["ne"]=="msayfa"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa fa-paper-plane" aria-hidden="true"></i> <span><?php echo ctranslate($n8);?></span></a>
                    <ul class="nav nav-children">
                        <li onclick="location.href='?ne=msayfa&islem=sayfa'"><a class="nav-link" href="?ne=msayfa&islem=sayfa"><?php echo ctranslate("Tüm ".$n8);?></a></li>
                        <li class="mfrm" data-width="50%" data-toggle="modal" data-target="#myModal" data-url="modules/public/add.php?ne=msayfa&islem=sayfa" data-ref="?ne=msayfa&islem=sayfa" data-title="<?php echo ctranslate("Yeni ".$n8s[0]." Ekle")?>"><a class="nav-link"><?php echo ctranslate("Yeni ".$n8s[0]." Ekle")?></a></li>
                        <?php if($g7>0 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y9"]<>0))){?>
                            <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/categories.php?ne=msayfa&islem=<?php if($module["ajax_categories"]<>""){echo "categories";}else{echo "kategori";}?>" data-title="<?php echo ctranslate("Kategoriler")?>"><a class="nav-link"><?php echo ctranslate("Kategoriler")?></a></li>                       
                        <?php }?>
                    </ul>
                </li>
            <?php }?>
            <?php if($g9<>0 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y8_teklifler"]<>0))){?>
                <li class="nav-parent <?php if($_GET["ne"]=="service"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa-solid fa-wand-magic-sparkles"></i> <span><?php echo ctranslate($t36); //Servis?></span></a>
                    <ul class="nav nav-children">
                        <li class="" onclick="location.href='?ne=service&islem=service'"><a class="nav-link" href="?ne=service&islem=service"><?php echo ctranslate("Tüm ".$t36); //Servis?></a></li>
                        <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/add.php?ne=service&islem=service" data-ref="?ne=service&islem=service" data-title="<?php echo ctranslate("Yeni ".$t36s[0]." Ekle")?>"><a class="nav-link"><?php echo ctranslate("Yeni ".$t36s[0]." Ekle")?></a></li>
                    </ul>
                </li>
            <?php }?>
            <?php if($module["price_list"]<>0){?>
                <li class="nav-parent mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/add.php?ne=price_list&islem=price_list" data-title="<?php echo $module["price_list_text"]?>"><a class="nav-link" href="#"><i class="fa-solid fa-wand-magic-sparkles"></i> <span><?php echo $module["price_list_text"]?></span></a></li>
            <?php }?>
            <?php if($s20<>0 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y13"]<>0))){?>
                <li class="nav-parent <?php if($_GET["ne"]=="gorev"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa-solid fa-share-nodes"></i> <span><?php echo ctranslate($task); //Görev?></span></a>
                    <ul class="nav nav-children">
                        <li><a class="nav-link" href="?ne=gorev&islem=gorev"><?php echo ctranslate("Tüm ".$task); //Görev?></a></li>
                        <li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/add.php?ne=gorev&islem=gorev&durum=ygorev" data-ref="?ne=gorev&islem=gorev" data-title="<?php echo ctranslate("Yeni ".$tasks[0]." Ekle")?>"><a class="nav-link" ><?php echo ctranslate("Yeni ".$tasks[0]." Ekle")?></a></li>
                    </ul>
                </li>
            <?php }?>
            <?php if($module["request"]==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y17"]<>0))){?>
                <li class="nav-parent <?php if($_GET["ne"]=="request"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa-solid fa-receipt"></i> <span><?php echo ctranslate(telefon($module["requests"]));?></span></a>
                    <ul class="nav nav-children">
                        <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y17_talepler"]<>0))){?>
                            <li onclick="location.href='?ne=request&islem=request'"><a class="nav-link"><?php echo ctranslate("Tüm Talepler")?></a></li>
                        <?php }?>
                        <?php $sqlax=mysqli_query($conn, "select * from genel where ne='menu' and t7='request' and s3=0 and s2=0 order by s1 asc"); while($rsax=mysqli_fetch_assoc($sqlax)){$jsla = json_decode($rsax["n1"],true);?>
                        <?php if(($rsax["t8"]<>"" and $_SESSION["kim"]=="yonetici") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y15"]==1) or ($_SESSION["kim"]=="Admin")){?>
                            <?php if($rsax["t6"]=="myModal"){?>
                                <li class="<?php if($rsax["t8"]==""){echo "e";};?>"><a class="nav-link mfrm" data-toggle="modal" data-width="90%" data-target="#<?php echo $rsax["t6"];?>" data-url="<?php echo mlinked($rsax["id"]);?>" data-title="<?php echo $jsla[$_SESSION["lang"]];?>"><?php echo $jsla[$_SESSION["lang"]];?></a></li>
                            <?php }else{?>
                                <li class="<?php if($rsax["t8"]==""){echo "e";};?>"><a class="nav-link" target="<?php echo $rsax["t6"];?>" href="<?php echo mlinked($rsax["id"]);?>"><?php echo $jsla[$_SESSION["lang"]];?></a></li>
                            <?php }?>
                        <?php }?>
                    <?php }?>
                </ul>
            </li>
        <?php }?>
        <?php if(($m8>0 or $c8<>0 or $m18<>0 or $m6<>0 or $m7<>0 or $module["gtaslak"]=="1" or $e2==1) and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y27"]<>0))){ ?>
            <li class="nav-parent <?php if($_GET["ne"]=="mesajlar"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa-solid fa-envelope-open-text"></i> <span><?php echo ctranslate($t26);?></span></a>
                <ul class="nav nav-children">
                    <?php if($m8>0 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y27_mesaj"]==1))){?><li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="Help Desk" data-url="modules/messages/messages.php"><a class="nav-link"><?php echo ctranslate("Mesajlar")?></a></li><?php }?>
                    <?php if($c8==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y27_mesaj"]==1))){?><li onclick="location.href='?ne=mesajlar&islem=fmesaj'"><a class="nav-link" href="?ne=mesajlar&islem=fmesaj"><?php echo ctranslate("Form Mesajlar")?></a></li><?php }?>
                    <?php
                    $t=0; $sqlt=mysqli_query($conn, "select * from genel where ne='tanim' and t2='email' and s13=1 order by id asc"); $rst=mysqli_fetch_assoc($sqlt);
                    if(mysqli_num_rows($sqlt)>0){
                        ?>
                        <li onclick="location.href='?ne=Inbox&islem=mailbox&mID=0'"><a class="nav-link" href="?ne=Inbox&islem=mailbox&mID=0"><?php echo ctranslate("Webmail")?></a></li>
                    <?php }?>
                    <?php if($m18<>0 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y27_yorum"]==1))){?><li onclick="location.href='?ne=mesajlar&islem=yorum'"><a class="nav-link" href="?ne=mesajlar&islem=yorum"><?php echo ctranslate("Yorumlar")?></a></li><?php }?>
                    <?php if($m7<>0 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y27_tmail"]==1))){?><li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="<?php echo ctranslate("Toplu Mail")?>" data-url="modules/messages/message_email.php?ne=mesajlar&islem=tmail"><a class="nav-link"><?php echo ctranslate("Toplu Mail")?></a></li><?php }?>
                    <?php if($m6<>0 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y27_tsms"]==1))){?><li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="<?php echo ctranslate("Toplu Sms")?>" data-url="modules/messages/message_sms.php?ne=mesajlar&islem=tsms"><a class="nav-link"><?php echo ctranslate("Toplu Sms")?></a></li><?php }?>
                    <?php if($module["app_notifications"]<>0 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y27_notifications"]==1))){?><li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="<?php echo ctranslate("Toplu Bildirim")?>" data-url="modules/messages/message_notifications.php?ne=mesajlar&islem=notifications"><a class="nav-link"><?php echo ctranslate("Toplu Bildirim")?></a></li><?php }?>
                    <?php if(($m6<>0 or $m7<>0) and $MSA==1){?><li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-url="modules/messages/message_unsubscribes.php" data-title="<?php echo ctranslate("Abonelikten Çıkanlar")?>"><a class="nav-link"><?php echo ctranslate("Abonelikten Çıkanlar")?></a></li><?php }?>
                    <?php if($module["gtaslak"]==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y27_taslak"]<>0))){?><li class="mfrm" data-toggle="modal" data-target="#myModal" data-width="90%" data-title="<?php echo $sablonlar; //sablonlar?>" data-url="modules/public/templates.php?ne=mesajlar&islem=sablon"><a class="nav-link"><?php echo $sablonlar; //sablonlar?></a></li><?php }?>
                    <?php if($e2==1 and ($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y20"]<>0))){?><li><a class="nav-link" onclick="toggle('#smodal')" href="modules/live_chat/" target="fsm"><?php echo ctranslate("Online Destek")?></a></li><?php }?>
                </ul>
            </li>
        <?php }?>
        <?php if($_SESSION["kim"]<>"yonetici" and tanim("email","n3",$_SESSION["user_id"])=="mail.".$_SERVER['HTTP_HOST'].""){?>
            <script type="text/JavaScript" language="JavaScript">
                    //jQuery(document).ready(function(){ jQuery('#mcount').load('fonksiyon.php?islem=mcount&id=<?php echo $_SESSION["user_id"];?>');});
            </script>
            <li><a class="nav-link" href="?ne=Inbox&islem=mailbox"> <span class="float-right badge badge-primary" style="background: #0088CC;" id="mcount"></span> <i class="fa fa-envelope" aria-hidden="true"></i> <span><?php echo ctranslate("Gelen Kutusu")?></span> </a></li>
        <?php }?>
        <?php if($c7==1 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y8"]<>0))){?>
            <li class="nav-parent <?php if($_GET["ne"]=="muhasebe"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fas fa-file-invoice"></i> <span><?php echo ctranslate("Muhasebe")?></span></a>
                <ul class="nav nav-children">
                    <?php if($module["muhasebe_kasa"]=="1"){?>
                        <li class="mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/ecommerce/ecommerce_banks.php" data-title="<?php echo ctranslate("Banka(lar)")?>"><a class="nav-link"><?php echo ctranslate("Banka(lar)")?></a></li>
                        <li onclick="location.href='?ne=muhasebe&islem=kasa'"><a class="nav-link" href="?ne=muhasebe&islem=kasa"><?php echo ctranslate("Kasa");?></a></li>
                        <li onclick="location.href='?ne=muhasebe&islem=nakit_akis'"><a class="nav-link" href="?ne=muhasebe&islem=nakit_akis"><?php echo ctranslate("Nakit Akış");?></a></li>
                    <?php }?>
                    <?php if($module["muhasebe_cek"]=="1"){?>
                        <li  class="mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/accounting/accounting_bank_cheque.php?ne=muhasebe&islem=cek" data-title="<?php echo ctranslate("Çek(ler)")?>"><a class="nav-link"><?php echo ctranslate("Çek(ler)")?></a></li>
                    <?php }?>
                    <?php if($module["muhasebe_senet"]=="1"){?>
                        <li class="mfrm" data-toggle="modal" data-target="#myModal"  data-width="90%" data-url="modules/accounting/accounting_bill.php?ne=muhasebe&islem=senet" data-title="<?php echo ctranslate("Senet(ler)")?>"><a class="nav-link"><?php echo ctranslate("Senet(ler)")?></a></li>
                    <?php }?>
                    <?php if($module["muhasebe_fis"]=="1"){?>
                        <li class="mfrm" data-width="25%" data-toggle="modal" data-target="#myModal" data-url="modules/accounting/accounting_select_firm.php" data-title="<?php echo $t25;?>"><a class="nav-link"><?php echo $t25;?></a></li>
                        <li class="" onclick="location.href='?ne=muhasebe&islem=fis'"><a class="nav-link" href="?ne=muhasebe&islem=fis"><?php echo ctranslate("Fiş Listesi")?></a></li>
                        <li class="mfrm" data-width="50%" data-toggle="modal" data-target="#myModal" data-url="modules/public/add.php?ne=muhasebe&islem=fis&durum=yfis" data-ref="?ne=muhasebe&islem=fis" data-title="<?php echo ctranslate("Yeni Fiş")?> {<?php echo $_SESSION["fName"]?>}"><a class="nav-link"><?php echo ctranslate("Fiş Ekle")?></a></li>
                        <li class="nav-parent">
                            <a href="#"><?php echo ctranslate("Raporlar")?></a>
                            <ul class="nav nav-children" style="">
                                <li><a class="nav-link mfrm" data-width="90%" data-toggle="modal" data-target="#myModal" data-url="modules/print/fis/muavin.php" data-title="<?php echo ctranslate("Muavin")?>"><?php echo ctranslate("Muavin")?></a></li>
                                <li><a class="nav-link mfrm" data-width="90%" data-toggle="modal" data-target="#myModal" data-url="modules/print/fis/mizan.php" data-title="<?php echo ctranslate("Mizan")?>"><?php echo ctranslate("Mizan")?></a></li>
                                <li><a class="nav-link mfrm" data-width="90%" data-toggle="modal" data-target="#myModal" data-url="modules/print/fis/bilanco.php" data-title="<?php echo ctranslate("Bilanço")?>"><?php echo ctranslate("Bilanço")?></a></li>
                                <li><a class="nav-link mfrm" data-width="90%" data-toggle="modal" data-target="#myModal" data-url="modules/print/fis/kar-zarar.php" data-title="<?php echo ctranslate("Kar/Zarar")?>"><?php echo ctranslate("Kar/Zarar")?></a></li>
                            </ul>
                        </li>
                        <li class="mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/print/fis/degerleme.php" data-title="<?php echo ctranslate("Değerleme")?>"><a class="nav-link" href="#"> <span><?php echo ctranslate("Değerleme")?></span></a>
                        <?php }?>
                        <?php if($module["muhasebe_fatura"]=="1"){?>
                            <li class="" onclick="location.href='?ne=muhasebe&islem=fatura'"><a class="nav-link" href="?ne=muhasebe&islem=fatura"><?php echo ctranslate("Faturalar")?></a></li>
                        <?php }?>
                    </ul>
                </li>
            <?php }?>
            <?php if($m17==1 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y11"]<>0))){?>
                <li class="nav-parent <?php if($_GET["ne"]=="notlar"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa fa-calendar" aria-hidden="true"></i> <span><?php echo ctranslate("E-Ajanda")?></span></a>
                    <ul class="nav nav-children">
                        <li onclick="location.href='?ne=notlar&islem=notlar'"><a class="nav-link mcalender" href="?ne=notlar&islem=notlar"><?php echo ctranslate("Etkinlik Takvim")?></a></li>
                        <li onclick="location.href='?ne=notlar&islem=keep'"><a class="nav-link" href="?ne=notlar&islem=keep"><?php echo ctranslate("Keep")?></a></li>
                    </ul>
                </li>
            <?php }?>
            <?php if($m9==1 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y7"]<>0))){?>
                <li class="nav-parent <?php if($_GET["ne"]=="reklam"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa-solid fa-rectangle-ad"></i> <span><?php echo ctranslate("Reklamlar")?></span></a>
                    <ul class="nav nav-children">
                        <li onclick="location.href='?ne=reklam&islem=reklam'"><a class="nav-link" href="?ne=reklam&islem=reklam"><?php echo ctranslate("Tüm Reklamlar")?></a></li>
                        <?php if(($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y7"]>=2)){?>
                            <li onclick="location.href='?ne=reklam&islem=reklam&durum=yreklam'"><a class="nav-link" href="?ne=reklam&islem=reklam&durum=yreklam"><?php echo ctranslate("Yeni Reklam")?></a></li>
                        <?php }?>
                        <?php if((($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y9"]<>0))){?><li class="mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/categories.php?ne=reklam&islem=<?php if($module["ajax_categories"]<>""){echo "categories";}else{echo "kategori";}?>" data-title="<?php echo ctranslate("Kategoriler")?>"><a class="nav-link"><?php echo ctranslate("Kategoriler")?></a></li><?php }?>
                    </ul>
                </li>
            <?php }?>
            <?php if($c2==1 and (($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y27_form"]<>0))){?>
                <li class="nav-parent <?php if($_GET["ne"]=="form"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa fa-list-alt"></i> <span><?php echo ctranslate("Formlar")?></span></a>
                    <ul class="nav nav-children">
                        <li class="mfrm" data-width="90%" data-toggle="modal" data-target="#myModal" data-url="modules/forms/forms.php?ne=form&islem=form" data-title="<?php echo ctranslate("Tüm Formlar")?>"><a class="nav-link"><?php echo ctranslate("Tüm Formlar")?></a></li>
                        <li class="mfrm" data-toggle="modal" data-width="50%" data-target="#myModal" data-url="modules/public/add.php?ne=form&islem=form" data-title="<?php echo ctranslate("Yeni Form Ekle")?>"><a class="nav-link"><?php echo ctranslate("Yeni Form Ekle")?></a></li>
                    </ul>
                </li>
            <?php }?>
            <?php $sqlax=mysqli_query($conn, "select * from genel where ne='menu' and t7='menu' and s3=0 and s2=0 order by s1 asc"); while($rsax=mysqli_fetch_assoc($sqlax)){$jsla = json_decode($rsax["n1"],true);?>
            <?php $sqlbx=mysqli_query($conn, "select * from genel where ne='menu' and t7='menu' and s3=0 and s2=".$rsax["id"]." order by s1 asc");?>
            <li class="<?php echo $rsax["t8"];?> <?php if(($_SESSION["kim"]=="Admin") or ($_SESSION["user_id"]==$rsax["s19"]) or $rsax["t8"]<>""){echo "db";}else{echo "dn";}?> <?php if(mysqli_num_rows($sqlbx)>0){echo "nav-parent";}?>">
                <?php if($rsax["t6"]=="myModal"){?>
                    <a class="nav-link mfrm" data-toggle="modal" data-width="90%" data-target="#<?php echo $rsax["t6"];?>" data-url="<?php echo mlinked($rsax["id"]);?>" data-title="<?php echo $jsla[$_SESSION["lang"]];?>"><i class="<?php echo $rsax["t3"];?>" aria-hidden="true"></i> <span><?php echo $jsla[$_SESSION["lang"]];?></span></a>
                <?php }else{?>
                    <a class="nav-link" target="<?php echo $rsax["t6"];?>" href="<?php echo mlinked($rsax["id"]);?>"><i class="<?php echo $rsax["t3"];?>" aria-hidden="true"></i> <span><?php echo $jsla[$_SESSION["lang"]];?></span></a>
                <?php }?>
                <?php if(mysqli_num_rows($sqlbx)>0){?>
                    <ul class="nav nav-children">
                        <?php while($rsbx=mysqli_fetch_assoc($sqlbx)){$jslb = json_decode($rsbx["n1"],true);?>
                        <?php if($rsbx["t6"]=="myModal"){?>
                            <li class="<?php if($rsbx["t8"]==""){echo "e";};?>"><a class="nav-link mfrm" data-width="90%" data-toggle="modal" data-target="#<?php echo $rsbx["t6"];?>" data-url="<?php echo mlinked($rsbx["id"]);?>" data-title="<?php echo $jslb[$_SESSION["lang"]];?>"><?php echo $jslb[$_SESSION["lang"]];?></a></li>
                        <?php }else{?>
                            <li class="<?php if($rsbx["t8"]==""){echo "e";};?>"><a class="nav-link" target="<?php echo $rsax["t6"];?>" href="<?php echo mlinked($rsbx["id"]);?>"><?php echo $jslb[$_SESSION["lang"]];?></a></li>
                        <?php }?>
                    <?php }?>
                </ul>
            <?php }?>
        </li>
    <?php }?>
    <?php if(($_SESSION["kim"]=="Admin") or ($_SESSION["kim"]=="yonetici" and $_SESSION["y3"]<>0)){?>
        <li class="nav-parent <?php if($_GET["ne"]=="ayarlar"){?>nav-expanded nav-active<?php }?>"><a class="nav-link" href="#"><i class="fa-solid fa-sliders"></i> <span><?php echo ctranslate("Ayarlar")?></span></a>
            <ul class="nav nav-children">
                <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y3_ayar"]==1))){?>
                    <li class="mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/public/settings_modal.php?ne=ayarlar&islem=ayarlar" data-title="Ayarlar"><a class="nav-link"><?php echo ctranslate("Genel Ayarlar")?></a></li>
                <?php }?>
                <li onclick="location.href='?ne=ayarlar&islem=menu'"><a class="nav-link" href="?ne=ayarlar&islem=menu"><?php echo ctranslate("Menü Yönetimi")?></a></li>
                <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y3_tanim"]==1))){?>
                    <li class="mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/public/definitions.php?ne=ayarlar&islem=tanimlar" data-title="<?php echo ctranslate("Tanımlar")?>"><a class="nav-link"><?php echo ctranslate("Tanımlar")?></a></li>
                <?php }?>
                <?php if(!empty($m1)){?>
                    <li class="mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/public/translate.php?ne=ayarlar&islem=translate" data-title="<?php echo ctranslate("Translate")?>"><a class="nav-link">Translate</a></li>
                <?php }?>
                <?php if($module["m1_crm"]<>"" and $module["crm_translate"]<>1 and $MSA==1){?>
                    <li><a class="nav-link mfrm" data-width="90%" data-toggle="modal" data-target="#myModal" data-url="modules/public/translate_crm.php" data-title="Translate(Crm)">Translate(Crm)</a></li>
                <?php }?>
                <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y3_tasarim"]==1))){?>
                    <li class="mfrm" data-toggle="modal" data-width="90%" data-target="#myModal" data-url="modules/public/settings_modal.php?ne=ayarlar&islem=design" data-title="<?php echo ctranslate("Tasarım")?>"><a class="nav-link"><?php echo ctranslate("Tasarım")?></a></li>
                <?php }?>
                <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y3_ozel_alan"]==1))){?>
                    <li class="mfrm" data-width="90%" data-toggle="modal" data-target="#myModal" data-url="modules/public/inputs.php" data-title="<?php echo ctranslate("Özel Alan")?>"><a class="nav-link"><?php echo ctranslate("Özel Alan")?></a></li>
                <?php }?>
                <?php if($MSA==1){?>
                    <li class="mfrm" data-toggle="modal" data-width="75%" data-target="#myModal" data-url="modules/public/xmodules.php" data-title="+Modules"><a class="nav-link">+Modules</a></li>
                <?php }?>
                <?php if(($_SESSION["kim"]=="Admin" or ($_SESSION["kim"]=="yonetici" and $_SESSION["y3_backup"]==1))){?>
                    <li><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-title="Backup+" data-url="modules/public/backup<?php echo $ver;?>.php"><?php //echo $sdil[33]; //Sql Yedek?>Backup</a></li>
                <?php }?>
                <?php if($module["loc"]<>""){?>
                    <li><a class="nav-link mfrm" data-width="50%" data-toggle="modal" data-target="#myModal" data-title="<?php echo ctranslate("Bölge Yönetimi")?>" data-url="modules/public/locations.php"><?php echo ctranslate("Bölge Yönetimi")?></a></li>
                <?php }?>
            </ul>
        </li>
    <?php }?>
    <?php if($module["crm"]<>1 and ($_SESSION["kim"]=="Admin" or $_SESSION["y15"]<>0)){?>
        <li class="nav-parent"><a class="nav-link" href="#"><i class="fa fa-search" aria-hidden="true"></i> <span><?php echo ctranslate("Seo işlemleri")?></span></a>
            <ul class="nav nav-children">
                <?php $url0 = array('http://','www'); $url1 = array('',''); ?>
                    <li class="icon_search msa"><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="modules/public/seo_group.php" data-title="<?php echo ctranslate("Seo işlemleri")?>"><?php echo ctranslate("Seo işlemleri")?></a></li>
                <?php if($module["seo_auto"]<>"1"){?>
                    <li class="icon_search mfrm" data-width="75%" data-toggle="modal" data-target="#myModal" data-title="<?php echo ctranslate("Site İçi Linkleme")?>" data-url="modules/public/seo_link.php"><a class="nav-link"><?php echo ctranslate("İç Link")?></a></li>
                <?php }?>
                <li class="icon_search msa mfrm" data-width="75%" data-toggle="modal" data-target="#myModal" data-title="<?php echo ctranslate("Seo Reporu")?>" data-url="modules/public/seo_report.php"><a class="nav-link"><?php echo ctranslate("Seo Reporu")?></a></li>
                <li class="icon_search"><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="//cdn.<?php echo $cdnurl?>/seo/seo-analiz.php?url=<?php echo $weburl;?>"  data-title="<?php echo ctranslate("Seo Analiz")?>" target="islem" onClick="openwin1();"><?php echo ctranslate("Seo Analiz")?></a></li>
                <li class="icon_search"><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="//cdn.<?php echo $cdnurl?>/seo/site-analiz.php?url=<?php echo $weburl;?>" data-title="<?php echo ctranslate("Site Analiz")?>" target="islem" onClick="openwin1();"><?php echo ctranslate("Site Analiz")?></a></li>
                <li class="icon_search msa"><a class="nav-link mfrm" data-toggle="modal" data-target="#myModal" data-url="//index.<?php echo $cdnurl?>?url=<?php echo str_replace("www.","",$_SERVER['SERVER_NAME']);?>"  data-title="<?php echo ctranslate("Google Index")?>" target="islem" onClick="openwin();"><?php echo ctranslate("Google Index")?></a></li>
            </ul>
        </li>
    <?php }?>
    
</ul>
</nav>
<hr class="separator">
</div>       
</div>