Domain: amberpublishers.in
Server Adress: 86.38.243.169

privdayz.com

/home/u866425823/domains/sugam.kmclu.ac.in/public_html/js/
Dosya Yükle :
Current File : /home/u866425823/domains/sugam.kmclu.ac.in/public_html/js/custom-min.js

function getWebsiteUrl(){return location.protocol+"//"+location.host}function deleteSingle(e){let t=e[2];if(1==confirm("Do You Want To Delete This Data ?")){var o=new XMLHttpRequest;o.onreadystatechange=function(){if(4==this.readyState&&200==this.status){let e=JSON.parse(o.responseText),a=e[0],l=e[1];"true"==a?(show_success_Alert(l,"#"),document.getElementById(t).remove()):show_failure_Alert(l,"#")}},o.open("POST","Ajax.php",!0),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.send("deleteSingle=1&&variables="+e)}}function deleteSingle_with_file(e,t){let o=t;1==confirm("Do You Want To Delete This Data ?")&&$.ajax({url:"Ajax.php",type:"POST",data:{delete_single_with_file:1,variables:e},success:function(e){let t=JSON.parse(e),a=t[0],l=t[1];"true"==a?(document.getElementById(o).remove(),show_success_Alert(l,"#")):show_failure_Alert(l,"#")}})}function Export(e,t){(new Table2Excel).export(document.getElementById(e),t)}function checkCheckbox(){let e=0;for(var t=$(".checkbox-class"),o=0;o<t.length;o++)1==t[o].checked&&e++;0!=e?$(".DeleteAllBtn").removeAttr("disabled"):$(".DeleteAllBtn").attr("disabled","true")}function ConfirmPassword(e,t,o){e=document.getElementById(e),t=document.getElementById(t),o=document.getElementById(o);t.value!=e.value?(t.style.border="2px solid red",o.setAttribute("disabled","true")):(t.style.border="2px solid green",o.removeAttribute("disabled"))}function make_capital(e){var t=document.getElementById(e).value.toUpperCase();document.getElementById(e).value=t}function selectDate(e){$(".calendar").updateCalendarOptions({date:e})}function show_success_Alert(e,t){$("#alert-modal").modal("show"),$("#alert-modal-body").html(e),$("#alert-ok").attr("href",t)}function show_failure_Alert(e,t){$("#alert-fail_modal").modal("show"),$("#alert-fail_modal-body").html(e),$("#alert-fail_ok").attr("href",t)}function uploadData(e,t,o){o.preventDefault();var a=document.getElementById(e),l=new FormData(a);l.append(t,"1"),$.ajax({url:"Ajax.php",type:"POST",data:l,contentType:!1,processData:!1,success:function(e){let t=JSON.parse(e),o=t[0],a=t[1],l=t[2];"false"==o?show_failure_Alert(a,l):show_success_Alert(a,l)}})}function updateData(e,t,o){o.preventDefault();var a=document.getElementById(e),l=new FormData(a);l.append(t,"1"),$.ajax({url:"Ajax.php",type:"POST",data:l,contentType:!1,processData:!1,success:function(e){let t=JSON.parse(e),o=t[0],a=t[1],l=t[2];"false"==o?show_failure_Alert(a,l):show_success_Alert(a,l)}})}function editAjax(e,t,o){let a=e+"=1&&col_id="+t;$.ajax({url:"Ajax.php",type:"POST",data:a,success:function(e){$(o).html(e)}})}function format_num(e){return parseFloat(e).toLocaleString("en-IN",{maximumFractionDigits:2})}function indian_currency(e){return parseFloat(e).toLocaleString("en-IN",{maximumFractionDigits:2,style:"currency",currency:"INR"})}function show_modal(e){$(e).modal("show")}function download_marksheet(e,t){$.ajax({url:"Ajax.php",type:"POST",data:{enroll_no:e,semester:t},success:function(e){}})}function course_change(e){$(".year_select").html("<option value = ''>---</option>"),$(".semester_select").html("<option value = ''>---</option>"),$(".paper_code_select").html("<option value = ''>---</option>"),""!=e?$.ajax({url:"Ajax.php",type:"POST",data:{course_select:e},success:function(e){let t=JSON.parse(e),o=t[0],a=t[1];if("false"!=o)for(var l=1;l<=a;l++)$(".year_select").append(`<option value = '${l}'>${l}</option>`);else $(".year_select").html("<option value = ''>---</option>")}}):($(".year_select").html("<option value = ''>---</option>"),$(".semester_select").html("<option value = ''>---</option>"),$(".paper_code_select").html("<option value = ''>---</option>"))}function year_change(e){$(".semester_select").html("<option value = ''>---</option>"),$(".paper_code_select").html("<option value = ''>---</option>"),""!=e?1==e?($(".semester_select").append("<option value = '1'>1</option>"),$(".semester_select").append("<option value = '2'>2</option>")):2==e?($(".semester_select").append("<option value = '3'>3</option>"),$(".semester_select").append("<option value = '4'>4</option>")):3==e?($(".semester_select").append("<option value = '5'>5</option>"),$(".semester_select").append("<option value = '6'>6</option>")):4==e&&($(".semester_select").append("<option value = '7'>7</option>"),$(".semester_select").append("<option value = '8'>8</option>")):($(".semester_select").html("<option value = ''>---</option>"),$(".paper_code_select").html("<option value = ''>---</option>"))}function sem_change(e){let t=$("#course_se").val(),o=$("#year_se").val();$(".paper_code_select").html("<option value = ''>---</option>"),""!=e?$.ajax({url:"Ajax.php",type:"POST",data:{sem_select:e,course_selected:t,year_selected:o},success:function(e){let t=JSON.parse(e),o=t[0],a=t[1];if("false"!=o)for(var l=0;l<a.length;l++)$(".paper_code_select").append(`<option value = '${a[l]}'>${a[l]}</option>`);else $(".paper_code_select").html("<option value = ''>---</option>")}}):$(".paper_code_select").html("<option value = ''>---</option>")}function verify_marksheet(e){$(".loading-box").show(),$.ajax({type:"POST",url:"Ajax.php",data:{isset_marksheet_verification:"1",col_id:e},success:function(e){let t=JSON.parse(e);"false"!=t[0]?(show_success_Alert(t[1],t[2]),$(".loading-box").hide()):(show_failure_Alert(t[1],t[2]),$(".loading-box").hide())}})}function create_more_field_one(e){$(e).append('<input type="text" name="paper_code[]" class="form-control mb-2" required placeholder="Paper Code" >')}function getCourses(e,t,o,a){$("#"+t).html(""),""!=e?$.ajax({url:a,type:"POST",data:{dep_select:e,isset_get_courses:!0},success:function(e){JSON.parse(e).forEach((e=>{$("#"+t).append(`<option value = '${e}'>${e}</option>`)}))}}):$("#"+t).html("<option value = ''>---</option>")}window.addEventListener("offline",(e=>{$(".internet-status").css("display","flex"),$(document.body).css("overflow-y","hidden")})),window.addEventListener("online",(e=>{$(".internet-status").css("display","none"),$(document.body).css("overflow-y","auto")})),navigator.onLine||($(".internet-status").css("display","flex"),$(document.body).css("overflow-y","hidden")),window.addEventListener("load",(e=>{$(".loading-box").hide()})),$(".selectpicker").selectpicker(),$(".MobileNumberValid").on("keyup",(function(){var e=$(this).val();e.length>10&&$(this).val(e.slice(0,10))})),$(".checkbox-class").click((function(){let e=0;for(var t=$(".checkbox-class"),o=0;o<t.length;o++)1==t[o].checked&&e++;0!=e?$(".DeleteAllBtn").removeAttr("disabled"):$(".DeleteAllBtn").attr("disabled","true")})),$((function(){$('[data-toggle="tooltip"]').tooltip({animation:!0})})),$(".make_capital").on("keyup",(function(){let e=$(this).val().toUpperCase();$(this).val(e)})),$(".calendar").calendar({prevButton:'<i class="fa fa-arrow-left" aria-hidden="true"></i>',nextButton:'<i class="fa fa-arrow-right" aria-hidden="true"></i>',showThreeMonthsInARow:!1,highlightSelectedWeekday:!0,highlightSelectedWeek:!0,showYearDropdown:!0,onClickDate:selectDate}),$("#alert-ok").click((function(){$("#alert-modal").modal("hide")})),$("#alert-fail_ok").click((function(){$("#alert-fail_modal").modal("hide")})),$(".table-pro-pic").click((function(){$("#full-image").attr("src",$(this).attr("src")),$("#profile-image-viewer").show()})),$("#profile-image-viewer .profile-close").click((function(){$("#profile-image-viewer").hide()}));

coded by Privdayz.com - Visit https://privdayz.com/ for more php shells.