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
Choose File :

Url:
Dir : /home/trave494/familymovies.us/wp-content/themes/PsyPlay2/archive-tvshows.php

<?php
define('WPAS_DEBUG', false); get_header();  

$ppp = get_option('archive_posts');
$args = array();
$args['wp_query'] = array('post_type' => 'tvshows',
'posts_per_page' => $ppp,
'order' => 'DESC',
'orderby' => 'date');

 $args['fields'][] = array( 'type' => 'post_type', 
'format' => 'radio', 
'label' => 'Search Type', 
'values' => array('post' => 'Movies', 'tvshows' => 'TV-Series'),
'default' => 'tvshows'
);

$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/aviso'); ?>
<?php }?>

<!--category-->
<div class="movies-list-wrap mlw-category">

<div class="ml-title ml-title-page">
<span><?php _e('All TV Series', 'psythemes'); ?></span>
<div class="filter-toggle" style="display:none;"><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="active" href="#"><i class="fa fa-clock-o mr5"></i><?php _e('Latest', 'psythemes'); ?></a></li>
<li><a href="#"><i class="fa fa-eye mr5"></i><?php _e('Most Viewed', 'psythemes'); ?></a></li>
<li><a class="" href="#"><i class="fa fa-heart mr5"></i><?php _e('Most Favorite', 'psythemes'); ?></a></li>
<li><a class="" href="#"><i class="fa fa-star mr5"></i><?php _e('Most Rating', 'psythemes'); ?></a></li>
<li><a class="" href="#"><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('archive-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 stripslashes($ads); ?></div><?php }?>
            </div>
<?php }?>


<div id="pagination" style="margin: 0;">
<?php pagination($wp_query->max_num_pages);?>                    
</div>

<div class="movies-list movies-list-full">
				<?php 
if ( have_posts() ): while ( have_posts() ): the_post(); ?>
		
<?php get_template_part('includes/parts/item'); ?>
            
    <?php endwhile; endif; ?>

<div class="clearfix"></div>
</div>
<?php pagination($wp_query->max_num_pages);?>
</div>


<?php $active = get_option('archive-ad-2'); if ($active == "true") { ?>

            <div class="content-kuss">
<?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 stripslashes($ads); ?></div><?php }?>
            </div>
<?php }?>

        </div>
    </div>
</div>
<!--/main -->
<?php  get_footer(); ?>