⚠️ **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-1325/Views/blog/admin/gallery_images
Dosya Düzenle: create.php
<?php echo $this->extend("layout/default"); ?> <?php echo $this->section("content"); ?> <div class="container"> <h1>Add Image</h1> <form action="<?= base_url('admin/gallery-images/store') ?>" method="post" enctype="multipart/form-data"> <?= csrf_field() ?> <div class="mb-3"> <label>Category</label> <select name="category_id" class="form-select"> <?php foreach ($categories as $cat): ?> <option value="<?= $cat['id'] ?>"><?= esc($cat['name']) ?></option> <?php endforeach; ?> </select> </div> <div class="mb-3"> <label>Title</label> <input type="text" name="title" class="form-control" value="<?= old('title') ?>"> </div> <div class="mb-3"> <label>Caption</label> <textarea name="caption" class="form-control"><?= old('caption') ?></textarea> </div> <div class="mb-3"> <label>Image File</label> <input type="file" name="filename" class="form-control"> </div> <div class="mb-3"> <label>Status</label> <select name="status" class="form-select"> <option value="1" selected>Active</option> <option value="0">Inactive</option> </select> </div> <div class="mb-3"> <label>Sort Order</label> <input type="number" name="sort_order" class="form-control" value="<?= old('sort_order', 0) ?>"> </div> <button class="btn btn-success">Save</button> <a href="<?= base_url('admin/gallery-images') ?>" class="btn btn-secondary">Cancel</a> </form> </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.57 KB
Düzenle
Sil
📄 edit.php
Dosya
1.93 KB
Düzenle
Sil
📄 index.php
Dosya
1.4 KB
Düzenle
Sil
Sorun Giderme (Shell Erişimi)
Çalıştır