📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
otoekspertizscriptiv2.demodesign.com.tr
/
panel
/
sayfalar
📝
counter_ayar.php
← Geri Dön
<?php echo !defined("GUVENLIK") ? die("Erisim Engellendi!.") : null;?> <?php if(isset($_POST['cont1'])) { $cont1 = p('cont1'); $cont2 = p('cont2'); $cont3 = p('cont3'); $cont4 = p('cont4'); $cont5 = p('cont5'); $cont6 = p('cont6'); $cont7 = p('cont7'); $cont8 = p('cont8'); if($server!="") { $ayar_duzenle_sorgu=mysql_query("UPDATE counter SET cont1 = '$cont1', cont2 = '$cont2', cont3 = '$cont3', cont4 = '$cont4', cont5 = '$cont5', cont6 = '$cont6', cont7 = '$cont7', cont8 = '$cont8' WHERE id = '1'"); $gitti=$firmalogo=''.$upload->file_dst_name.''; }else{ $ayar_duzenle_sorgu=mysql_query("UPDATE counter SET cont1 = '$cont1', cont2 = '$cont2', cont3 = '$cont3', cont4 = '$cont4', cont5 = '$cont5', cont6 = '$cont6', cont7 = '$cont7', cont8 = '$cont8' WHERE id = '1'"); } echo '<script> $(document).ready(function () { $.Notification.autoHideNotify(\'success\', \'top right\', \'Başarılı!\',\'Counter Güncellendi.\') }); </script>'; } $ayar_dizi = Sonuc(Sorgu("SELECT * FROM counter WHERE id = '1'")); ?> <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="row"> <div class="col-sm-12"> <h4 class="page-title">Counter Ayarları</h4> <ol class="breadcrumb"> <li> <a href="index.html">Anasayfa</a> </li> <li> <a href="site-yonetimi.html">Site Yönetimi</a> </li> <li class="active"> Counter Ayarları </li> </ol> </div> </div> <!-- Forms --> <div class="row"> <div class="col-sm-12"> <div class="card-box"> <div class="row"> <form method="post" action="" enctype="multipart/form-data"> <div class="col-md-12"> <div class="form-group col-md-3"> <label for="sayfaadi">Adı :</label> <input type="text" class="form-control" name="cont1" value="<?php echo $ayar_dizi->cont1;?>" id="soru" > </div> <div class="form-group col-md-3"> <label class="control-label">Adı :</label> <input type="text" class="form-control" name="cont2" value="<?php echo $ayar_dizi->cont2;?>" id="soru" > </div> <div class="form-group col-md-3"> <label class="control-label">Adı :</label> <input type="text" class="form-control" name="cont3" value="<?php echo $ayar_dizi->cont3;?>" id="soru"> </div> <div class="form-group col-md-3"> <label class="control-label">Adı :</label> <input type="text" class="form-control" name="cont4" value="<?php echo $ayar_dizi->cont4;?>" id="soru"> </div> <div style="clear:both;"></div> <div class="form-group col-md-3"> <label for="sayfaadi">Değer :</label> <input type="text" class="form-control" name="cont5" value="<?php echo $ayar_dizi->cont5;?>" id="soru" > </div> <div class="form-group col-md-3"> <label class="control-label">Değer :</label> <input type="text" class="form-control" name="cont6" value="<?php echo $ayar_dizi->cont6;?>" id="soru" > </div> <div class="form-group col-md-3"> <label class="control-label">Değer :</label> <input type="text" class="form-control" name="cont7" value="<?php echo $ayar_dizi->cont7;?>" id="soru"> </div> <div class="form-group col-md-3"> <label class="control-label">Değer :</label> <input type="text" class="form-control" name="cont8" value="<?php echo $ayar_dizi->cont8;?>" id="soru"> </div> <span class="clearfix"></span> <?php if($_GET['islem']=="duzenle"){?> <button type="submit" onclick="submit();" class="btn btn-primary waves-effect waves-light"> <span class="btn-label"><i class="fa fa-check"></i></span>Güncelle </button> <?php }else{?> <button type="submit" onclick="submit();" class="btn btn-success waves-effect waves-light autohidebut"> <span class="btn-label"><i class="fa fa-check"></i></span>Kaydet </button> <?php } ?> </div> </form> </div> </div> </div> </div> </div> </div> </div> <!-- ============================================================== --> <!-- End Right content here --> <!-- ============================================================== --> <!-- Right Sidebar --> <!-- /Right-bar --> </div> <!-- END wrapper --> </body> </html>
💾 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