SHELL BYPASS 403 |
Modern UI. Responsive. Powerful.

Faizzz-Chin Shell

Uname\Kernel: Linux server.kxo.bgz.mybluehostin.me 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
Server: Apache
PHP Version: 8.2.28 [ PHP INFO ]
Operating System: Linux
Server Ip: 162.240.163.222
Your Ip: 216.73.216.114
Date Time: 2025-07-11 17:55:51
User: dilseshaadi (1027) | Group: dilseshaadi (1027)
Safe Mode: OFF
Disable Function: exec,passthru,shell_exec,system

name : data_sources.php
<?php
VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_list_wp_menus');

function vp_bind_ozy_wedding_planner_list_wp_menus($value) {
	$result = array(
		array('value' => '-1', 'label' => esc_attr__('-Use Generic-', 'wedding-planner'))		
	);
	$menus = get_terms('nav_menu');
	foreach($menus as $menu) {
		array_push($result, array('value' => $menu->slug, 'label' => $menu->name));		
	}
	return $result;
}

VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_portfolio_categories_simple');

function vp_bind_ozy_wedding_planner_portfolio_categories_simple() {

	$arr = get_terms( 'portfolio_category', array('hide_empty' => false ) );
	$result = array();
	foreach ($arr as $item)
	{
		if(isset($item->name) && $item->term_id) $result[] = array('value' => $item->term_id, 'label' => $item->name);
	}
	return $result;
}

VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_portfolio_categories');

function vp_bind_ozy_wedding_planner_portfolio_categories() {

	$arr = get_terms( 'portfolio_category', array('hide_empty' => false ) );
	$result = array(array('value' => '-1', 'label' => esc_attr__('All', 'wedding-planner')));
	foreach ($arr as $item)
	{
		if(isset($item->name) && $item->term_id) $result[] = array('value' => $item->term_id, 'label' => $item->name);
	}
	return $result;
}

VP_Security::instance()->whitelist_function('vp_get_font_weight_list');

function vp_get_font_weight_list()
{
	return array(array('value'=>'100', 'label' => '100'), array('value'=>'200', 'label' => '200'), array('value'=>'300', 'label' => '300'), array('value'=>'400', 'label' => '400'), array('value'=>'500', 'label' => '500'), array('value'=>'600', 'label' => '600'), array('value'=>'700', 'label' => '700'), array('value'=>'800', 'label' => '800'), array('value'=>'900', 'label' => '900'));
}

VP_Security::instance()->whitelist_function('vp_get_font_letter_spacing_list');

function vp_get_font_letter_spacing_list()
{
	return array(array('value'=>'normal', 'label' => 'normal'), array('value'=>'-5', 'label' => '-5'), array('value'=>'-4', 'label' => '-4'), array('value'=>'-3', 'label' => '-3'), array('value'=>'-2', 'label' => '-2'), array('value'=>'-1', 'label' => '-1'), array('value'=>'1', 'label' => '1'), array('value'=>'2', 'label' => '2'), array('value'=>'3', 'label' => '3'), array('value'=>'4', 'label' => '4'), array('value'=>'5', 'label' => '5'));
}

VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_sidebars');

function vp_bind_ozy_wedding_planner_sidebars() {
	$wp_posts = get_posts(array(
		'posts_per_page' => -1,
		'post_type' => 'ozy_sidebars'
	));

	$result = array();
	foreach ($wp_posts as $post)
	{
		$result[] = array('value' => $post->post_name, 'label' => $post->post_title);
	}
	return $result;
}

VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_pages');

function vp_bind_ozy_wedding_planner_pages() {
	$wp_pages = get_pages(array(
		'post_type' => 'page',
		'post_status' => 'publish'	
	));

	$result = array();
	foreach ($wp_pages as $page)
	{
		$result[] = array('value' => $page->ID, 'label' => $page->post_title);
	}
	return $result;
}

VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_image_gallery_categories');

function vp_bind_ozy_wedding_planner_image_gallery_categories() {

	$arr = get_terms( 'image_gallery_category', array('hide_empty' => false ) );
	$result = array(array('value' => '-1', 'label' => esc_attr__('All', 'wedding-planner')));
	foreach ($arr as $item)
	{
		if(isset($item->name) && $item->term_id) $result[] = array('value' => $item->term_id, 'label' => $item->name);
	}
	return $result;
}

VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_image_gallery_categories_raw');

function vp_bind_ozy_wedding_planner_image_gallery_categories_raw() {

	$arr = get_terms( 'image_gallery_category', array('hide_empty' => false ) );
	$result = array();
	foreach ($arr as $item)
	{
		if(isset($item->name) && $item->term_id) $result[] = array('value' => $item->term_id, 'label' => $item->name);
	}
	return $result;
}

VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_video_gallery_categories');

function vp_bind_ozy_wedding_planner_video_gallery_categories() {

	$arr = get_terms( 'video_gallery_category', array('hide_empty' => false ) );
	$result = array(array('value' => '-1', 'label' => esc_attr__('All', 'wedding-planner')));
	foreach ($arr as $item)
	{
		if(isset($item->name) && $item->term_id) $result[] = array('value' => $item->term_id, 'label' => $item->name);
	}
	return $result;
}

VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_blog_categories');

