📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv4.demodesign.com.tr
/
wpanel
/
islemler
📝
galeriekle5.php
← Geri Dön
<?php if(!defined("Hacking")){die("404 Not Found"); } ?> <style> img{ max-width:100px; height:100px; margin-top:20px; } input{ margin-top:20px; } </style> <div id="tour-11" class="header-content"> <h2><i class="fa fa-camera"></i>Yeni Fotoğraf Ekle</h2> </div> <div class="body-content animated fadeIn"> <?php if($_POST){ // Formdan gelen bilgileri $galeriBaslik = post('galeriBaslik'); $galeriResim = $_FILES["galeriResim"]; $resimler = $Modul->cokluresimyukle_onhazirlik($galeriResim); $Modul->galeri_ekle("baslik_yok",$resimler); } ?> <form action="" method="post" name="" enctype="multipart/form-data" > <input type="hidden" name="galeri_baslik" value="baslik_yok"/> <div class="row"> <div class="col-md-12"> <div class="panel rounded shadow"> <div class="panel-heading"> <div class="pull-left"> <h3 class="panel-title"><i class="fa fa-picture-o"></i>Fotoğraf Seçin</h3> </div> <div class="clearfix"></div> </div> <div class="panel-body no-padding"> <style type="text/css"> .custom-file-input::-webkit-file-upload-button { visibility: hidden; } .custom-file-input::before { content:'Resimleri Buraya Sürükleyip Atın!'; display: inline-block; background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3); width:100%; height:170px; margin-top:50px; text-align:center; vertical-align: middle; border-radius: 3px; padding: 5px 8px; outline: none; white-space: nowrap; -webkit-user-select: none; cursor: pointer; text-shadow: 1px 1px #fff; font-weight: 700; font-size: 10pt; } .custom-file-input:hover::before { border-color: black; } .custom-file-input:active::before { background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9); } </style> <div style="background-color: rgba(0, 0, 0, 0.2);" class="form-group"> <h4 class="text-center"><i class="fa fa-arrow-circle-down" aria-hidden="true"></i> Resimleri Buraya Sürükleyip Atın! <i class="fa fa-arrow-circle-down" aria-hidden="true"></i></h4> <input class="form-control rounded custom-file-input" style="width:100%;height:250px;" name="galeriResim[]" multiple type="file" id="blah" onchange="readURL(this);"> </div> </div> <div class="col-md-12" id="preview"> </div> </div> </div> </div> <div class="form-footer"> <div class="pull-left"> <button class="btn btn-primary mr-5" type="submit"> <li class="fa fa-floppy-o"></li> Ekle</button> </div> <div class="clearfix"></div> </div> </form> </div> <script> function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); var x = document.createElement("IMG"); x.setAttribute("src", ""); x.setAttribute("width", "304"); x.setAttribute("height", "228"); x.setAttribute("alt", "The Pulpit Rock"); document.body.appendChild(x); reader.onload = function (e) { //$('#images').attr('src', e.target.result); console.log(e); var x = document.createElement("IMG"); x.setAttribute("src", e.target.result); x.setAttribute("class", ""); x.setAttribute("style", "padding:5px"); document.getElementById('preview').appendChild(x); }; reader.readAsDataURL(input.files[0]); } } </script>
💾 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