📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
reelsolusturmascripti.demodesign.com.tr
/
system
/
js
📝
cstm.min.js
← Geri Dön
var types = []; types[200] = "success"; types[400] = "warning"; types[404] = "error"; types[999] = "error"; $(function(){ $("#btn-login").click(function(){ var email = $("#email").val(); var password = $("#password").val(); $.ajax({ type: "POST", url:"system/ajax/login.php", dataType: "json", data: {"email": email, "password": password}, success: function(rt){ swal("Bilgi", rt.Text, types[rt.Code]); if (rt.Code == 200){ setTimeout(function(){ location.href = rt.Link; }, 2000); } } }); }); $("#btn-abonex").click(function(){ var aboneemail = $("#aboneemail").val(); $.ajax({ type: "POST", url:"system/ajax/abone.php", dataType: "json", data: {"aboneemail": aboneemail}, success: function(rt){ swal("Bilgi", rt.Text, types[rt.Code]); if (rt.Code == 200){ setTimeout(function(){ location.href = "index.php"; }, 2000); } } }); }); $("#btn-register").click(function(){ var ad = $("#ad").val(); var soyad = $("#soyad").val(); var email = $("#email").val(); var password = $("#password").val(); var ref = $("#ref").val(); var checkbox = document.getElementById('checkbox1'); if (!checkbox.checked) { event.preventDefault(); // Formun gönderilmesini engeller swal("Heey", "Hesap oluşturabilmek için gizlilik sözleşmesine onay vermen gerekiyor.", "info"); }else{ $.ajax({ type: "POST", url:"system/ajax/register.php", dataType: "json", data: {"ad": ad, "soyad": soyad, "email": email, "password": password, "ref": ref}, success: function(rt){ swal("Bilgi", rt.Text, types[rt.Code]); if (rt.Code == 200){ setTimeout(function(){ location.href = "login.php"; }, 2000); } } }); } }); $("#btn-aktivasyon").click(function(){ var aktivkod = $("#aktivkod").val(); $.ajax({ type: "POST", url:"system/ajax/aktivasyon.php", dataType: "json", data: {"aktivkod": aktivkod}, success: function(rt){ swal("Bilgi", rt.Text, types[rt.Code]); if (rt.Code == 200){ setTimeout(function(){ location.href = "home.php"; }, 2000); } } }); }); $("#btn-profil").click(function(){ var passwordd = $("#pro-password").val(); $.ajax({ type: "POST", url:"system/ajax/profil.php", dataType: "json", data: {"passwordd": passwordd}, success: function(rt){ swal("Bilgi", rt.Text, types[rt.Code]); if (rt.Code == 200){ setTimeout(function(){ location.href = "profil.php"; }, 2000); } } }); }); $("#btn-icerik1").click(function(){ // Butonu devre dışı bırak ve metni değiştir var icerikozet = $("#icerikozet").val(); var iceriksure = $("#iceriksure").val(); $(this).prop("disabled", true).text("Lütfen bekle..."); $.ajax({ type: "POST", url:"system/ajax/create-step1.php", dataType: "json", data: {"icerikozet": icerikozet,"iceriksure": iceriksure}, success: function(rt){ swal("Bilgi", rt.Text, types[rt.Code]); if (rt.Code == 200){ setTimeout(function(){ location.href = rt.Link; }, 2000); } } }); }); $("#btn-texttoimage").click(function(){ // Butonu devre dışı bırak ve metni değiştir $(this).prop("disabled", true).text("Oluşturuluyor..."); var promptuser = $("#promptuser").val(); $.ajax({ type: "POST", url:"system/ajax/text-to-image.php", dataType: "json", data: {"promptuser": promptuser}, success: function(rt){ swal("Bilgi", rt.Text, types[rt.Code]); if (rt.Code == 200){ setTimeout(function(){ location.href = "text-to-image.php"; }, 2000); } } }); }); $("#btn-texttosound").click(function(){ // Butonu devre dışı bırak ve metni değiştir $(this).prop("disabled", true).text("Oluşturuluyor..."); var textuser = $("#textuser").val(); $.ajax({ type: "POST", url:"system/ajax/text-to-mp3.php", dataType: "json", data: {"textuser": textuser}, success: function(rt){ swal("Bilgi", rt.Text, types[rt.Code]); if (rt.Code == 200){ setTimeout(function(){ location.href = "text-to-mp3.php"; }, 2000); } } }); }); });
💾 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