????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.36 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 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 : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.eu/wp-content/plugins/LayerSlider/includes/ |
Upload File : |
<?php
// 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';
}
$separator = apply_filters( 'layerslider_init_props_separator', ', ');
$init = implode( $separator, $init );
$lsInit[] = 'var lsjQuery = jQuery;';
$lsInit[] = 'lsjQuery(document).ready(function() {' . NL;
$lsInit[] = 'if(typeof lsjQuery.fn.layerSlider == "undefined") {' . NL;
$lsInit[] = 'if( window._layerSlider && window._layerSlider.showNotice) { ' . NL;
$lsInit[] = 'window._layerSlider.showNotice(\''.$sliderID.'\',\'jquery\');' . NL;
$lsInit[] = '}' . NL;
$lsInit[] = '} else {' . NL;
$lsInit[] = 'lsjQuery("#'.$sliderID.'")';
if( !empty($slides['callbacks']) && is_array($slides['callbacks']) ) {
foreach($slides['callbacks'] as $event => $function) {
$lsInit[] = '.on(\''.$event.'\', '.stripslashes($function).')';
}
}
$lsInit[] = '.layerSlider({'.$init.'});' . NL;
$lsInit[] = '}' . NL;
$lsInit[] = '});' . NL;