403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/edilchimica/webapps/edilchimica/wp-content/themes/edilchimica/vc_templates/lab_divider.php
<?php
/**
 *	Divider
 *	
 *	Laborator.co
 *	www.laborator.co 
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Direct access not allowed.
}

// Atts
if( function_exists( 'vc_map_get_attributes' ) ) {
	$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
}

extract( $atts );

$unique_id = 'divider-' . mt_rand(1000, 10000);

if( function_exists( 'uniqid' ) ) {
	$unique_id .= uniqid();
}

$css_classes = array(
	$this->getExtraClass( $el_class ),
	vc_shortcode_custom_css_class( $css ),
);

$css_class = preg_replace( '/\s+/', ' ', apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, implode( ' ', array_filter( $css_classes ) ), $this->settings['base'], $atts ) );

if ( $type == 'text' ) {
	
	if ( $text_color ) {
		
		if ( $text_style == 4 && empty( $text_color_font ) ) {
			$text_color_font = '#ffffff';
		}
		
		$text_color_font = empty( $text_color_font ) ? $text_color : $text_color_font;
		
		kalium_append_custom_css( "#{$unique_id} .lab-divider-content span", "color: {$text_color_font};" );
		
		switch ( $text_style ) {
				
			case '1':
				kalium_append_custom_css( "#{$unique_id} div span", "border-color: {$text_color};" );
				break;
			
			case '2':
			case '3':
				kalium_append_custom_css( "#{$unique_id} .divider-line span ", "border-top-color: {$text_color};" );
				break;
				
			case '4':
				kalium_append_custom_css( "#{$unique_id} div span", "border-color: {$text_color};" );
				kalium_append_custom_css( "#{$unique_id} .lab-divider-content span", "background-color: {$text_color};" );
				break;
				
			case '5':
				kalium_append_custom_css( "#{$unique_id} .divider-line span", "background-color: {$text_color};" );
				break;
				
		}
	}
	
	?>	
	<div id="<?php echo $unique_id; ?>" class="lab-divider divider-type-<?php echo $text_style; echo $css_class ? " {$css_class}" : ''; ?>">
		<div class="divider-line divider-left">
			<span></span>
			<span class="double-line"></span>
		</div>
	
		<div class="lab-divider-content">
			<span><?php echo do_shortcode( $title ); ?></span>
		</div>
		
		<div class="divider-line divider-right">
			<span></span>
			<span class="double-line"></span>
		</div>
	</div>
	<?php
} else {
	$width = floatval( $plain_width );
	
	$plain_style_attr = '';
	
	if( $width && is_numeric( $width ) && $width > 0 && $width <= 100 ) {
		$plain_style_attr .= 'display: block; width: ' . $width . ( strstr( $plain_width, 'px' ) ? 'px' : '%' ) . ';';
	}
	
	if( $plain_color ) {
		$plain_style_attr .= ' border-bottom-color: ' . $plain_color;
	}
	
	kalium_append_custom_css( "#{$unique_id} .lab-divider-content", $plain_style_attr );
	
	?>
	<div id="<?php echo $unique_id; ?>" class="lab-divider divider-plain type-<?php echo $plain_style; echo $css_class ? " {$css_class}" : ''; ?>">
		<div class="lab-divider-content"></div>
	</div>
	<?php
}

Youez - 2016 - github.com/yon3zu
LinuXploit