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/content-featured.php
<?php

/**
 * @file content-archive.php
 * Archive single property template.
 *
 * @var Es_Property $es_property
 * @var Es_Settings_Container $es_settings
 */

if ( function_exists( 'es_get_property') ):
	$es_property = es_get_property( get_the_ID() );
	$city = ES_Address_Components::get_property_component( get_the_ID(), 'locality' )->long_name;
	$country = ES_Address_Components::get_property_component( get_the_ID(), 'country' )->short_name;
	if ( !empty( $city ) || ( !empty( $country ) ) ) {
		$address = array(
			$city,
			$country
		);
	}
endif;?>
<?php $post_thumbnail = get_the_post_thumbnail();?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    <div>
        <div>
            <div>
                <a href="<?php the_permalink(); ?>">
	                <?php if ( !empty( $post_thumbnail ) ):?>
		                <?php the_post_thumbnail( 'posts-archive' ); ?>
	                <?php else:?>
                        <img src="<?php echo ES_PROJECT_URL . 'assets/images/no-image.jpg';?>" alt="<?php _e( 'No Image', 'es-project' );?>" title="<?php _e( 'No Image', 'es-project' );?>"/>
	                <?php endif;?>
                    <?php the_title(); ?>
                    <?php if ( !empty( $address ) ): ?>
                        <p><?php echo implode( ', ', $address );?></p>
                    <?php endif;?>
                </a>
            </div>
        </div>
        <div>
            <?php the_excerpt() ?>
        </div>
    </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit