📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
esnafbul.demodesign.com.tr
📝
mesajlar.php
← Geri Dön
<?php include "includes/header.php"; $uyeid = $uyecek['id']; ?> <?php if(empty($_SESSION['oturum'])) { header("Location:$ayar[site_url]"); } ?> <title>Gelen Mesajlar</title> <!-- Banner --> <div class="section-space--sm bg-neutral-900"> <div class="container"> <div class="row g-4 align-items-center"> <div class="col-md-6"> <h1 class="d4 clr-neutral-0 mb-3"> Gelen Mesajlar</h1> <ul class="list list-row list-arrow align-items-center"> <li> <a href="#" class="link d-inline-block clr-neutral-0 :clr-tertiary-300"> Anasayfa </a> </li> <li> <a href="#" class="link d-inline-block clr-tertiary-300"> Gelen Mesajlar </a> </li> </ul> </div> <div class="col-md-6"> <div class="text-md-end"> <a href="cikis.php" class="link d-inline-flex align-items-center gap-2 py-3 px-6 rounded-pill bg-neutral-700 :bg-primary-300"> <span class="material-symbols-outlined mat-icon clr-neutral-0"> logout </span> <span class="d-inline-block clr-neutral-0 fw-semibold"> Çıkış Yap </span> </a> </div> </div> </div> </div> </div> <!-- /Banner --> <!-- Dashboard --> <div class="section-space--sm pt-0 position-relative z-1"> <span class="w-100 h-30 position-absolute start-0 end-0 top-0 z-n1 bg-neutral-900"></span> <div class="container"> <div class="row g-4"> <?php include "includes/sidebar.php"; ?> <div class="col-md-7 col-lg-8 col-xl-9"> <div class="p-6 p-xl-10 rounded-4 bg-neutral-0 shadow-3"> <div class="d-flex flex-wrap justify-content-between align-items-center gap-4"> <h3 class="mb-0 flex-grow-1"> Gelen Mesajlar </h3> </div> <div class="hr-line my-6"></div> <div class="table-responsive"> <table class="table table-borderless mb-0"> <thead class="table-light table-primary-50"> <tr> <th class="px-5 py-4 fw-medium text-center"> İsim Soyisim </th> <th class="px-5 py-4 fw-medium text-center"> Telefon </th> <th class="px-5 py-4 fw-medium text-center"> E-Posta </th> <th class="px-5 py-4 fw-medium text-center"> Durum </th> <th class="px-5 py-4 fw-medium text-center"> İşlemler </th> </tr> </thead> <tbody> <?php $refsor=$db->prepare("select * from firmamesaj where uye_id='$uyeid' order by id DESC"); $refsor->execute(); if ($refsor->rowCount()){ while ($ser=$refsor->fetch(PDO::FETCH_ASSOC)) { ?> <tr> <td class="px-5 py-3 text-center" style="vertical-align: middle"> <?php echo $ser['isim'] ?> </td> <td class="px-5 py-3 text-center" style="vertical-align: middle"> <?php echo $ser['telno'] ?> </td> <td class="px-5 py-3 text-center" style="vertical-align: middle"> <?php echo $ser['eposta'] ?> </td> <td class="px-5 py-3 text-center"> <?php if($ser['durum'] == 1) { ?> <span style="background-color: #00a6ca;color: white" class="btn btn-sm">Okunmadı</span> <?php } ?> <?php if($ser['durum'] == 0) { ?> <span style="background-color: #5d5d5d;color: white" class="btn btn-sm">Okundu</span> <?php } ?> </td> <td class="px-5 py-3 text-center"> <a onclick="deletebutton('<?=$ser['id']?>')" class="link d-inline-block text-center clr-neutral-500 :clr-primary-300 p-2 lh-1" style="cursor: pointer;"> <span class="material-symbols-outlined mat-icon"> delete </span> </a> <a href="mesaj/<?php echo seo($ser['id'])?>" class="link d-inline-block text-center clr-neutral-500 :clr-primary-300 p-2 lh-1"> <span class="material-symbols-outlined mat-icon"> visibility </span> </a> </td> </tr> <?php }?> <?php }else{?> <div class="col-xl-12 col-lg-12"> <h5>Henüz iletişim mesajı gelmedi...</h5> </div> <?php }?> </tbody> </table> </div> </div> </div> </div> </div> </div> <!-- /Dashboard --> <script type="text/javascript"> function deletebutton(firmamesajid){ swal({ title: "Silmek İstediğinize Emin Misiniz?", text: "Seçtiğiniz içerik kalıcı olarak silinecektir", type: "warning", showCancelButton: true, confirmButtonColor: "#af0000", confirmButtonText: "Sil", cancelButtonText: "İptal", closeOnConfirm: false, closeOnCancel: false }, function(isConfirm){ if (isConfirm) { window.location.href = "includes/post/firmamesaj-sil.php?firmamesaj=success&id="+firmamesajid; } else { swal("İptal Edildi", "Seçtiğiniz içerik silinmemiştir", "error"); } }); } </script> <?php include "includes/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