📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
sikayetscripti.demodesign.com.tr
/
panel
/
assets
/
js
📝
aksoyhlc.js
← Geri Dön
function editorbaslat() { $('#editor').summernote({ placeholder: "Metin Girin", height: 300, focus: true, codeviewFilter: false, codeviewIframeFilter: false, toolbar: [ ['geri', ['undo', 'redo']], ['style', ['bold', 'italic', 'underline', 'clear']], ['fontsize', ['fontsize']], ['fontname', ['fontname']], ['color', ['forecolor', 'backcolor']], ['para', ['ul', 'ol', 'paragraph']], ['abc', ['link', 'picture', 'video', 'table']], ['codeview', ['codeview']] ], }); $('.summernote-editor').summernote({ placeholder: "Metin Girin", height: 300, focus: false, codeviewFilter: false, codeviewIframeFilter: false, toolbar: [ ['geri', ['undo', 'redo']], ['style', ['bold', 'italic', 'underline', 'clear']], ['fontsize', ['fontsize']], ['fontname', ['fontname']], ['color', ['forecolor', 'backcolor']], ['para', ['ul', 'ol', 'paragraph']], ['abc', ['link', 'picture', 'video', 'table']], ['codeview', ['codeview']] ], }); } function toSeoUrl(url) { return url.toString() // Convert to string .normalize('NFD') // Change diacritics .replace(/[\u0300-\u036f]/g,'') // Remove illegal characters .replace(/\s+/g,'-') // Change whitespace to dashes .toLowerCase() // Change to lowercase .replace(/&/g,'-and-') // Replace ampersand .replace(/[^a-z0-9\-]/g,'') // Remove anything that is not a letter, number or dash .replace(/-+/g,'-') // Remove duplicate dashes .replace(/^-*/,'') // Remove starting dashes .replace(/-*$/,''); // Remove trailing dashes } function rastgeleSembol(uzunluk, semboller) { var maske = ''; if (semboller.indexOf('a') > -1) maske += 'abcdefghijklmnopqrstuvwxyz'; if (semboller.indexOf('A') > -1) maske += 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; if (semboller.indexOf('0') > -1) maske += '0123456789-'; var sonuc = ''; for (var i = uzunluk; i > 0; --i) { sonuc += maske[Math.floor(Math.random() * maske.length)]; } return sonuc; } $("#ozelkodolustur").click(function() { var kod = rastgeleSembol(60, '#aA0'); $("#musteri_ozel_kod").val(kod); }); /* function bildirim(bildirimturu="success",bildirimbaslik="İşlem Başarılı",bildirimmetni="İşleminiz Başarıyla Gerçekleştirildi",tur="sureli",sure=3000) { if (tur=="sureli") { a=Swal.fire({ title: bildirimbaslik, text: bildirimmetni, icon: bildirimturu, type: bildirimturu, showConfirmButton:false, timer: sure, timerProgressBar: true }) console.log(a) } else { Swal.fire({ title: bildirimbaslik, text: bildirimmetni, icon: bildirimturu, showConfirmButton: true, confirmButtonText: 'Tamam' }) } }*/ function bildirim(bildirimturu,bildirimbaslik,bildirimmetni,sure=2000) { Swal.fire({ icon: bildirimturu, title: bildirimbaslik, text: bildirimmetni, showConfirmButton: true, confirmButtonText: 'Tamam', timer: sure, timerProgressBar: true, }) } function newexportaction(e, dt, button, config) { var self = this; var oldStart = dt.settings()[0]._iDisplayStart; dt.one('preXhr', function (e, s, data) { // Just this once, load all data from the server... data.start = 0; data.length = 2147483647; dt.one('preDraw', function (e, settings) { // Call the original action function if (button[0].className.indexOf('buttons-copy') >= 0) { $.fn.dataTable.ext.buttons.copyHtml5.action.call(self, e, dt, button, config); } else if (button[0].className.indexOf('buttons-excel') >= 0) { $.fn.dataTable.ext.buttons.excelHtml5.available(dt, config) ? $.fn.dataTable.ext.buttons.excelHtml5.action.call(self, e, dt, button, config) : $.fn.dataTable.ext.buttons.excelFlash.action.call(self, e, dt, button, config); } else if (button[0].className.indexOf('buttons-csv') >= 0) { $.fn.dataTable.ext.buttons.csvHtml5.available(dt, config) ? $.fn.dataTable.ext.buttons.csvHtml5.action.call(self, e, dt, button, config) : $.fn.dataTable.ext.buttons.csvFlash.action.call(self, e, dt, button, config); } else if (button[0].className.indexOf('buttons-pdf') >= 0) { $.fn.dataTable.ext.buttons.pdfHtml5.available(dt, config) ? $.fn.dataTable.ext.buttons.pdfHtml5.action.call(self, e, dt, button, config) : $.fn.dataTable.ext.buttons.pdfFlash.action.call(self, e, dt, button, config); } else if (button[0].className.indexOf('buttons-print') >= 0) { $.fn.dataTable.ext.buttons.print.action(e, dt, button, config); } dt.one('preXhr', function (e, s, data) { // DataTables thinks the first item displayed is index 0, but we're not drawing that. // Set the property to what it was before exporting. settings._iDisplayStart = oldStart; data.start = oldStart; }); // Reload the grid with the original page. Otherwise, API functions like table.cell(this) don't work properly. setTimeout(dt.ajax.reload, 0); // Prevent rendering of the full data to the DOM return false; }); }); // Requery the server with the new one-time export settings dt.ajax.reload(); } $(document).ready(function() { $("#ozelkodolustur").click(function () { if ($(this).attr('value')=="panel") { var url = "classes/ajax.php"; } else { var url = "panel/classes/ajax.php"; } $.ajax({ url: url, type: 'POST', data: "autholustur=autholustur", success:function (donenveri) { var veri = $.parseJSON(donenveri); $("#kul_auth_kod").val(veri.kod) } }) }) }); $(".silmebutonu").on('click', function(event) { event.preventDefault(); silinecekform=$(this).parent("form"); var name = $(this).attr('name'); silinecekform.append(' <input type="hidden" name="'+name+'" value="'+name+'">') console.log(silinecekform.serialize()) Swal.fire({ type: 'warning', icon: 'warning', showConfirmButton: true, showCancelButton:true, confirmButtonColor:"rgb(0, 128, 0)", cancelButtonColor:"#fc544b", title: 'Emin Misiniz?', text: 'Silmek İstediğinize Emin Misiniz?', customClass: { confirmButton: 'btn btn-success evetsil', cancelmButton: 'btn btn-danger hayirsilme' }, confirmButtonText: 'Evet, Sil', cancelButtonText: 'Hayır, Silme', }) $(".evetsil").click(function () { silinecekform.submit() }) }); var boxdeger = 0; $('.onaybox').on('change', function() { var isChecked = $(this).is(':checked'); alan = $(this).parent(".onayalani"); var isChecked = $(this).is(':checked'); if(isChecked) { boxdeger = 1; } else { boxdeger = 0; } alan.find('.onayvalue').val(boxdeger) xyz=alan.find('.onayvalue'); /*x = $(alan+" > onayboxy").val();*/ $(".onayvalue").each(function(index, el) { console.log($(el).val()+" - "+$(el).attr('name')); }); }); $(document).ready(function() { $(".sayfalandirma").click(function(event) { event.preventDefault(); var url = new URL(window.location.href); url.searchParams.set('sayfa', $(this).attr('value')); window.location=url }); });
💾 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