$roll = 0;
if( is_home() && _hui(\’sideroll_index_s\’) ){
$roll = _hui(\’sideroll_index\’);
}else if( (is_category() || is_tag() || is_search()) && _hui(\’sideroll_list_s\’) ){
$roll = _hui(\’sideroll_list\’);
}else if( is_single() && _hui(\’sideroll_post_s\’) ){
$roll = _hui(\’sideroll_post\’);
}else if( is_page() && _hui(\’sideroll_page_s\’) ){
$roll = _hui(\’sideroll_page\’);
}
if( $roll ) $roll = json_encode(explode(\’ \’, $roll));
?>