Software: LiteSpeed. PHP/7.4.33 uname -a: Linux server704.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 uid=1309(necipbey) gid=1314(necipbey) groups=1314(necipbey) Safe-mode: OFF (not secure) /home/necipbey/public_html/assets/ drwxr-xr-x |
Viewing file: Select action/file-type: $(function () { $('.category').click(function () { $('#services').html(''); $('#servicePrice').val(''); $('#modalLabel').html(`<i class="${$(this).data('icon')}"></i> | ${$(this).data('name')}`); $.get("api/getServices/" + $(this).data('category'), function (response) { $('#services').html(response.map(service => `<option value = "${service.id}" > ${service.name} | ${service.price}₺</ > `)); $('#services').change(); }); }); $('#services').change(function () { $.get('api/getService/' + $(this).val(), function (response) { $('#servicePrice').val(response.price + '₺'); }); }); $('#buyNumber').click(function () { Swal.showLoading(); const serviceId = $('#services').val(); $.get('api/getNumber/' + serviceId, function ({ type, message }) { Swal.fire({ icon: type, text: message, }).then(() => { if (type == 'success') { window.location.href = window.base_url + '/panel/numbers'; } }); }); }); $('#filterCategories').keyup(function () { let val = $(this).val(); $('.categoryName').filter(function (_, e) { return !$(e).html().toLowerCase().includes(val); }).parent().parent().parent().parent().addClass('hidden'); $('.categoryName').filter(function (_, e) { return $(e).html().toLowerCase().includes(val); }).parent().parent().parent().parent().removeClass('hidden'); }); }); |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0182 ]-- |