⚠️ **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/menus
Dosya Düzenle: list.php
<?php echo $this->extend("layout/default"); ?> <?php echo $this->section("content"); ?> <div class="container"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col">Menu Management</div> <div class="col text-right"> <?php if( ps_permission("user-add")) { ?> <span class="add-data-btn"> <a href="<?php echo base_url("admin/menu/create")?>" class="btn btn-success btn-sm">Create</a> <?php } ?> </div> </div> </div> <div class="card-body"> <div class="table-responsive"> <?php if (session()->getFlashdata('success')): ?> <div class="bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded relative mb-4" role="alert"> <span class="block sm:inline"><?= session()->getFlashdata('success') ?></span> </div> <?php endif; ?> <?php if (session()->getFlashdata('error')): ?> <div class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded relative mb-4" role="alert"> <span class="block sm:inline"><?= session()->getFlashdata('error') ?></span> </div> <?php endif; ?> <table class="table table-striped table-bordered"> <thead class="bg-gray-50"> <tr> <th class="py-3 px-6 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ID</th> <th class="py-3 px-6 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Name</th> <th class="py-3 px-6 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Prefix</th> <th class="py-3 px-6 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Slug</th> <th class="py-3 px-6 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Parent ID</th> <th class="py-3 px-6 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Image</th> <th class="py-3 px-6 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Top Bar</th> <th class="py-3 px-6 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Footer Menu</th> <th class="py-3 px-6 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th> <th class="py-3 px-6 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th> </tr> </thead> <tbody class="bg-white divide-y divide-gray-200"> <?php if (empty($menus)): ?> <tr> <td colspan="10" class="px-6 py-4 text-center text-gray-500">No menu items found.</td> </tr> <?php else: ?> <?= view('admin/menus/_menu_tree', ['menus' => $menus]) ?> <?php endif; ?> </tbody> </table> </div> </div> </div> <?= $this->endSection() ?>
Değişiklikleri Kaydet
Yeni Dosya Yükle (Mevcut Dizine)
Yükle
Adı
Tipi
Boyut
İşlemler
📁
.. (Üst Dizin)
📄 _menu_tree.php
Dosya
2.1 KB
Düzenle
Sil
📄 form.php
Dosya
5.55 KB
Düzenle
Sil
📄 list.php
Dosya
3.29 KB
Düzenle
Sil
Sorun Giderme (Shell Erişimi)
Çalıştır