📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
smmscripti.demodesign.com.tr
/
admin
📝
index.php
← Geri Dön
<?php include 'include/header.php'; ?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> </ol> </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <div class="alert alert-success"> <?php echo $ayarcek["site_title"]; ?> | Yönetim Paneline Hoş Geldiniz! </div> <!-- Small boxes (Stat box) --> <div class="row"> <div class="col-lg-3 col-6"> <!-- small box --> <div class="small-box bg-info"> <div class="inner"> <h3><?php $paketler = $db->prepare("SELECT count(*) FROM paketler"); $paketler->execute(); $pktsay = $paketler->fetchColumn(); if($pktsay > 0){ echo $pktsay; } else{ echo "0"; } ?></h3> <p>Toplam Paketler</p> </div> </div> </div> <!-- ./col --> <div class="col-lg-3 col-6"> <!-- small box --> <div class="small-box bg-info"> <div class="inner"> <h3><?php $kutular = $db->prepare("SELECT count(*) FROM kutular"); $kutular->execute(); $kutusay = $kutular->fetchColumn(); if($kutusay > 0){ echo $kutusay; } else{ echo "0"; } ?></h3> <p>Toplam Kutular</p> </div> </div> </div> <!-- ./col --> <div class="col-lg-3 col-6"> <!-- small box --> <div class="small-box bg-info"> <div class="inner"> <h3><?php $siparisler = $db->prepare("SELECT count(*) FROM siparisler"); $siparisler->execute(); $sipsay = $siparisler->fetchColumn(); if($sipsay > 0){ echo $sipsay; } else{ echo "0"; } ?></h3> <p>Toplam Siparişler</p> </div> </div> </div> <!-- ./col --> <div class="col-lg-3 col-6"> <!-- small box --> <div class="small-box bg-info"> <div class="inner"> <h3><?php $iletisimformu = $db->prepare("SELECT count(*) FROM iletisimformu"); $iletisimformu->execute(); $fmsay = $iletisimformu->fetchColumn(); if($fmsay > 0){ echo $fmsay; } else{ echo "0"; } ?></h3> <p>Gelen Mesajlar</p> </div> </div> </div> <!-- ./col --> </div> <!-- /.row --> </div> <!-- /.card --> </section> <section class="container"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <h3 class="card-title">Son Siparişler</h3> <!-- /.card-header --> <div class="card-body table-responsive p-0"> <table class="table table-hover text-nowrap"> <thead> <tr> <th>ID</th> <th>Sipariş Kodu</th> <th>Paket Adı</th> <th>Müşteri Adı</th> <th>Gönderi Linki</th> <th>İşlemler</th> </tr> </thead> <tbody> <?php $siparisler = $db->prepare("SELECT * FROM siparisler ORDER BY siparis_id DESC"); $siparisler->execute(); $siparislercek = $siparisler->fetchALL(PDO::FETCH_ASSOC); foreach ($siparislercek as $row) { ?> <tr> <td><?php echo $row["siparis_id"]; ?></td> <td><?php echo $row["siparis_kodu"]; ?></td> <td><?php echo $row["siparis_adi"]; ?></td> <td><?php echo $row["siparis_adsoyad"]; ?></td> <td><?php echo $row["siparis_link"]; ?></td> <td> <a href="siparis-goruntule?siparis_id=<?php echo $row["siparis_id"]; ?>"><button class="btn btn-xs btn-primary"><span class="glyphicon-edit"></span>Görüntüle</button></a> </tr> <?php } ?> </tbody> </table> </div> <!-- right col --> </div> <!-- /.row (main row) --> </div><!-- /.container-fluid --> </section> <!-- /.content --> </div> <?php include 'include/footer.php'; ?>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula