$option) { $radio_setting = get_settings($value['id']); if($radio_setting != ''){ if ($key == get_settings($value['id']) ) { $checked = "checked=\"checked\""; } else { $checked = ""; } }else{ if($key == $value['std']){ $checked = "checked=\"checked\""; }else{ $checked = ""; } }?> /> />$option) { $pn_key = $value['id'] . '_' . $key; $checkbox_setting = get_settings($stylewp_key); if($checkbox_setting != ''){ if (get_settings($stylewp_key) ) { $checked = "checked=\"checked\""; } else { $checked = ""; } }else{ if($key == $value['std']){ $checked = "checked=\"checked\""; }else{ $checked = ""; } }?> />


BACK TO THE TOP
:
\n\n"; if ( '' != $output ) echo $head . $output . $foot; } add_action('wp_head', 'agi_head'); function agi_header_image() { return apply_filters('agi_header_image', get_option('agi_header_image')); } function agi_upper_color() { if (strpos($url = agi_header_image_url(), 'header-img.php?') !== false) { parse_str(substr($url, strpos($url, '?') + 1), $q); return $q['upper']; } else return '69aee7'; } function agi_lower_color() { if (strpos($url = agi_header_image_url(), 'header-img.php?') !== false) { parse_str(substr($url, strpos($url, '?') + 1), $q); return $q['lower']; } else return '4180b6'; } function agi_header_image_url() { if ( $image = agi_header_image() ) $url = get_template_directory_uri() . '/images/' . $image; else $url = get_template_directory_uri() . '/images/mainlogo.gif'; return $url; } function agi_header_color() { return apply_filters('agi_header_color', get_option('agi_header_color')); } function agi_header_color_string() { $color = agi_header_color(); if ( false === $color ) return 'white'; return $color; } function agi_header_display() { return apply_filters('agi_header_display', get_option('agi_header_display')); } function agi_header_display_string() { $display = agi_header_display(); return $display ? $display : 'inline'; }