<?php if(!defined("Hacking")){die("404 Not Found"); } ?>
<br>
<aside id="sidebar-left" class="sidebar-circle scrollbar">
  <ul id="tour-9" class="sidebar-menu">
    <li class="<?= (!isset($_GET['do']) ? 'active' : null) ?>"> <a href="index.php"> <span class="icon"><i class="fa fa-home"></i></span> <span class="text">Başlangıç</span> </a> </li>
	<li class="<?= (@$_GET['do'] == 'site-ayarlari' ? 'active' : null) ?>"> <a href="index.php?do=site-ayarlari"> <span class="icon"><i class="fa fa-cogs"></i></span> <span class="text">Site Ayarları</span> </a> </li>
    <li class="<?= (@$_GET['do'] == 'modul_ayarlari' ? 'active' : null) ?>"> <a href="index.php?do=modul_ayarlari"> <span class="icon"><i class="fa fa-magic"></i></span> <span class="text">Modül Ayarları</span> </a> </li>
      <?php if ($Admin->modul_ayarlari('anasayfaurunler') != "pasif") { ?>
	  	<li class="sidebar-category">
                        <span>ÜRÜN YÖNETİMİ</span>
                        <span class="pull-right"><i class="fa fa-shopping-cart"></i></span>
                    </li>
    <li class="<?= (@$_GET['do'] == 'siparisler' ? 'active' : null) ?>"> <a href="index.php?do=siparisler"> <span class="icon"><i class="fa fa-cart-arrow-down"></i></span> <span class="text">Siparişler
      &nbsp;<span class="badge badge-info" style="font-size:14px;"><?php  echo $Admin->toplam_siparisler(); ?></span></span> </a> </li>
    <li class="submenu <?= (@$_GET['do'] == 'kategori' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-sitemap"></i></span> <span class="text">Ürün Kategori</span> <span class="arrow"></span> </a>
      <ul>
        <li><a href="index.php?do=kategori&ekle">Yeni Kategori Ekle</a></li>
        <li><a href="index.php?do=kategori">Kategori Listesi</a></li>
      </ul>
    </li>
    <li class="submenu <?= (@$_GET['do'] == 'urun' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-shopping-cart"></i></span> <span class="text">Ürün</span> <span class="arrow"></span> </a>
      <ul>
        <li><a href="index.php?do=urun&ekle">Yeni Ürün Ekle</a></li>
        <li><a href="index.php?do=urun">Ürün Listesi</a></li>
      </ul>
    </li>
    <?php } ?>
		<li class="sidebar-category">
                        <span>MODÜL YÖNETİMİ</span>
                        <span class="pull-right"><i class="fa fa-magic"></i></span>
                    </li>
					    <li class="<?= (@$_GET['do'] == 'iletisim' ? 'active' : null) ?>"> <a href="index.php?do=iletisim"> <span class="icon"><i class="fa fa-envelope-o"></i></span> <span class="text">Mesajlar
      &nbsp;<span class="badge badge-info" style="font-size:14px;"><?php  echo $Admin->toplam_iletisim(); ?></span></span> </a> </li>
    <li class="submenu <?= (@$_GET['do'] == 'sayfa' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-file-text-o"></i></span> <span class="text">Sayfa</span> <span class="arrow"></span> </a>
      <ul>
        <li><a href="index.php?do=sayfa&ekle">Yeni Sayfa Ekle</a></li>
        <li><a href="index.php?do=sayfa">Sayfa Listesi</a></li>
      </ul>
    </li>
	        <li class="submenu <?= (@$_GET['do'] == 'slider' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-picture-o"></i></span> <span class="text">Ana Sayfa Slayt</span> <span class="arrow"></span> </a>
          <ul>
            <li><a href="index.php?do=slider&ekle">Yeni Slayt Ekle</a></li>
            <li><a href="index.php?do=slider">Slayt Listesi</a></li>
          </ul>
        </li>
    <?php if ($Admin->modul_ayarlari('multimedya') != "kapali") { ?>
    <li class="submenu"><a href="javascript:void(0);"> <span class="icon"><i class="fa fa-picture-o"></i></span> <span class="text">Multimedya</span> <span class="arrow"></span> </a>
      <ul>
        <?php if ($Admin->modul_ayarlari('multimedya') != "videogaleriaktif") { ?>
        <li class="submenu <?= (@$_GET['do'] == 'galeri' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-camera"></i></span> <span class="text">Foto Galeri</span> <span class="arrow"></span> </a>
          <ul>
            <li><a href="index.php?do=galeri&ekle">Yeni Foto Ekle</a></li>
            <li><a href="index.php?do=galeri">Fotoğraf Listesi</a></li>
          </ul>
        </li>
        <?php } ?>
        <?php if ($Admin->modul_ayarlari('multimedya') != "fotogaleriaktif") { ?>
        <li class="submenu <?= (@$_GET['do'] == 'video' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-video-camera"></i></span> <span class="text">Video Galeri</span> <span class="arrow"></span> </a>
          <ul>
            <li><a href="index.php?do=video&ekle">Yeni Video Ekle</a></li>
            <li><a href="index.php?do=video">Video Listesi</a></li>
          </ul>
        </li>
        <?php } ?>
      </ul>
    </li>
    <?php } ?>
        <?php if ($Site->modul_ayarlari('ekibimiz') == "aktif") { ?>
        <li class="submenu <?= (@$_GET['do'] == 'personel' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-users"></i></span> <span class="text">Ekibimiz</span> <span class="arrow"></span> </a>
          <ul>
            <li><a href="index.php?do=personel&ekle">Yeni Ekle</a></li>
            <li><a href="index.php?do=personel">Ekip Listesi</a></li>
          </ul>
        </li>
        <?php } ?>
        <?php if ($Site->modul_ayarlari('hizmetler') == "aktif") { ?>
        <li class="submenu <?= (@$_GET['do'] == 'hizmetler2' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-globe"></i></span> <span class="text">Hizmetler</span> <span class="arrow"></span> </a>
          <ul>
            <li><a href="index.php?do=hizmetler2&ekle">Yeni Hizmet Ekle</a></li>
            <li><a href="index.php?do=hizmetler2">Hizmet Listesi</a></li>
          </ul>
        </li>
        <?php } ?>
        <?php if ($Site->modul_ayarlari('blog') != "kapali") { ?>
        <li class="submenu <?= (@$_GET['do'] == 'blog' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-newspaper-o"></i></span> <span class="text">Blog</span> <span class="arrow"></span> </a>
          <ul>
            <li><a href="index.php?do=blog&ekle">Yeni Blog Ekle</a></li>
            <li><a href="index.php?do=blog">Blog Listesi</a></li>
          </ul>
        </li>
        <?php } ?>
        <?php if ($Site->modul_ayarlari('sss') == "aktif") { ?>
        <li class="submenu <?= (@$_GET['do'] == 'sss' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-question-circle"></i></span> <span class="text">S.S.S.</span> <span class="arrow"></span> </a>
          <ul>
            <li><a href="index.php?do=sss&ekle">SSS Ekle</a></li>
            <li><a href="index.php?do=sss">SSS Listesi</a></li>
          </ul>
        </li>
        <?php } ?>
        <?php if ($Site->modul_ayarlari('anasayfamarkalar') == "aktif") { ?>
        <li class="submenu <?= (@$_GET['do'] == 'markalar' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-camera"></i></span> <span class="text">Markalar</span> <span class="arrow"></span> </a>
          <ul>
            <li><a href="index.php?do=markalar&ekle">Yeni Marka Ekle</a></li>
            <li><a href="index.php?do=markalar">Marka Listesi</a></li>
          </ul>
        </li>
        <?php } ?>
        <?php if ($Site->modul_ayarlari('referanslar') == "aktif") { ?>
        <li class="submenu <?= (@$_GET['do'] == 'referans' ? 'active' : null) ?>"> <a href="javascript:void(0);"> <span class="icon"><i class="fa fa-camera"></i></span> <span class="text">Referanslar</span> <span class="arrow"></span> </a>
          <ul>
            <li><a href="index.php?do=referans&ekle">Yeni Referans Ekle</a></li>
            <li><a href="index.php?do=referans">Referans Listesi</a></li>
          </ul>
        </li>
        <?php } ?>
    <li class="<?= (@$_GET['do'] == 'programhakkinda' ? 'active' : null) ?>"> <a href="index.php?do=programhakkinda"> <span class="icon"></span> <span style="font-size:18px;" class="text"><span class="badge label label-primary"><i class="fa fa-code"></i> Yazılım Hakkında</span></span> </a> </li>
  </ul>
</aside>
<section id="page-content">
