AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.111
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/coopiak/amisdesseniors-fr/nimes/modules/mod_djmediatools_albums/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/nimes/modules/mod_djmediatools_albums/assets/views.js
    function isVisible(row, container) {

        var elementTop = jQuery(row).offset().top,
            elementHeight = jQuery(row).height(),
            containerTop = container.scrollTop(),
            containerHeight = container.height();

        return ((((elementTop - containerTop) + elementHeight) > 0) && ((elementTop - containerTop) < containerHeight));
    }

    jQuery(document).ready(function () {

        jQuery(window).scroll(function () {
            jQuery('.dj-slide').each(function () {
                var slide_item = jQuery(this);
                var slide_visible = slide_item.css('visibility');
                if (isVisible(slide_item, jQuery(window)) && slide_visible == 'visible' && slide_item.attr('displayed') == null) {
                    var item_link = slide_item.find('a[data-id]');
                    if (typeof item_link !== 'undefined') {
                        var item_id = item_link.data('id').split(":");
                        if (item_id[0]) {
                            slide_item.attr('displayed', true);
                            jQuery.ajax({
                                url: "index.php?option=com_ajax&module=djmediatools_albums&method=incViews&format=json",
                                type: "POST",
                                data: {item_id: item_id[0]}
                            });
                        }
                    }
                }
                ;
            });
        });


    });


Anon7 - 2022
AnonSec Team