<?php 
require_once '../../../../wp-load.php';  
header("Content-type: text/css");
	$getheadinggfont = '';
	$getbodygfont = '';
	if (get_theme_option('ktz_ffh') != ' ') { 
	$getheadinggfont = preg_split( '/:/',  get_theme_option('ktz_ffh') );
	$getheadinggfont = '"' . $getheadinggfont[0] . '",';
	}
	$getheadingdeffont = get_theme_option('ktz_headfontdefault');
	if( get_theme_option('ktz_ffb') ){
	$getbodygfont = preg_split( '/:/',  get_theme_option('ktz_ffb') );
	$getbodygfont = '"' . $getbodygfont[0] . '",';
	}
	$getbodydeffont = get_theme_option('ktz_fontdefault');
?>
body {
	font-family:<?php echo $getbodygfont; ?><?php echo $getbodydeffont; ?>;
	color:<?php echo get_theme_option('ktz_ffbcolor'); ?>;
	font-size:<?php echo get_theme_option('ktz_ffbsize'); ?>;
	<?php if ( get_theme_option('ktz_bodybg') != '' ) { ?>
	background-color:<?php echo get_theme_option('ktz_bodybg'); ?>;
	<?php } ?><?php if ( get_theme_option('ktz_bodyimgbg') != '' ) { ?>
	background-image:url(<?php echo get_theme_option('ktz_bodyimgbg'); ?>);
	<?php } ?><?php if ( get_theme_option('ktz_bodyimgbgrepeat') != '' ) { ?>
	background-repeat:<?php echo get_theme_option('ktz_bodyimgbgrepeat'); ?>;
	<?php } ?><?php if ( get_theme_option('ktz_bodyimgbgattach') != '' ) { ?>
	background-attachment:<?php echo get_theme_option('ktz_bodyimgbgattach'); ?>;
	<?php } ?><?php if ( get_theme_option('ktz_bodyimgbgposition') != '' ) { ?>
	background-position:<?php echo get_theme_option('ktz_bodyimgbgposition'); ?>;
	<?php } ?>
}
h1,
h2,
h3,
h4,
h5,
h6{
	font-family: <?php echo $getheadinggfont; ?> <?php echo $getheadingdeffont; ?>;
}
?>