id="li-comment-">
\n";
else $ech = '\n";
echo apply_filters('itx_footer', $ech);
}
add_action('wp_footer','itx_footer',1);
function itx_favicon(){
$fav=itx_get_option('misc','favicon');
if($fav) echo '';
}
add_action('wp_head','itx_favicon');
/*
* Generate random default style
*/
$def_style=get_option(get_template().'_default_style');
if (empty($def_style)){
$styles=array_keys(itx_setting('style'));
$style=array_slice($styles,rand(0,count($styles)-1),1);
update_option(get_template().'_default_style', $style[0]);
}
?>