Sindbad~EG File Manager

Current Path : /var/www/html/wordpress_tahouas/wp-content/themes/newsbt-mobile/
Upload File :
Current File : /var/www/html/wordpress_tahouas/wp-content/themes/newsbt-mobile/archive.php

<?php 
/*
 * Security 	: blocking direct access
 * Source		: http://codex.wordpress.org/Theme_Development#Template_Files
*/
defined('ABSPATH') or die("Access Restricted");

get_header(); 

	if (is_day()) { 
		?><h1 class="archive-title <?php echo mwp_csa_color(); ?>"><?php _e('Archive - ', MWP_TEXT_DOMAIN); ?><?php the_time('F j Y'); ?></h1><?php 
	} elseif (is_month()) { 
		?><h1 class="archive-title <?php echo mwp_csa_color(); ?>"><?php _e('Archive - ', MWP_TEXT_DOMAIN); ?><?php the_time('F Y'); ?></h1><?php 
	} elseif (is_year()) { 
		?><h1 class="archive-title <?php echo mwp_csa_color(); ?>"><?php _e('Archive - ', MWP_TEXT_DOMAIN); ?><?php the_time('Y'); ?></h1><?php 
	} else { 
		?><h1 class="archive-title <?php echo mwp_csa_color(); ?>"><?php single_cat_title(); ?></h1><?php 
	}
	
	$get_posts_style = mwp_option('mobile-posts-style');
	
	if ($get_posts_style == 1) {
		require_once( get_template_directory() . '/includes/archive/archive-1.php' );
		?><script>jQuery(window).on("load",function(){setTimeout(function(){setCSSHEIGHT(".list-posts", ".s1");}, 1000);});</script><?php 
	} elseif ($get_posts_style == 2) {
		require_once( get_template_directory() . '/includes/archive/archive-2.php' );
		?><script>jQuery(window).on("load",function(){setTimeout(function(){setCSSHEIGHT(".list-posts", ".s2");}, 1000);});</script><?php 
	} elseif ($get_posts_style == 3) {
		require_once( get_template_directory() . '/includes/archive/archive-3.php' );
		?><script>jQuery(window).on("load",function(){setTimeout(function(){setCSSHEIGHT(".list-posts", ".s3");}, 1000);});</script><?php 
	}

get_footer();

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists