403Webshell
Server IP : 68.178.247.200  /  Your IP : 216.73.216.14
Web Server : Apache
System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : x9dppmxs4rgd ( 8559391)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/x9dppmxs4rgd/www/wp-content/plugins/youtube-showcase/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/x9dppmxs4rgd/www/wp-content/plugins/youtube-showcase/includes//widget-functions.php
<?php
/**
 * Widget Functions
 *
 * @package     EMD
 * @copyright   Copyright (c) 2014,  Emarket Design
 * @since       1.0
 */
if (!defined('ABSPATH')) exit;
add_action('wp_ajax_emd_get_widg_pagenum', 'emd_get_widg_pagenum');
add_action('wp_ajax_nopriv_emd_get_widg_pagenum', 'emd_get_widg_pagenum');

function emd_get_widg_pagenum(){
	$response = false;
	$pageno = isset($_GET['pageno']) ? (int) $_GET['pageno'] : 1;
	$div_id = isset($_GET['div_id']) ? sanitize_text_field($_GET['div_id']) : '';
	$myapp = isset($_GET['app']) ? sanitize_text_field($_GET['app']) : '';
	if(!empty($div_id)){
		$pids = Array();
                $front_ents = emd_find_limitby('frontend', $myapp);
		$widg_arr = explode("-",$div_id);
		$mywidg = new $widg_arr[1]();
		$widget_settings = get_option('widget_' . $widg_arr[1]);
		$count = $widget_settings[$widg_arr[2]]['count'];
		$args['has_pages'] = $widget_settings[$widg_arr[2]]['pagination'];
		$args['posts_per_page'] = $widget_settings[$widg_arr[2]]['count_per_page'];
		$args['pagination_size'] = $widget_settings[$widg_arr[2]]['pagination_size'];
                if(!empty($front_ents) && in_array($mywidg->class,$front_ents) && $mywidg->type != 'integration'){
                        $pids = apply_filters('emd_limit_by', $pids, $app, $mywidg->class,'frontend');
                }
		$args['filter'] = $mywidg->filter;
		$args['has_pages'] = true;
		$args['class'] = $mywidg->class;
		$args['cname'] = get_class($mywidg);
		$args['app'] = $myapp;
		$args['query_args'] = $mywidg->query_args;
		$args['query_args']['paged'] = $pageno;
		$widg_layout = Emd_Widget::get_ent_widget_layout($count, $pids,$args);
		if ($widg_layout) {
			echo '<input type="hidden" id="emd_app" value="' . $myapp . '">';
			echo $mywidg->header;
			echo $widg_layout;
			echo $mywidg->footer;
			die();
		}
	}
	echo $response;
	die();
}

Youez - 2016 - github.com/yon3zu
LinuXploit