<?php echo !defined("GUVENLIK") ? die("Vaoww! Bu ne cesaret?") : null;?>

<?php
$yoneticisql = $db->prepare("select * from yonetici where user_adi = '$_SESSION[admin_username]' order by id");
$yoneticisql->execute();
$yonetici = $yoneticisql->fetch(PDO::FETCH_ASSOC);

$mesajj = $db->prepare("select * from mesaj where durum='1' order by id desc");
$mesajj->execute();

$sipariss = $db->prepare("select * from siparis where siparis_durum='0' order by id desc");
$sipariss->execute();

$insankaynaklari = $db->prepare("select * from insan_kaynaklari where durum='1' order by id desc");
$insankaynaklari->execute();
?>
<aside class="left-sidebar" >
    <!-- Sidebar scroll-->
    <div class="scroll-sidebar" >
        <!-- User Profile-->
        <div class="user-profile">
            <div class="user-pro-body">
                <?php
                if ($yonetici[foto] == null) {
                ?>
                <div><img src="support/images/user_default.png" alt="user-img" class="img-circle"></div>
                <?php } else {?>
                <div><img src="../assets/images/users/<?=$yonetici[foto]?>" alt="user-img" class="img-circle"></div>
                <?php }?>
                <div class="dropdown">
                    <a href="javascript:void(0)" class="dropdown-toggle u-dropdown link hide-menu" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><?=$yonetici[isim]?> <span class="caret"></span></a>
                    <div class="dropdown-menu animated flipInY">
                        <!-- text-->
                        <a style="font-size:13px;" href="pages.php?sayfa=yoneticiler&yonetici_id=<?=$yonetici[id]?>" class="dropdown-item"><i class="ti-user"></i> Profilim</a>
                        <a style="font-size:13px;" href="pages.php?sayfa=sifredegistir" class="dropdown-item"><i class="mdi mdi-key"></i> Şifre Değişikliği</a>
                        <!-- text-->

                        <!-- text-->
                        <div class="dropdown-divider"></div>
                        <!-- text-->
                        <a href="logout.php" class="dropdown-item"><i class="fa fa-power-off"></i> Çıkış Yap</a>
                        <!-- text-->
                    </div>
                </div>
            </div>
        </div>
        <!-- Sidebar navigation-->
        <nav class="sidebar-nav">
            <ul id="sidebarnav" style="font-family: 'Open Sans', Arial; ">

                <li class="nav-small-cap" style="background-color:#F8F8F8; text-align: left; border-bottom:1px dashed #EBEBEB;border-top:1px dashed #EBEBEB; padding: 5px 0 5px 0">
                    <a href="pages.php?sayfa=bakimmodu" >
                        <span class="text-dark" style="font-size:13px;">BAKIM MODU
                        <?php if($bakim[durum] == 1 ){ ?><i class="fa fa-toggle-on text-success" style="float:left; margin-top: 3px"></i><?php } else {?>
                            <i class="fa fa-toggle-off text-muted" style="float:left; margin-top: 3px"></i>
                        <?php }?>
                        </span>
                    </a>
                </li>


                <li class="nav-small-cap"><span style="padding-left: 15px;"> SİTE GENEL</span></li>

                <li>
                    <a  class="waves-effect waves-dark" href="../index.html" target="_blank" ><i class="fa fa-home"></i><span class="hide-menu">Siteye Gidin</span></a>
                </li>

                <li>
                    <a  class="waves-effect waves-dark" href="index.php" ><i class="icon-speedometer"></i><span class="hide-menu">Gösterge Paneli</span></a>
                </li>


                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="ti-settings"></i><span class="hide-menu">Ayarlar</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=siteayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Site Ayarları</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=temaayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Tema Ayarları</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=loaderayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Pre-Loader Ayarları</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=smtpayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> SMTP Ayarları</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=smsayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> SMS Ayarları</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=iletisimayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> İletişim Bilgileri</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=kodekle"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Kod Ekleme</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=cookies"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Çerezler Anlaşması</a></li>
                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="icon-basket"></i><span class="hide-menu">Ticaret Ayarları</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=ticariayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Ticari Ayarlar</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=posayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> POS Ayarları</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=bilgikutulari"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Bilgi Kutuları</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=satissozlesmesi"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Satış Sözleşmesi</a></li>
                    </ul>
                </li>

                <li> <a class="waves-effect waves-dark" href="pages.php?sayfa=diller" aria-expanded="false"><i class="ti-world"></i><span class="hide-menu">Dil Seçimleri</span></a> </li>

                <li> <a class="waves-effect waves-dark" href="pages.php?sayfa=mesajlar" aria-expanded="false"><i class="ti-email"></i><span class="hide-menu">Gelen Kutusu

                            <?php if($mesajj->rowCount()>0) {?>
                            <span class="badge badge-pill badge-info text-white ml-auto" style="margin-top: 2px">

                                <?php echo $mesajj->rowCount();?>

                            </span>
                            <?php } else {}?>


                        </span></a>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="ti-menu"></i><span class="hide-menu">Header Menü</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=headermenu"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Menüleri Gör</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=headermenuayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Header Ayarları</a></li>

                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="mdi mdi-tag-multiple"></i><span class="hide-menu">Footer Menü</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=footermenu"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Menüleri Gör</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=footermenuayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Footer Ayarları</a></li>

                    </ul>
                </li>

                <li> <a class="waves-effect waves-dark" href="pages.php?sayfa=modulsiralama" aria-expanded="false"><i class="ti-layout-grid2"></i><span class="hide-menu">Modül Sıralamaları</span></a> </li>

                <li> <a class="waves-effect waves-dark" href="pages.php?sayfa=pageheaders" aria-expanded="false"><i class="ti-pin-alt"></i><span class="hide-menu">Sayfa Bannerları</span></a> </li>

                <li> <a class="waves-effect waves-dark" href="pages.php?sayfa=popupmodul" aria-expanded="false"><i class="mdi mdi-home-modern"></i><span class="hide-menu">Açılış Popup</span></a> </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="ti-location-arrow"></i><span class="hide-menu">E-Bülten</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=ebultenlistesi"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Kayıtlı Adresler</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=ebultengonder"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Toplu E-Posta Gönder</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=tekilmailgonder"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Tekil E-Posta Gönder</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=ebultenayar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> E-Bülten Modül Ayarı</a></li>

                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="ti-comments"></i><span class="hide-menu">SMS Sistemi</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=smsnumaralar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Kayıtlı Numaralar</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=toplusmsgonder"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Toplu SMS Gönder</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=tekilsmsgonder"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Tekil SMS Gönder</a></li>
                    </ul>
                </li>

                <li> <a class="waves-effect waves-dark" href="pages.php?sayfa=yonetici" aria-expanded="false"><i class="mdi mdi-account-edit"></i><span class="hide-menu">Yöneticiler</span></a> </li>



                <li class="nav-small-cap"><span style="padding-left: 15px;"> ÜRÜN YÖNETİMİ</span></li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="ti-dropbox"></i><span class="hide-menu">Ürünler</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=urunkategorileri"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Ürün Kategorileri</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=urunekle"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Ürün Ekle</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=urunler"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Ürünleri Gör</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=urunmodul"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Ürün Modül Ayarı</a></li>
                    </ul>
                </li>

                <li> <a class="waves-effect waves-dark" href="pages.php?sayfa=siparisler" aria-expanded="false"><i class="icon-handbag"></i><span class="hide-menu">Siparişler

                         <?php if($sipariss->rowCount()>0) {?>
                             <span class="badge badge-pill badge-dark text-white ml-auto" style="margin-top: 2px">

                                <?php echo $sipariss->rowCount();?>

                            </span>
                         <?php } else {}?>


                        </span></a>

                </li>

                <li> <a class="waves-effect waves-dark" href="pages.php?sayfa=kataloglar" aria-expanded="false"><i class="mdi mdi-file-pdf-box"></i><span class="hide-menu">E-Katalog</span></a>

                </li>

                <li class="nav-small-cap"><span style="padding-left: 15px;"> MODÜLLER</span></li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="ti-layout-slider"></i><span class="hide-menu">Slider</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=sliderekle"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Slider Ekle</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=sliderlar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Tüm Sliderlar</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=slidermodul"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Slider Modül Ayarı</a></li>
                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="icon-equalizer"></i><span class="hide-menu">Orta Slider</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=ortasliderekle"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Orta Slider Ekle</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=ortasliderlar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Tüm Orta Sliderlar</a></li>
                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="icon-support"></i><span class="hide-menu">Hizmetler</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=hizmetekle"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Hizmet Ekle</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=hizmetler"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Hizmetleri Gör</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=hizmetmodul"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Hizmet Modül Ayarı</a></li>
                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="mdi mdi-wrench"></i><span class="hide-menu">Projeler</span></a>
                    <ul aria-expanded="false" class="collapse">
                        <li><a style="font-size:13px;" href="pages.php?sayfa=projekategorileri"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Proje Kategorileri</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=projeekle"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Proje Ekle</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=projeler"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Projeleri Gör</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=projemodul"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Proje Modül Ayarı</a></li>
                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="ti-files"></i><span class="hide-menu">Sayfa Yönetimi</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li><a style="font-size:13px;" href="pages.php?sayfa=hakkimizdasayfa"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Hakkımızda Sayfası</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=sayfaekle"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Yeni Sayfa Ekle</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=sayfalar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> HTML Sayfalar</a></li>
                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="icon-pencil"></i><span class="hide-menu">Blog Yazıları</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li><a style="font-size:13px;" href="pages.php?sayfa=blogekle"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Yeni Blog Ekle</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=bloglar"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Blog Yazılarını Gör</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=blogmodul"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Blog Modül Ayarı</a></li>
                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="mdi mdi-table-edit"></i><span class="hide-menu">Pricing Table</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li><a style="font-size:13px;" href="pages.php?sayfa=pricingekle"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Yeni Tablo Ekle</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=pricingler"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> TÜm Tabloları Gör</a></li>
                        <li><a style="font-size:13px;" href="pages.php?sayfa=pricingmodul"><i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i> Tablo Modül Ayarı</a></li>
                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="ti-gallery"></i><span class="hide-menu">Foto Galeri</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=galeriekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yeni Galeri Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=galeriler">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Galeriler
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=galerimodul">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Galeri Modül Ayarı
                            </a>
                        </li>
                       </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="mdi mdi-youtube-play"></i><span class="hide-menu">Video Galeri</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=videoekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yeni Video Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=videolar">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Videolar
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=videomodul">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Video Modül Ayarı
                            </a>
                        </li>
                    </ul>
                </li>


                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="icon-bubbles"></i><span class="hide-menu">Müşteri Yorumları</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=yorumekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yeni Yorum Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=yorumlar">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Yorumlar
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=yorummodul">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yorum Modül Ayarı
                            </a>
                        </li>
                    </ul>
                </li>


                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="fa fa-registered"></i><span class="hide-menu">Marka/Referanslar</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=markaekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yeni Marka Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=markalar">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Markalar
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=markamodul">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Marka Modül Ayarı
                            </a>
                        </li>
                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="mdi mdi-format-align-left"></i><span class="hide-menu">Belgeler</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=belgeekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yeni Belge Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=belgeler">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Belgeler
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=belgemodul">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Belgeler Modül Ayarı
                            </a>
                        </li>
                    </ul>
                </li>


                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="mdi mdi-account-switch"></i><span class="hide-menu">Ekip Yönetimi</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=ekipekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yeni Üye Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=ekipler">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Ekip Üyeleri
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=ekipmodul">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Ekip Modül Ayarı
                            </a>
                        </li>
                    </ul>
                </li>



                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="mdi mdi-bank"></i><span class="hide-menu">Banka Hesapları</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=bankaekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yeni Hesap Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=bankalar">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Banka Hesapları
                            </a>
                        </li>

                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="mdi mdi-format-list-numbers"></i><span class="hide-menu">Sayaç</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=sayacekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yeni Sayaç Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=sayaclar">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Sayaçlar
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=sayacmodul">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Sayaç Modül Ayarı
                            </a>
                        </li>

                    </ul>
                </li>


                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="mdi mdi-help-circle"></i><span class="hide-menu">Sık Sorulanlar</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=soruekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yeni Soru Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=sorular">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Sorular
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=sorumodul">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Soru Modül Ayarı
                            </a>
                        </li>
                    </ul>
                </li>


                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="ti-bookmark"></i><span class="hide-menu">Özellik Sistemi</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=ozellikekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Yeni Özellik Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=ozellikler">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Özellikler
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=ozellikmodul">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Özellik Modül Ayarı
                            </a>
                        </li>
                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="mdi mdi-needle"></i><span class="hide-menu">Tetikleyiciler</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=usttetikleyiciler">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Üst Tetikleyici
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=alttetikleyiciler">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Alt Tetikleyici
                            </a>
                        </li>

                    </ul>
                </li>

                <li> <a class="has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">
                        <i class="mdi mdi-star-circle"></i><span class="hide-menu">Beceriler</span></a>
                    <ul aria-expanded="false" class="collapse" >
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=beceriekle">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Beceri Ekle
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=beceriler">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Tüm Beceriler
                            </a>
                        </li>
                        <li>
                            <a style="font-size:13px;" href="pages.php?sayfa=becerimodul">
                                <i class="fa fa-circle-o text-info" style="font-size:9px; margin-top: 6px; margin-right: 5px; float:left; margin-left:-20px"></i>
                                Beceri Modül Ayarı
                            </a>
                        </li>

                    </ul>
                </li>

                <li> <a class="waves-effect waves-dark" href="pages.php?sayfa=insankaynaklari" aria-expanded="false">
                        <i class="mdi mdi-account"></i><span class="hide-menu">İnsan Kaynakları
                        <?php if($insankaynaklari->rowCount()>0) {?>
                            <span class="badge badge-pill badge-purple text-white ml-auto" style="margin-top: 2px">

                                <?php echo $insankaynaklari->rowCount();?>

                            </span>
                        <?php } else {}?>
                        </span></a>
                </li>

                <li> <a class="waves-effect waves-dark" href="pages.php?sayfa=sosyalmedyalar" aria-expanded="false">
                        <i class="mdi mdi-share-variant"></i><span class="hide-menu">Sosyal Medyalar </span></a>
                </li>


                <li class="nav-small-cap"><span style="padding-left: 15px;"> OTURUM</span></li>

                <li> <a class="waves-effect waves-dark" href="logout.php" aria-expanded="false">
                        <i class="mdi mdi-power"></i><span class="hide-menu">Çıkış Yap</span></a>
                </li>

        </nav>
        <!-- End Sidebar navigation -->
    </div>
    <!-- End Sidebar scroll-->
</aside>
