<?php
 get_header();;echo '<div id="content">
';if (have_posts()) : while (have_posts()) : the_post();;echo '<div id="map">
<div class="site">当前位置：<a href="';bloginfo('siteurl');;echo '/" title="返回首页">首页</a> > ';$categories = get_the_category();echo(get_category_parents($categories[0]->term_id,TRUE,' > '));;echo '正文</div>
</div><div class="main">
<div class="article article_c">
<div class="tith2">';the_title();;echo'</div>';echo'<span class="h2span">浏览';setPostViews(get_the_ID());;echo getPostViews(get_the_ID());;echo'+</span><div class="clear"></div>
<div class="article_info">作者：';the_author() ;echo ' &nbsp; 发布：';the_time('Y-m-d') ;echo ' &nbsp; 分类：';the_category(', ') 
;echo ' &nbsp;  ';echo ' ';edit_post_link('编辑',' [ ',' ] ');;echo '</div><div class="clear"></div><div class="context">'
;echo '';the_content('Read more...');;echo '<div id="baishare_wz">

</div></div>
</div>
<div class="article article_c">
<div id="authorarea_banquan">
<div id="authorarea_ewm" style="float:left">
<img src="http://api.qrserver.com/v1/create-qr-code/?size=80x80&data=';the_permalink() ;echo '" alt="';the_title_attribute();;echo'"title="';the_title_attribute();;echo' 二维码"/>  
</div>
<div id="authorarea_xieyi" style="float:left">
<span>声明：<a href="';bloginfo('siteurl');;echo '/">';bloginfo('name');;echo '</a> | </span>本文采用[<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.zh" target="_blank" rel="external nofollow" title="Under Creative Commons">BY-NC-SA</a>]协议进行授权<br>
文章名称：《<a href="';the_permalink() ;echo '"rel="bookmark" title="';the_title_attribute();;echo'">'  ;echo mb_strimwidth(get_the_title(), 0, 45, '...','utf-8'); ;;echo '</a>';echo '》<br>
文章固定链接：<a>';the_permalink() ;echo '</a><br>
除注明<a>转载</a>文章外 转载时必须以链接形式<a>注明作者和原始出处及本声明</a>
</div>
</div>
</div>
<div class="article article_c">
<ul class="pre_nex">
<li>';previous_post_link('【上一篇】%link') ;echo '</li><li>';next_post_link('【下一篇】%link') ;echo '</li></ul>
</div>
<div class="article article_c">
<div id="authorarea">'
;if (function_exists('get_avatar')) { echo get_avatar( get_the_author_email(), '100' ); }
;echo'<div class="authorinfo">
<h3>';echo the_author_posts_link();;echo'</h3>
<p>';echo the_author_description(); ;echo'</p>
</div>
</div>
</div>

<div class="article article_c article_b">
';comments_template();;echo '</div>

	';endwhile;else: ;echo '	';endif;;echo '</div>

';get_sidebar(single);;echo '';get_footer(footer)

?>