403Webshell
Server IP : 89.108.64.180  /  Your IP : 216.73.216.220
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-root ( 1010)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/element-elbrus.ru/wp-content/themes/hoteller/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/element-elbrus.ru/wp-content/themes/hoteller/js//illuminator.js
document.addEventListener('DOMContentLoaded', function(){
   document.querySelectorAll('.distortion_grid_item').forEach((e)=>{
       e.addEventListener('click', function(){
         document.location.href =  this.querySelector('.distortion_grid_item-link').href
       })
   })
   document.querySelector(".show-more")?.addEventListener("click", function(){
     const GalleryContainer =  document.querySelector('.gallery_grid_content_wrapper');
     GalleryContainer.querySelectorAll('.gallery_grid_item.d-none').forEach((e, i)=>{
        if(i > 5){return false};
        e.classList.remove('d-none');
     })
     if(!GalleryContainer.querySelector('.gallery_grid_item.d-none')){
      document.querySelector(".show-more").classList.add('d-none')
     }
   })
   let $frame = document.createElement('iframe');
   let li = document.createElement('li');
   $frame.src = "https://yandex.ru/sprav/widget/rating-badge/152380123146?type=rating";
   $frame.width = 150;
   $frame.height = 150;
   $frame.setAttribute('frameborder', '0') ;
    li.appendChild($frame);
    document.querySelector('.zoom-social-icons-list').appendChild(li);


  ymaps.ready(function () {
    var myMap = new ymaps.Map('map', {
        center: [57.3260,43.1163],
        zoom: 14,
        // Добавим панель маршрутизации.
        controls: ['routeButtonControl']
    });
    var control = myMap.controls.get('routeButtonControl');
    // Зададим состояние панели для построения машрутов.
    control.routePanel.state.set({
        // Тип маршрутизации.
        type: 'auto',
        // Адрес или координаты пункта назначения.
        to: '57.325741, 43.116969',
        
        
    });
    var myPlacemark = new ymaps.Placemark([57.325741, 43.116969],
      {
         balloonContent: 'LOFT'
      },

       {
        
        preset: 'islands#blueDotIcon'
    });
    myMap.geoObjects.add(myPlacemark);
    //В точку отправления передаем местоположение пользователя
    control.routePanel.geolocate('from');
    // Зададим опции панели для построения машрутов.
    control.routePanel.options.set({
        // Запрещаем показ кнопки, позволяющей менять местами начальную и конечную точки маршрута.
        allowSwitch: false,
        // Включим определение адреса по координатам клика.
        // Адрес будет автоматически подставляться в поле ввода на панели, а также в подпись метки маршрута.
        reverseGeocoding: true
    });
});

})

Youez - 2016 - github.com/yon3zu
LinuXploit