PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/familymovies.us/wp-content/themes/PsyPlay2/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/familymovies.us/wp-content/themes/PsyPlay2/top_imdb.php |
<?php /* Template Name: Top IMDb Page */ define('WPAS_DEBUG', false); get_header(); $ppp = get_option('archive_posts'); $args = array(); $args['wp_query'] = array('meta_key' => 'end_time','meta_compare' =>'>=','meta_value'=>time(),'meta_key' => 'imdbRating', 'post__not_in' => get_option( 'sticky_posts' ),'posts_per_page' => $ppp,'orderby' => 'meta_value_num','order' => 'DESC'); $args['fields'][] = array( 'type' => 'post_type', 'format' => 'radio', 'label' => 'Search Type', 'values' => array('post' => 'Movies'), 'default' => 'post' ); $args['fields'][] = array('type' => 'taxonomy', 'label' => __( 'Quality', 'psythemes' ), 'taxonomy' => 'quality', 'format' => 'checkbox', 'operator' => 'IN'); $args['fields'][] = array('type' => 'taxonomy', 'label' => __( 'Genre', 'psythemes' ), 'taxonomy' => 'category', 'format' => 'checkbox', 'operator' => 'AND'); $args['fields'][] = array('type' => 'taxonomy', 'label' => __( 'Country', 'psythemes' ), 'taxonomy' => 'country', 'format' => 'checkbox', 'operator' => 'IN'); $args['fields'][] = array('type' => 'taxonomy', 'label' => __( 'Release Year', 'psythemes' ), 'taxonomy' => 'release-year', 'format' => 'radio', 'operator' => 'IN'); $args['fields'][] = array('type' => 'submit', 'value' => __('Filter results', 'psythemes')); $my_search_object = new WP_Advanced_Search($args); $temp_query = $wp_query; $wp_query = $my_search_object->query(); ?> <div class="header-pad"></div> <!-- main --> <div id="main" class="page-category"> <div class="container"> <div class="pad"></div> <div class="main-content main-category"> <?php if(get_option("notice_location") == "global" ){?> <?php get_template_part('includes/parts/notice'); ?> <?php }?> <!--category--> <div class="movies-list-wrap mlw-category"> <div class="ml-title ml-title-page"> <span><?php _e('Top IMDb', 'psythemes'); ?></span> <div class="filter-toggle"><i class="fa fa-sort mr5"></i><?php _e('Filter', 'psythemes'); ?></div> <div class="clearfix"></div> </div> <div id="filter"> <div class="filter-content row"> <div class="col-sm-2 fc-main"> <span class="fc-title"><?php _e('Sort by', 'psythemes'); ?></span> <ul class="fc-main-list"> <li><a class="" href="<?php echo get_option('mov_archive'); ?>"><i class="fa fa-clock-o mr5"></i><?php _e('Latest', 'psythemes'); ?></a></li> <li><a class="" href="<?php echo get_option('mviewed_archive'); ?>"><i class="fa fa-eye mr5"></i><?php _e('Most Viewed', 'psythemes'); ?></a></li> <li><a class="" href="<?php echo get_option('mfav_archive'); ?>"><i class="fa fa-heart mr5"></i><?php _e('Most Favorite', 'psythemes'); ?></a></li> <li><a class="" href="<?php echo get_option('mrat_archive'); ?>"><i class="fa fa-star mr5"></i><?php _e('Most Rating', 'psythemes'); ?></a></li> <li><a class="active" href="<?php echo get_option('topimdb_archive'); ?>"><i class="fa fa-fire mr5"></i><?php _e('Top IMDb', 'psythemes'); ?></a></li> </ul> </div> <div class="col-sm-10"> <?php $my_search_object->the_form(); ?> <div class="clearfix"></div> </div> </div> </div> <?php $active = get_option('top-most-ad-1'); if ($active == "true") { ?> <div class="content-kuss" style="margin: 0;"> <?php if ($note = get_option('ads_mains_1_title')) { ?> <div id="content-kuss-title"> <span><?php echo $note; ?></span></div> <?php }?> <?php if ($ads = get_option('ads_mains_1_code')) { ?><div class="content-kuss-ads"><?php echo $ads; ?></div><?php }?> </div> <?php }?> <div id="pagination" style="margin: 0;"> <?php pagination($additional_loop->max_num_pages);?> </div> <div class="movies-list movies-list-full"> <?php if ( have_posts() ): while ( have_posts() ): the_post(); $imdbRating = get_post_meta($post->ID, "imdbRating", $single = true); ?> <?php get_template_part('includes/parts/item'); ?> <?php endwhile; endif; ?> <div class="clearfix"></div> </div> <?php pagination($additional_loop->max_num_pages);?> </div> <?php $active = get_option('top-most-ad-2'); if ($active == "true") { ?> <div class="content-kuss" style="margin: 0;"> <?php if ($note = get_option('ads_mains_2_title')) { ?> <div id="content-kuss-title"> <span><?php echo $note; ?></span></div> <?php }?> <?php if ($ads = get_option('ads_mains_2_code')) { ?><div class="content-kuss-ads"><?php echo $ads; ?></div><?php }?> </div> <?php }?> </div> </div> </div> <!--/main --> <?php get_footer(); ?>