📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
esnafbul.demodesign.com.tr
/
panel
/
duzenle
📝
bolge-duzenle.php
← Geri Dön
<?php echo !defined("GUVENLIK") ? die("Vaoww! Bu ne cesaret?") : null;?> <?php $veriCek = $db->prepare("select * from bolge where id='$_GET[bolge_id]'"); $veriCek->execute(); $row = $veriCek->fetch(PDO::FETCH_ASSOC); ?> <?php if($veriCek->rowCount() == 0 ) { header("Location:pages.php?sayfa=bolgeler"); } ?> <title>Bölge Düzenle | <?=$ayar['site_baslik']?></title> <form action="post/duzenle/bolge-duzenle.php" class="form-horizontal form-bordered" method="post" enctype="multipart/form-data" style="width: 100%"> <!-- BEGIN: Content --> <input type="hidden" name="bolge_id" value="<?=$row['id']?>"> <div class="content"> <div class="intro-y flex items-center mt-8"> <h2 class="text-lg font-medium mr-auto"> Bölge Düzenle </h2> </div> <div class="grid grid-cols-12 gap-6 mt-5"> <div class="intro-y col-span-12 lg:col-span-8"> <!-- BEGIN: Form Layout --> <div class="intro-y box p-5"> <div> <label for="crud-form-1" class="form-label">Yayın Durumu</label> <input type='hidden' value='0' name='durum'> <input type="checkbox" <?php if ($row['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">Başlık</label> <input name="baslik" id="crud-form-1" type="text" class="form-control w-full" value="<?=$row['baslik']?>"> </div> <div class="mt-3"> <label for="crud-form-1" class="form-label">Telefon</label> <input name="icerik" id="crud-form-1" type="tel" class="form-control w-full" placeholder="Telefon" value="<?=$row['icerik']?>"> </div> <div class="mt-3"> <label for="crud-form-1" class="form-label">E-Posta</label> <input name="tags" id="crud-form-1" type="email" class="form-control w-full" placeholder="E-Posta" value="<?=$row['tags']?>"> </div> <div class="mt-3"> <label for="crud-form-1" class="form-label">Adres</label> <textarea name="meta_desc" id="spotArea" class="form-control" rows="2"><?=$row['baslik']?></textarea> </div> <div class="mt-3"> <label for="crud-form-1" class="form-label">Sıra</label> <input type="number" class="form-control w-full" id="sirasiSlider" name="sira" value="<?=$row['sira']?>" required min=1 oninput="validity.valid||(value='');"> </div> <div class="text-right mt-5"> <button name="bolgedegis" class="btn btn-primary w-24">Kaydet</button> </div> </div> <!-- END: Form Layout --> </div> </div> </div> </form> <?php if($_GET['status']=='imgtype'){ ?> <body onload="sweetAlert('HATA!', 'Görsel dosyanız jpg, png veya gif türü dışında olamaz', 'warning');"> </body> <?php }?>
💾 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