function vp_bind_ozy_wedding_planner_blog_categories() {

	$arr = get_terms( 'category', array('hide_empty' => false ) );
	$result = array(array('value' => '-1', 'label' => esc_attr__('All', 'wedding-planner')));
	foreach ($arr as $item)
	{
		$result[] = array('value' => $item->term_id, 'label' => $item->name);
	}
	return $result;
}

VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_revolution_slider');

function vp_bind_ozy_wedding_planner_revolution_slider() {

	$result = array();
	
	if(class_exists('RevSliderFront')) {
		
		$result[] = array('value' => '-1', 'label' => esc_attr__('-Not in Use-', 'wedding-planner'));
		
		global $wpdb, $table_prefix;
			
		$revsldr = $wpdb->get_results($wpdb->prepare("SELECT ID, title, alias FROM {$table_prefix}revslider_sliders where ID>%d", 0));
		
		$revsldr_alias = array();
		if ($revsldr) {
			foreach ( $revsldr as $revsldr_slide ) {
				$result[] = array('value' => $revsldr_slide->alias, 'label' => $revsldr_slide->title);
			}
		}
		
	} else {
		$result[] = array('value' => '-1', 'label' => esc_attr__('-Revolution Slider is not activated-', 'wedding-planner'));
	}

	return $result;
}

VP_Security::instance()->whitelist_function('vp_bind_ozy_wedding_planner_master_slider');

function vp_bind_ozy_wedding_planner_master_slider() {

	$result = array();
	
	if( defined( 'MSWP_AVERTA_VERSION' ) ){
		
		$result[] = array('value' => '-1', 'label' => esc_attr__('-Not in Use-', 'wedding-planner'));
		
		global $wpdb, $table_prefix;
			
		$revsldr = $wpdb->get_results($wpdb->prepare("SELECT ID, title FROM {$table_prefix}masterslider_sliders where ID>%d", 0));
		
		$revsldr_alias = array();
		if ($revsldr) {
			foreach ( $revsldr as $revsldr_slide ) {
				$result[] = array('value' => $revsldr_slide->ID, 'label' => $revsldr_slide->title);
			}
		}
		
	} else {
		$result[] = array('value' => '-1', 'label' => esc_attr__('-Master Slider is not activated-', 'wedding-planner'));
	}

	return $result;
}

VP_Security::instance()->whitelist_function('vp_font_preview');

function vp_font_preview($face, $style, $weight, $size, $line_height)
{
	$gwf   = new VP_Site_GoogleWebFont();
	$gwf->add($face, $style, $weight);
	$links = $gwf->get_font_links();
	$link  = reset($links);
	$dom   = <<<EOD
<link href='$link' rel='stylesheet' type='text/css'>
<p style="padding: 0 10px 0 10px; font-family: $face; font-style: $style; font-weight: $weight; font-size: {$size}px; line-height: {$line_height}em;">
	Grumpy wizards make toxic brew for the evil Queen and Jack
</p>
EOD;
	return $dom;
}

VP_Security::instance()->whitelist_function('vp_font_preview_simple');

function vp_font_preview_simple($face, $style, $weight = '700')
{
	$gwf   = new VP_Site_GoogleWebFont();
	$gwf->add($face, $style, $weight);
	$links = $gwf->get_font_links();
	$link  = reset($links);
	$dom   = <<<EOD
<link href='$link' rel='stylesheet' type='text/css'>
<p style="padding: 0 10px 0 10px; font-family: $face; font-style: $style; font-weight: $weight; font-size: 26px; line-height: 33px;">
	Grumpy wizards make toxic brew for the evil Queen and Jack
</p>
EOD;
	return $dom;
}

VP_Security::instance()->whitelist_function('ozy_google_fonts_cache');

function ozy_google_fonts_cache() {
	global $ozyWeddingPlannerHelper;
	$ozyWeddingPlannerHelper->render_google_fonts( true, false );

	$currently_hosted_google_fonts = sprintf( '<strong>%1$s</strong>', esc_html__( 'Downloaded Fonts', 'wedding-planner' ) );
	$currently_hosted_google_fonts .= '<ul>';
	$wedding_planner_google_fonts_options = get_option( 'wedding_planner_google_fonts_options' );
	if( isset( $wedding_planner_google_fonts_options['selected_fonts'] ) ) {
		foreach( $wedding_planner_google_fonts_options['selected_fonts'] as $gfont ) {
			$currently_hosted_google_fonts .= sprintf( '<li>%1$s</li>', $gfont );			
		}
		$currently_hosted_google_fonts .= sprintf( '<li><a href="#clear-google-fonts-cache" class="ozy-clear-google-fonts-cache button">%1$s</a><p><small>%2$s</small></p></li>', esc_html__( 'Clear Cache', 'wedding-planner' ), esc_html__( 'Strongly recommended to clear cache when Extended Parameters changes saved.', 'wedding-planner' ) );			
	}else{
		$currently_hosted_google_fonts .= sprintf( '<li>%1$s</li>', esc_html__( 'Nothing found, try to view your site like visitor and then refresh this page.', 'wedding-planner' ) );
		$currently_hosted_google_fonts .= sprintf( '<li><a href="#clear-google-fonts-cache" class="ozy-clear-google-fonts-cache button">%1$s</a></li>', esc_html__( 'Clear Cache', 'wedding-planner' ) );			
	}
	$currently_hosted_google_fonts .= '</ul>';
$dom   = <<<EOD
<p>$currently_hosted_google_fonts</p>
EOD;
	return $dom;
}
© 2025 Faizzz-Chin