AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.117
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/c/o/o/coopiak/amisdesseniors-fr/catalog/plugins/system/djclassifiedsyt/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/c/o/o/coopiak/amisdesseniors-fr/catalog/plugins/system/djclassifiedsyt/assets/js/script.js
document.onreadystatechange = function () {
    if (document.readyState == "interactive") {

        // Load ask author fields
        let authorFields =  document.querySelectorAll('form.djcf-contact-form');
        if(authorFields.length) {
            authorFields.forEach(function (contactForm) {
            
                if(contactForm.querySelector('[name="item_id"]') !== null) {
                    var item_id = contactForm.querySelector('[name="item_id"]').value;
                    var http = new XMLHttpRequest();
                    var url = 'index.php';
                    const data = {
                        'option': 'com_djclassifieds',
                        'view' : 'item',
                        'task' : 'getAskFields',
                        'id' : item_id,
                        'wrapper_id': 'ask_ex_fields'
                    };
                    const params = new URLSearchParams(data).toString();
                    http.open('POST', url, true);

                    http.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');

                    http.onreadystatechange = function() {//Call a function when the state changes.
                        if(http.readyState == 4 && http.status == 200) {
                            if(contactForm.querySelector('.ask_ex_fields')){
                                contactForm.querySelector('.ask_ex_fields').innerHTML = http.responseText;

                                jQuery(document).trigger('djclassifieds.loaded', {context: 'item', client: 'site', ajax_data: data});

                                if(typeof document.formvalidator !== 'undefined'){
                                    document.formvalidator.attachToForm(contactForm);
                                }
                            }
                        }
                    }
                    http.send(params);
                }
            })
        }
        
        // pre-yt4 templates fix
        var first_search_el = document.querySelector('.main_search > div');
        if(first_search_el){
            first_search_el.classList.add('uk-first-column');
        }
    }
}

Anon7 - 2022
AnonSec Team