<div class="optionNav" style="display:none;">
<ul>
    <li id="btn_design"><a href="#design"><?php 
echo _x('Design', 'BizVektor option tab label', 'biz-vektor');
?>
</a></li>
    <li id="btn_contactInfo"><a href="#contactInfo"><?php 
echo _x('Contact', 'BizVektor option tab label', 'biz-vektor');
?>
</a></li>
    <li id="btn_prBox"><a href="#prBox"><?php 
echo _x('TopPR', 'BizVektor option tab label', 'biz-vektor');
?>
</a></li>
    <li id="btn_postSetting"><a href="#postSetting"><?php 
echo esc_html(biz_vektor_Options('postLabelName'));
?>
</a></li>
    <li id="btn_topPage"><a href="#topPage"><?php 
echo _x('Homepage', 'BizVektor option tab label', 'biz-vektor');
?>
</a></li>
    <li id="btn_slideSetting"><a href="#slideSetting"><?php 
echo _x('Slide', 'BizVektor option tab label', 'biz-vektor');
?>
</a></li>
</ul>
</div>
function biz_vektor_blogList()
{
    $options = biz_vektor_get_theme_options();
    $blogRss = $options['blogRss'];
    if ($blogRss) {
        ?>
	<div id="topBlog" class="infoList">
	<h2><?php 
        echo esc_html(biz_vektor_Options('rssLabelName'));
        ?>
</h2>
	<div class="rssBtn"><a href="<?php 
        echo $blogRss;
        ?>
" id="blogRss" target="_blank">RSS</a></div>
		<?php 
        $xml = simplexml_load_file($blogRss);
        $count = 0;
        echo '<ul class="entryList">';
        if ($xml->channel->item) {
            // WordPress ameblo
            foreach ($xml->channel->item as $entry) {
                // fot ameblo PR
                $entryTitJudge = mb_substr($entry->title, 0, 3);
                // trim 3 charactors
                if (!($entryTitJudge == 'PR:')) {
                    // Display to only not 'PR:
                    $entrydate = date("Y.m.d", strtotime($entry->pubDate));
                    echo '<li><span class="infoDate">' . $entrydate . '</span>';
                    echo '<span class="infoTxt"><a href="' . $entry->link . '" target="_blank">' . $entry->title . '</a></span></li>';
                    $count++;
                }
                if ($count > 4) {
                    break;
                }
            }
        } else {
            if ($xml->item) {
                // RSS 1.0 (FC2)
                foreach ($xml->item as $entry) {
                    $dc = $entry->children('http://purl.org/dc/elements/1.1/');
                    $entrydate = date('Y.m.d', strtotime($dc->date));
                    echo '<li><span class="infoDate">' . $entrydate . '</span>';
                    echo '<span class="infoTxt"><a href="' . $entry->link . '" target="_blank">' . $entry->title . '</a></span></li>';
                    $count++;
                    if ($count > 4) {
                        break;
                    }
                }
            } else {
                // livedoor
                foreach ($xml->entry as $entry) {
                    $entrydate = substr($entry->modified, 0, 10);
                    $entrydate = str_replace("-", ".", $entrydate);
                    echo '<li><span class="infoDate">' . $entrydate . '</span>';
                    echo '<span class="infoTxt"><a href="' . $entry->link->attributes()->href . '" target="_blank">' . $entry->title . '</a></span></li>';
                    $count++;
                    if ($count > 4) {
                        break;
                    }
                }
            }
        }
        echo "</ul>";
        ?>
	</div><!-- [ /#topBlog ] -->
<?php 
    }
}