403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.216.220
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u102440577 ( 7172810)
PHP Version : 8.4.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/44/d845879113/htdocs/app750263/wp-content/themes/simplemag/composer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/44/d845879113/htdocs/app750263/wp-content/themes/simplemag/composer/static-image.php
<?php 
/**
 * Static Image
 * Page Composer Section
 *
 * @package SimpleMag
 * @since 	SimpleMag 2.0
**/
?>

<section class="wrapper home-section advertising">
<?php
$image = get_sub_field( 'ad_banner_url' );
$image_link = get_sub_field( 'ad_banner_link' );

// Output the image
if ( !empty( $image ) ) {
	if (  !empty( $image_link ) ) {
		if ( get_sub_field( 'static_image_mode' ) == 'static_image_banner' ) {
			$new_window = 'target="_blank"'; 
		} else {
			$new_window = '';
		}
		echo '<a href="' . esc_url( $image_link ) . '"' . $new_window . '>';
	}
	echo '<figure class="base-image">
	<img src="' . esc_url( $image['url'] ) . '" alt="' . esc_attr( $image['alt'] ) . '" width="' . esc_attr( $image['width'] ) . '" height="' . esc_attr( $image['height'] ) . '" />';
	if ( $image['caption'] ) {
		echo '<span class="icon"></span><figcaption class="image-caption">' . $image['caption'] . '</figcaption>';
	}
	echo '</figure>';
	if (  !empty( $image_link ) ) { echo '</a>'; }
}
?>
</section><!-- Static Image -->

Youez - 2016 - github.com/yon3zu
LinuXploit