Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

/* ----------- PANEL // */ function fs_get_option($key) { global $fs_options; ..

Decoded Output download

<?  /* ----------- 
PANEL // 
*/ 
 
function fs_get_option($key) { 
	 
	global $fs_options;	 
	$fs_options = get_option('fs_options'); 
	 
	$fs_defaults = array( 
		'fs_color' => 'red', 
		'fs_sidebar' => 'ts-sb-right', 
		'fs_align' => 'ts-main-left', 
		'fs_logo' => get_bloginfo('template_url').'/images/logo.png', 
		'fs_rss' => get_bloginfo('rss2_url'), 
		'fs_slider_items' => 3, 
		'fs_home_title' => __('latest blog posts', 'fors'), 
		'fs_home_items' => 6, 
		'fs_about_title' => __('about me', 'fors'), 
		'fs_about' => __('Enter a short text about you on the theme options page.', 'fors'), 
		'fs_social_title' => __('get in touch', 'fors') 
	); 
	 
	foreach($fs_defaults as $k=>$v) { 
		if (!$fs_options[$k]) 
			$fs_options[$k] = $fs_defaults[$k]; 
	} 
	 
	return $fs_options[$key]; 
} 
 
require_once( TEMPLATEPATH . '/lib/admin/theme-options.php'); 
 
add_action('wp_footer','fs_theme_footer'); 
 
function fs_theme_footer() { 
	 
	echo "
".fs_get_option('fs_tracking')."
"; 
 
} 
 ?>

Did this file decode correctly?

Original Code

/* -----------
PANEL //
*/

function fs_get_option($key) {
	
	global $fs_options;	
	$fs_options = get_option('fs_options');
	
	$fs_defaults = array(
		'fs_color' => 'red',
		'fs_sidebar' => 'ts-sb-right',
		'fs_align' => 'ts-main-left',
		'fs_logo' => get_bloginfo('template_url').'/images/logo.png',
		'fs_rss' => get_bloginfo('rss2_url'),
		'fs_slider_items' => 3,
		'fs_home_title' => __('latest blog posts', 'fors'),
		'fs_home_items' => 6,
		'fs_about_title' => __('about me', 'fors'),
		'fs_about' => __('Enter a short text about you on the theme options page.', 'fors'),
		'fs_social_title' => __('get in touch', 'fors')
	);
	
	foreach($fs_defaults as $k=>$v) {
		if (!$fs_options[$k])
			$fs_options[$k] = $fs_defaults[$k];
	}
	
	return $fs_options[$key];
}

require_once( TEMPLATEPATH . '/lib/admin/theme-options.php');

add_action('wp_footer','fs_theme_footer');

function fs_theme_footer() {
	
	echo "\n".fs_get_option('fs_tracking')."\n";

}

Function Calls

None

Variables

None

Stats

MD5 55f3cf95daa6797e21926590efb8b26d
Eval Count 0
Decode Time 96 ms