Sindbad~EG File Manager

Current Path : /var/www/html/wordpress_alg24news/wp-content/themes/newsbt/functions/ajax/
Upload File :
Current File : /var/www/html/wordpress_alg24news/wp-content/themes/newsbt/functions/ajax/category-video.php

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

function mwp_category_more_5(){
	global $post;
	$category 		= esc_attr($_GET['category']);
	$post_per_page 	= esc_attr($_GET['post_per_page']);	
    $paged 			= esc_attr($_GET['paged'] + 1);
	$vc_limit_title = esc_attr($_GET['vc_limit_title']);
	$param = array(
		'post_type' 		=> 'post',
		'post_status' 		=> 'publish',
		'cat' 				=> $category,
		'posts_per_page' 	=> $post_per_page,
		'paged' 			=> $paged
	);
	$mwp_category_more = new WP_Query($param);
	$output = '';
	?>
	<div class="content">
		<div class="section-articles">
		<?php while ($mwp_category_more->have_posts()) : $mwp_category_more->the_post(); ?>
			<li class="sixth hentry">
				<div class="thumbnail">
					<a href="<?php the_permalink() ?>" rel="bookmark" title=" <?php the_title_attribute(); ?>">
						<?php mwp_smart_thumb('mwp-small', $post->ID,  280, 160); ?>
						<?php if (mwp_option('thumbnail-vyd') == 1) { ?>
						<span class="duration"><?php echo mwp_video_duration($post->ID); ?></span>
						<?php } ?>
					</a>
				</div>
				<span class="date" ><?php the_time('l j F Y');?></span>	
				<h2 class="entry-title">
					<a href="<?php the_permalink() ?>" rel="bookmark" title=" <?php the_title_attribute(); ?>">
						<?php echo short_title(get_the_title(), $vc_limit_title);  ?>
					</a>
				</h2>
				<?php mwp_meta_hidden(); ?>
			</li>
		<?php endwhile; ?>
		</div>
	</div>
	<?php
    wp_reset_postdata();
    die($output);
}
add_action( MWP_AJAX_PREFIX . '_mwp_category_more_5', 'mwp_category_more_5');
add_action( MWP_AJAX_PREFIX . '_nopriv_mwp_category_more_5', 'mwp_category_more_5');

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