{include file='../common/header.tpl'}
{if count( $bloglist ) > 0}
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">{ lang: 'ja' }</script>
<p>
  {$pagerlink|default:'&nbsp;'}
</p>
{section name=list loop=$bloglist}
<div class="content_header">
  [{$bloglist[$smarty.section.list.index].categoryname}]&nbsp;{$bloglist[$smarty.section.list.index].blog_title}<br />
  ({$bloglist[$smarty.section.list.index].post_datetime}&nbsp;by&nbsp;{$bloglist[$smarty.section.list.index].user_name})
</div>
<div class="content_content">
  {$bloglist[$smarty.section.list.index].blog_body|replace:"\n":""|replace:"\r":""}
<p>
{if $bloglist[$smarty.section.list.index].cnt > 0}
  <a href="?cage={$mycage}&amp;act=blogcomment&amp;blogid={$bloglist[$smarty.section.list.index].blog_id}#comment">コメント:{$bloglist[$smarty.section.list.index].cnt}件</a>
{else}
  <a href="{$bloglist[$smarty.section.list.index].permanentlink}#comment">コメント:0件</a>
{/if}
&nbsp;|&nbsp;<a href="{$bloglist[$smarty.section.list.index].permanentlink}">Permanent Link</a>
<a href="http://b.hatena.ne.jp/entry/{$bloglist[$smarty.section.list.index].permanentlink}" class="hatena-bookmark-button" data-hatena-bookmark-title="{$blogname}({$bloglist[$smarty.section.list.index].blog_title})" data-hatena-bookmark-layout="standard" title="このエントリーをはてなブックマークに追加"><img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a><script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>
<a href="http://twitter.com/share" class="twitter-share-button" data-url="{$bloglist[$smarty.section.list.index].permanentlink}" data-text="{$blogname}({$bloglist[$smarty.section.list.index].blog_title})" data-count="horizontal" data-lang="ja">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<g:plusone href="{$bloglist[$smarty.section.list.index].permanentlink}"></g:plusone>
<iframe src="http://www.facebook.com/plugins/like.php?app_id=187417324641052&amp;href={$bloglist[$smarty.section.list.index].enc_permanentlink}&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
</p>
</div>
<br />
{/section}
<p>
  {$pagerlink|default:'&nbsp;'}
</p>
{else}
<div>
記事が存在しません。
</div>
{/if}
{include file='../common/footer.tpl'}
