📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
b2be-ticaretscripti.demodesign.com.tr
/
boss
/
pages
📝
toplueposta.php
← Geri Dön
<?php if (isset($_GET['temizle'])) { $id = temizle($_GET['temizle']); $sayfasil = $ozy->prepare("delete from tiletisim where id='$id'"); $sayfasil->execute(array($id)); if ($sayfasil) { echo '<script type="text/javascript">$(document).ready(function(){toastr["success"]("Başarıyla veri silindi.", "Başarılı");});</script>'; } } ?> <div class="container-fluid"> <div class="row page-title"> <div class="col-sm-6"> <h3>Gelen Kutusu</h3> </div> <div class="col-sm-6"> <nav> <ol class="breadcrumb justify-content-sm-end align-items-center"> <li class="breadcrumb-item"> <a href="/boss/anasayfa.php"> <svg class="svg-color"> <use href="datas/svg/iconly-sprite.svg#Home"></use> </svg> </a> </li> <li class="breadcrumb-item active">Gelen Kutusu</li> </ol> </nav> </div> </div> </div> <div class="container-fluid ecommerce-dashboard"> <div class="row"> <div class="col-12 col-md-4"> <div class="card m-b-30"> <div class="card-body table-responsive"> <a href="eposta-gonder" class="btn btn-danger rounded btn-custom btn-block waves-effect waves-light" style="width: 100%;">Toplu Eposta Gönder</a> <br> <div class="mail-list m-t-10" style="display: flex;"> <a href="gelen-kutusu" style="width: 25%; text-align: center;"> <div style="margin: 5px; background: black; color: white; border-radius: 5px; padding: 5px;"> <span class="float-right"> <?php $gelen = $ozy->prepare("SELECT COUNT(*) FROM iletisim"); $gelen->execute(); $gelenmesajsayisi = $gelen->fetchColumn(); echo $gelenmesajsayisi; ?> </span> <i class="ti-archive mr-2"></i> Gelen </div> </a> <a href="gelen-kutusu?s=1" style="width: 25%; text-align: center;"> <div style="margin: 5px; background: black; color: white; border-radius: 5px; padding: 5px;"> <span class="float-right"> <?php $giden = $ozy->prepare("SELECT COUNT(*) FROM iletisim where giden='1'"); $giden->execute(); $gidenmesajsayisi = $giden->fetchColumn(); echo $gidenmesajsayisi; ?> </span> <i class="ti-location-arrow mr-2"></i> Cevaplanan </div> </a> <a href="gelen-kutusu?s=2" style="width: 25%; text-align: center;"> <div style="margin: 5px; background: black; color: white; border-radius: 5px; padding: 5px;"> <span class="float-right"> <?php $silinen = $ozy->prepare("SELECT COUNT(*) FROM iletisim where durum='0'"); $silinen->execute(); $silinenmesajsayisi = $silinen->fetchColumn(); echo $silinenmesajsayisi; ?> </span> <i class="ti-trash mr-2"></i> Silinen </div> </a> <a href="toplu-eposta" class="active" style="width: 25%; text-align: center;"> <div style="margin: 5px; background: black; color: white; border-radius: 5px; padding: 5px;"> <span class="float-right"> <?php $toplu = $ozy->prepare("SELECT COUNT(*) FROM tiletisim"); $toplu->execute(); $toplueposta = $toplu->fetchColumn(); echo $toplueposta; ?> </span> <i class="ti-pencil mr-2"></i>Toplu Eposta </div> </a> </div> </div> </div> </div> <div class="col-12 col-md-8"> <div class="card m-b-30"> <div class="card-body table-responsive"> <a href="eposta-gonder" style="width: 100%;" class="btn btn-success waves-effect waves-lightt">Toplu Eposta Gönder</a> <br><br> <table class="table" id="table_gets"> <thead> <tr> <th>Toplu Eposta Adı</th> <th>Konu</th> <th>Durumu</th> <th>Tarih</th> <th>İşlem</th> </tr> </thead> <tbody> <?php $pr = $ozy->query("select * from tiletisim ORDER BY id DESC")->fetchAll(PDO::FETCH_ASSOC); foreach ($pr as $tr) { ?> <tr> <td><?php echo $tr['adi']?></td> <td><?php echo $tr['konu']?></td> <td> <?php if($tr['durum']=='1'){?> <span style="font-size: 13px;" class="badge badge-success">Gönderildi</span> <?php } else { ?> <span style="font-size: 13px;" class="badge badge-pill badge-danger">Gönderilmedi</span> <?php } ?> </td> <td><?php echo $tr['tarih']?></td> <td> <a href="toplu-eposta?temizle=<?php echo $tr['id']; ?>" onclick="return confirm('Silmek istediğinize emin misiniz ?')" class="btn btn-sm btn-danger" data-toggle="tooltip" data-original-title="Sil"><i class="fas fa-trash" aria-hidden="true"></i></a> <a href="eposta-duzenle/<?php echo $tr['id']?>" class="btn btn-sm btn-success" data-toggle="tooltip" data-original-title="Düzenle"><i class="fa fa-edit" aria-hidden="true"></i></a> </td> </tr> <?php }?> </tbody> </table> </div> </div> </div> </div> </div>
💾 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