⚠️ **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/_pages
Dosya Düzenle: index.php
<?= $this->extend('layout/default') ?> <?= $this->section('content') ?> <h2>Pages</h2> <a href="<?= site_url('admin/pages/create') ?>" class="btn btn-primary mb-3">Add New Page</a> <?php if(session()->getFlashdata('success')): ?> <div class="alert alert-success"><?= session()->getFlashdata('success') ?></div> <?php endif; ?> <table class="table table-bordered"> <thead> <tr> <th>ID</th> <th>Title</th> <th>Menu ID</th> <th>Status</th> <th>Actions</th> </tr> </thead> <tbody> <?php foreach($pages as $page): ?> <tr> <td><?= $page['id'] ?></td> <td><?= esc($page['page_title']) ?></td> <td><?= esc($page['menu_id']) ?></td> <td><?= $page['status'] ? 'Active' : 'Inactive' ?></td> <td> <a href="<?= site_url('admin/pages/edit/'.$page['id']) ?>" class="btn btn-warning btn-sm">Edit</a> <a href="<?= site_url('admin/pages/delete/'.$page['id']) ?>" onclick="return confirm('Are you sure?')" class="btn btn-danger btn-sm">Delete</a> </td> </tr> <?php endforeach; ?> </tbody> </table> <?= $pager->links() ?> <?= $this->endSection() ?>
Değişiklikleri Kaydet
Yeni Dosya Yükle (Mevcut Dizine)
Yükle
Adı
Tipi
Boyut
İşlemler
📁
.. (Üst Dizin)
📄 create.php
Dosya
1.66 KB
Düzenle
Sil
📄 edit.php
Dosya
1.79 KB
Düzenle
Sil
📄 index.php
Dosya
1.12 KB
Düzenle
Sil
Sorun Giderme (Shell Erişimi)
Çalıştır