| Server IP : 5.144.175.180 / Your IP : 216.73.216.131 Web Server : Apache/2.4.63 (Unix) OpenSSL/1.1.1 System : Linux vpsgpz1.itsimplycom.it 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 User : edilchimica ( ) PHP Version : 7.4.33 Disable Function : getmyuid,passthru,leak,listen,diskfreespace,tmpfile,link,shell_exec,dl,exec,system,highlight_file,source,show_source,fpassthru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_open,proc_close,proc_nice,proc_terminate,escapeshellcmd,ini_alter,popen,pcntl_exec,socket_accept,socket_bind,socket_clear_error,socket_close,socket_connect,symlink,posix_geteuid,ini_alter,socket_listen,socket_create_listen,socket_read,socket_create_pair,stream_socket_server MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/edilchimica/webapps/edilchimica/wp-content/themes/edilchimica/vc_templates/ |
Upload File : |
<?php
/**
* Clients Logos
*
* Laborator.co
* www.laborator.co
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Direct access not allowed.
}
global $client_logo_index, $columns_count, $reveal_effect, $hover_style, $img_size, $retina_image, $lazy_load;
// Atts
if ( function_exists( 'vc_map_get_attributes' ) ) {
$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
}
extract( $atts );
$element_id = 'client-logos-' . mt_rand( 100000, 999999 );
// Element Class
$class = $this->getExtraClass( $el_class );
$css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, $class, $this->settings['base'], $atts ) . vc_shortcode_custom_css_class( $css, ' ' );
$css_class = "lab-clients-logos logos-holder {$css_class}";
// Column Spacing
if ( $column_spacing == 'no' ) {
$css_class .= ' no-spacing-cols';
}
// Image Borders
if ( $image_borders == 'no' ) {
$css_class .= ' no-image-borders';
}
// Thumb Size
if ( ! $img_size ) {
$img_size = "thumbnail";
}
// Alternate Height
if ( is_numeric( $height ) && $height > 0 ) {
$css_class .= ' alt-height';
kalium_append_custom_css( "#{$element_id} .c-logo", "height: {$height}px;" );
}
// Hover BG
if ( $hover_bg ) {
kalium_append_custom_css( "#{$element_id} .c-logo .hover-state", "background-color: {$hover_bg};" );
}
// Hover Text
if ( $hover_txt ) {
$hover_txt_selector = "#{$element_id} .c-logo .hover-state ";
kalium_append_custom_css( "{$hover_txt_selector} p, {$hover_txt_selector} a, {$hover_txt_selector} h3", "color: {$hover_txt};" );
}
// Retina image
$retina_image = 'yes' === $atts['retina_image'];
// Lazy load
$lazy_load = kalium_validate_boolean( $lazy_load );
// Show Team Members
$client_logo_index = 0;
?>
<div id="<?php echo esc_attr( $element_id ); ?>" class="<?php echo esc_attr( $css_class ); ?>">
<?php echo wpb_js_remove_wpautop( $content ); ?>
</div>