<?php if(!defined("Hacking")){die("404 Not Found"); } ?>

<div class="body-content animated bounceInDown">
  <!-- MasteRs -->
  <div class="row">
      <?php if ($Site->modul_ayarlari('anasayfaurunler') != "pasif") { ?>
    <div class="col-md-2 col-sm-2 col-lg-2">
      <div class="mini-stat clearfix bg-primary bg-success"> <span class="mini-stat-icon"><i class="fa fa-sitemap"></i></span>
        <div class="mini-stat-info text-right"> <span>
          <?php  echo $Admin->toplam_kategori(); ?>
          </span> Kategori</div>
        <div class="tiles-progress"></div>
      </div>
    </div>
    <div class="col-md-2 col-sm-2 col-lg-2">
      <div class="mini-stat clearfix bg-purple bg-danger"> <span class="mini-stat-icon"><i class="fa fa-shopping-cart"></i></span>
        <div class="mini-stat-info text-right"> <span>
          <?php  echo $Admin->toplam_urun(); ?>
          </span> Ürün</div>
        <div class="tiles-progress"></div>
      </div>
    </div>
    <div class="col-md-2 col-sm-2 col-lg-2">
      <div class="mini-stat clearfix bg-red bg-info"><span class="mini-stat-icon"><i class="fa fa-cart-arrow-down"></i></span>
        <div class="mini-stat-info text-right"><span>
        <?php  echo $Admin->toplam_siparisler(); ?>
        </span> Sipariş</div>
        <div class="tiles-progress"></div>
      </div>
    </div>
    <?php } ?>
    <?php if ($Site->modul_ayarlari('blog') != "kapali") { ?>
    <div class="col-md-2 col-sm-2 col-lg-2">
      <div class="mini-stat clearfix bg-red bg-primary"><span class="mini-stat-icon"><i class="fa fa-newspaper-o"></i></span>
        <div class="mini-stat-info text-right"><span>
      <?php  echo $Admin->toplam_blog(); ?>
    </span> Blog</div>
        <div class="tiles-progress"></div>
      </div>
    </div>
    <?php } ?>
    <div class="col-md-2 col-sm-2 col-lg-2">
      <div class="mini-stat clearfix bg-red bg-info"><span class="mini-stat-icon"><i class="fa fa-envelope-o"></i></span>
        <div class="mini-stat-info text-right"><span>
        <?php  echo $Admin->toplam_iletisim(); ?>
        </span> Mesaj</div>
        <div class="tiles-progress"></div>
      </div>
    </div>
    <div class="col-md-2 col-sm-2 col-lg-2">
      <div class="mini-stat clearfix bx-shadow bg-warning"><span class="mini-stat-icon"><i class="fa fa-users"></i></span>
        <div class="mini-stat-info text-right"> <span>
          <?php  echo $Admin->tekil_ziyaretci_gunluk(); ?>
        </span> Tekil Ziyaretçi</div>
        <div class="tiles-progress"></div>
        <a title="Sıfırla" onclick="itemsil('1','','Tekil Ziyaretçi İstatistiği','tekilreset');" style="color:white;">

        <i class="fa fa-trash" aria-hidden="true" style="position:absolute;right:20px;top:10px;font-size:14px;"></i></a>
      </div>
    </div>
  </div>
  <!-- MasteRs -->
  <div class="panel panel-lilac animated zoomInUp">
    <div class="panel-heading">
      <h3 class="panel-title">Merhaba, <?php echo @session('adsoyad'); ?> (<span title="Giriş Yapan Admin: <?php echo @session('username'); ?>"><?php echo @session('username'); ?></span>)</h3>
    </div>
    <div class="panel-body">
      <p style="font-size:20px;">
        <?php echo $_SERVER["HTTP_HOST"];?> web site kontrol paneline <b>hoşgeldin! </b> Yapmak istediğiniz değişiklikler için sol menüden seçim yapıp işlem yapabilirsiniz.</p>
    </div>
  </div>
</div>
