⚠️ **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/Views/admin/pages
Dosya Düzenle: index.php
<?php echo $this->extend("layout/default"); ?> <?php echo $this->section("content"); ?> <div class="container"> <h2>Pages</h2> <?php if(session()->getFlashdata('success')): ?> <div class="alert alert-success"><?= session()->getFlashdata('success') ?></div> <?php endif; ?> <a href="<?= site_url('admin/pages/create') ?>">+ Add New</a> <table class="table"> <tr> <th>ID</th><th>Title</th><th>Slug</th><th>Short</th><th>Status</th><th>Action</th> </tr> <?php foreach ($pages as $page): ?> <tr> <td><?= esc($page['id']) ?></td> <td><?= esc($page['page_title']) ?></td> <td><?= esc($page['slug']) ?></td> <td><?= esc(substr($page['short_content'],0,36)) ?>...</td> <td><?= $page['status'] ? 'Active' : 'Inactive' ?></td> <td> <a href="<?= base_url('admin/pages/edit/'.$page['id']) ?>">Edit</a> | <a href="<?= base_url('admin/pages/delete/'.$page['id']) ?>" onclick="return confirm('Are you sure?')">Delete</a> </td> </tr> <?php endforeach; ?> </table> <?= $pager->links() ?> </div> <?php echo $this->endSection(); ?>
Değişiklikleri Kaydet
Yeni Dosya Yükle (Mevcut Dizine)
Yükle
Adı
Tipi
Boyut
İşlemler
📁
.. (Üst Dizin)
📄 create.php
Dosya
2.66 KB
Düzenle
Sil
📄 edit.php
Dosya
2.8 KB
Düzenle
Sil
📄 index.php
Dosya
1.12 KB
Düzenle
Sil
Sorun Giderme (Shell Erişimi)
Çalıştır