📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
esnafbul.demodesign.com.tr
/
panel
/
duzenle
📝
footer-menu.php
← Geri Dön
<?php echo !defined("GUVENLIK") ? die("Vaoww! Bu ne cesaret?") : null;?> <title>Alt Menü Düzenle | <?=$ayar['site_baslik']?></title> <?php $footMenuCek = $db ->prepare("select * from footer_menu where id='$_GET[menu_id]' "); $footMenuCek ->execute(); $foot = $footMenuCek->fetch(PDO::FETCH_ASSOC); ?> <?php if($footMenuCek->rowCount() == 0 ) { header("Location:pages.php?sayfa=footermenu"); } ?> <form action="post/duzenle/footer-menu.php" class="form-horizontal form-bordered" method="post" enctype="multipart/form-data" style="width: 100%"> <!-- BEGIN: Content --> <input type="hidden" name="footer_id" value="<?=$foot['id']?>"> <div class="content"> <div class="intro-y flex items-center mt-8"> <h2 class="text-lg font-medium mr-auto"> Alt Menü Düzenle </h2> </div> <div class="grid grid-cols-12 gap-6 mt-5"> <div class="intro-y col-span-12 lg:col-span-6"> <!-- BEGIN: Form Layout --> <div class="intro-y box p-5"> <div> <label for="crud-form-1" class="form-label">Yayın Durumu</label><br> <input type='hidden' value='0' name='durum'> <input type="checkbox" <?php if ($foot['durum'] == 1) {?> checked <?php }?> id="yayin" class="js-switch" data-color="#f62d51" name="durum" value="1" /> </div> <div class="mt-3"> <label for="crud-form-1" class="form-label">Menü Adı</label> <input name="baslik" id="crud-form-1" type="text" class="form-control w-full" placeholder="Menü Adı" value="<?=$foot['baslik']?>"> </div> <div class="mt-3"> <label for="crud-form-1" class="form-label">URL Adresi (http://www)</label> <input name="url" id="crud-form-1" type="text" class="form-control w-full" placeholder="URL Adresi (http://www)" value="<?=$foot['url']?>"> </div> <div class="mt-3"> <label for="crud-form-1" class="form-label">Menü Alanı</label> <select name="yer" class="form-control select2"> <option value="0" <?php if ($foot['yer'] == 0) {?> selected <?php }?>>Kurumsal</option> <option value="1" <?php if ($foot['yer'] == 1) {?> selected <?php }?>>Bağlantılar</option> </select> </div> <div class="mt-3"> <label for="crud-form-1" class="form-label">Sıra</label> <input type="number" class="form-control w-full" name="sira" required id="menuSira" value="<?=$foot['sira']?>"> </div> <div class="text-right mt-5"> <button name="footermenudegis" class="btn btn-primary w-24">Kaydet</button> </div> </div> <!-- END: Form Layout --> </div> </div> </div> </form>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula