$ks_settings['h2_style'] = ' style="color:white;background-color:#ff1493;font-size:smaller;text-align:center;"';
$ks_settings['hr_color'] = '#ff69b4';
$ks_settings['list_pages'] = 'sort_column=menu_order,post_title';
$ks_settings['title_style'] = 'color:white;background-color:#ff69b4;';
$ks_settings['date_color'] = '#3366cc';
$ks_settings['comment_color'] = ks_option('ks_comment_type_color');
$ks_settings['comments_icon'] = array('none' => __('Comments off', 'ktai_style'), 'sec' => __('View comments (Need password)', 'ktai_style'), 'icon' => '', 'icon_zero' => '<img localsrc="265" alt="" />', 'icon_one' => '<img localsrc="51" alt="" />', 'icon_more' => '<img localsrc="266" alt="" />', 'icon_none' => '<img localsrc="61" alt="" />', 'icon_sec' => '<img localsrc="120" alt="?" />');
$ks_settings['edit_color'] = 'green';
if (ks_is_flat_rate()) {
    $before = sprintf('<div align="center"><img src="%stitle1%s.gif" alt="" /><h1%s>', ks_theme_url(KTAI_NOT_ECHO), $logo_ext, $h1_style);
    $after = sprintf('</h1><img src="%stitle2%s.gif" alt="" /></div>', ks_theme_url(KTAI_NOT_ECHO), $logo_ext);
} else {
    $before = '<h1 align="center">';
    $after = '</h1>';
}
ks_page_title(array('before' => $before, 'after' => $after));
?>
<div align="right"><a href="#tail"><font size="-1"><img localsrc="30" alt="<?php 
_e('&darr;', 'ktai_style');
?>
" /><?php 
_e('MenU', 'loving');
?>
</font></a></div>
<hr color="<?php 
echo $ks_settings['hr_color'];
?>
" />
<!--start paging[<hr color="<?php 
echo $ks_settings['hr_color'];
?>
?>
</head>
<body>
<?php 
/* <body bgcolor="" text="" link="" alink="" vlink=""> */
global $ks_settings;
$ks_settings = array();
// erase array for security
$ks_settings['h2_style'] = '';
$ks_settings['list_pages'] = 'sort_column=menu_order,post_title';
$ks_settings['ol_max'] = 9;
$ks_settings['ol_count'] = 1;
$ks_settings['date_color'] = ks_option('ks_date_color');
$ks_settings['time_color'] = ks_option('ks_time_color');
$ks_settings['author_color'] = ks_option('ks_author_color');
$ks_settings['comment_color'] = ks_option('ks_comment_color');
$ks_settings['edit_color'] = ks_option('ks_edit_color');
ks_page_title();
/* ks_page_title('logo.png'); */
?>
<div align="right"><font size="-1"><a href="#tail" accesskey="0"><img localsrc="30" alt="<?php 
_e('&darr;', 'ktai_style');
?>
" /><?php 
_e('Menu', 'ktai_style');
?>
</a><?php 
ks_pict_number(0, true);
?>
</font></div>
<hr />
global $ks_settings;
$ks_settings = array();
// erase array for security
$ks_settings['h2_style'] = ' style="background-color:#223355;color:white;font-size:smaller;"';
$ks_settings['h2_a_color'] = 'color:#eeeeee';
$ks_settings['hr_color'] = 'gray';
$ks_settings['list_pages'] = 'sort_column=menu_order,post_title';
$ks_settings['date_color'] = 'maroon';
$ks_settings['author_color'] = '#223300';
$ks_settings['comment_color'] = '#223300';
$ks_settings['edit_color'] = 'green';
if (!ks_is_redir()) {
    // other than redir.php
    $opt = array('before' => '<div style="color:white;background-color:gray;margin:0;text-align:center;"><br /><h1>', 'before_logo' => NULL, 'after' => '</h1><br /></div>');
    /* $opt['logo_file'] = 'logo.png'; */
    ks_page_title($opt);
    if (ks_is_front()) {
        ?>
		<p><font size="-1"><?php 
        bloginfo('description');
        ?>
</font></p>
	<?php 
    }
    ?>
	<div align="right"><a href="#tail"><font size="-1"><img localsrc="30" alt="<?php 
    _e('&darr;', 'ktai_style');
    ?>
" /><?php 
    _e('Menu', 'ktai_style');
    ?>
$ks_settings['list_pages'] = 'sort_column=menu_order,post_title';
$ks_settings['title_style'] = 'color:white;background-color:#22bb11;';
$ks_settings['list_color'] = 'maroon';
$ks_settings['date_color'] = 'maroon';
$ks_settings['time_color'] = 'green';
$ks_settings['author_color'] = ks_option('ks_author_color');
$ks_settings['comment_color'] = 'gray';
$ks_settings['edit_color'] = 'teal';
$ks_settings['pagenum_style'] = 'color:olive;text-align:center;';
$show_on_front = get_option('show_on_front') == 'page';
$page_for_posts = get_option('page_for_posts');
$ks_settings['ol_max'] = $show_on_front && $page_for_posts ? 6 : 7;
if (!ks_is_redir()) {
    // other than redir.php
    $before = '<div style="color:white;background-color:#009933;margin:0;">' . (ks_is_flat_rate() ? '<h1 style="margin:0"><img src="' . ks_theme_url(KTAI_NOT_ECHO) . 'icon.gif" alt="" />' : '<h1>');
    ks_page_title(array('before' => $before, 'after' => '</h1></div>'));
    if (ks_is_front()) {
        ?>
		<p><font size="-1"><?php 
        bloginfo('description');
        ?>
</font></p>
	<?php 
    }
    ?>
	<div align="right"><font size="-1"><a href="#tail"><img localsrc="30" alt="<?php 
    _e('&darr;', 'ktai_style');
    ?>
" /><?php 
    _e('Menu', 'ktai_style');
    ?>