📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
makalesatisscripti.demodesign.com.tr
📝
yazilanmakaleler.php
← Geri Dön
<?php include ('config.php'); include ('system/inc/sitedata.php'); if (!isset($_SESSION['login'])){ echo " <meta http-equiv='refresh' content='1;URL=index.php'> "; exit(); } ?> <!DOCTYPE html> <html lang="en"> <?php include ('system/inc/header.php'); ?> <div class="main-panel"> <div class="content-wrapper"> <div class="row"> <div class="col-md-12 grid-margin"> <div class="row"> <div class="col-12 col-xl-8 mb-4 mb-xl-0"> <h3 class="font-weight-bold text-primary">Sayın <?=$adsoyad;?></h3> <h6 class="font-weight-normal mb-0">Yeniden seni görmek ne kadar güzel! <span class="text-primary"><?=$site_name;?></span></h6> </div> </div> </div> </div> <div class="row"> <div class="col-md-12 grid-margin stretch-card"> <div class="card"> <div class="card-body"> <p class="card-title mb-0">Yazdığınız Makaleler </p><br> <div class="row"> <div class="col-md-12"> <div class="alert alert-danger"> <strong>BİLGİ : </strong> Eğer bir makale yazdıysanız ve beklemedeyken bu alandan kaybolduysa, makale iptal edilmiştir! </div> </div> </div> <div class="table-responsive"> <input type="text" id="myInput" class="form-control" onkeyup="myFunction()" placeholder="Başlık - Anahtar Kelime Giriniz"> <table id="myTable" class="table table-striped table-borderless"> <thead> <tr> <th>Başlık</th> <th>Ücret</th> <th>Kelime</th> <th>Durum</th> </tr> </thead> <tbody> <?php $query_r = mysqli_query($connect, "SELECT * FROM makalegorev WHERE alanuye = '$userid'"); if (mysqli_affected_rows($connect)){ $i = 1; while ($fetch_r = mysqli_fetch_array($query_r)){ if($fetch_r['durum'] == 1){ $durumYaz = '<span class="badge badge-primary">GÖNDERİLDİ/BEKLEMEDE</span>'; } if($fetch_r['durum'] == 2){ $durumYaz = '<span class="badge badge-warning">GÖNDERİLDİ</span>'; } if($fetch_r['durum'] == 3){ $durumYaz = '<span class="badge badge-success">ONAYLANDI</span>'; } if($fetch_r['durum'] == 4){ $durumYaz = '<span class="badge badge-danger">İPTAL EDİLDİ</span>'; } ?> <tr class="active"> <td><?php echo $fetch_r['makalebaslik']; ?></td> <td ><span class="badge badge-primary"><?php echo $fetch_r['makalefiyat']; ?> ₺</span></td> <td ><span class="badge badge-success"><?php echo $fetch_r['kelimesayisi']; ?></span></td> <td ><?php echo $durumYaz; ?></td> </tr> <?php $i++;} }else{ ?> <tr class="active"> <th scope="row">0</th> <td>Makale</td> <td>Henüz</td> <td>Yok</td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <?php include ('system/inc/footer.php'); ?> <script> function myFunction() { // Declare variables var input, filter, table, tr, td, i, txtValue; input = document.getElementById("myInput"); filter = input.value.toUpperCase(); table = document.getElementById("myTable"); tr = table.getElementsByTagName("tr"); // Loop through all table rows, and hide those who don't match the search query for (i = 0; i < tr.length; i++) { td = tr[i].getElementsByTagName("td")[0]; if (td) { txtValue = td.textContent || td.innerText; if (txtValue.toUpperCase().indexOf(filter) > -1) { tr[i].style.display = ""; } else { tr[i].style.display = "none"; } } } } </script> </body> </html>
💾 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