<?php get_header(); ?>



<body>

<div class="frontLayer onDesktop">

  

  <section class="row-fluid" id="mainContainer">

    

      <div id="topic_show" class="span10 hfeed content borBox  pull-right">

        <div class="topic hentry row-fluid">

          <div class="row-fluid phone_banner">

<?php include('banner.php'); ?>

<?php include('login.php'); ?>

</div>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

          <div class="row-fluid">

            <div class="body entry-content span8 krContent">

              <h1 class="entry-title sep10"><?php the_title(); ?></h1>

              <div class="sep-10 magb10 tohide gray">

                发表于 <abbr class="timeago" title="<?php the_time('Y-m-d'); ?>"></abbr> <?php the_tags('','/ '); ?>

              </div>

              

              <div class="row-fluid tohide hidden-phone">

                <div class="span2"></div>

                <div class="span7"></div>

                <div class="btn-group span3">

                  <button style="height: 24px; margin-top: 4px; font-size:14px"  class="btn btn-primary btn-mini dropdown-toggle pull-right tohide" data-toggle="dropdown"><i class="icon icon-share-alt icon-white"></i> 分享到 <span class="caret"></span></button>

                  <ul class="dropdown-menu">

                    <li><a target="blank" href="http://share.baidu.com/s?type=text&searchPic=0&sign=on&to=tsina&url=<?php the_permalink() ?>&title=<?php the_title(); ?>">新浪微博</a></li>

                    <li><a target="blank" href="http://share.baidu.com/s?type=text&searchPic=0&sign=on&to=tqq&url=<?php the_permalink() ?>&title=<?php the_title(); ?>">腾讯微博</a></li>

                    <li><a target="blank" href="http://s.evernote.com/grclip?url=<?php the_permalink() ?>&title=<?php the_title(); ?>">印象笔记</a></li>

                    <li><a target="blank" href="http://share.baidu.com/s?type=text&searchPic=0&sign=on&to=douban&url=<?php the_permalink() ?>&title=<?php the_title(); ?>">豆瓣</a></li>

                    <li><a target="blank" href="http://share.baidu.com/s?type=text&searchPic=0&sign=on&to=renren&url=<?php the_permalink() ?>&title=<?php the_title(); ?>">人人网</a></li>

                    <li><a target="blank" href="http://share.baidu.com/s?type=text&searchPic=0&sign=on&to=qzone&url=<?php the_permalink() ?>&title=<?php the_title(); ?>">QQ空间</a></li>

                    <li class="divider"></li>

                    <li><a href="mailto:?subject=好文分享：<?php the_title(); ?>&body=<?php the_permalink() ?>">E-Mail</a></li>

                  </ul>

                </div>

              </div>

              <div class="mainContent sep-10">



			  <?php the_content(); ?>			  



              </div>



              <div class="sep10 tools tohide">

                <a href="/feed" target="_blank" class="btn btn-primary">订阅本站</a>

               <a href="/?random" class="likeable btn" data-type="Topic"  rel="twipsy" title="随机为您推荐一篇文章"><i class="icon icon-heart"></i> <span>手气不错</span></a>

             </div>

			 <?php endwhile; endif; ?>

             <hr>

             <h5 class="btn-block tohide sep30">文章评论</h5>

			<div class="total muted sep10">共收到 <b><?php $id=$post->ID; echo get_post($id)->comment_count;?></b> 条评论</div>   

<?php comments_template(); ?>

        </div>



        

        <div class="span4 magb10 sep10">

		<?php include('searchform.php'); ?>

		</div>

<?php get_sidebar(); ?>	       

        <div class="pagination span4 pull-right sep20">

          <ul style="float:none;">

		  <li><a rel="twipsy" data-original-title="按键盘 '/' 返回首页。左右方向键跳转上下篇" class="btn" href="/">返回首页 / </a></li>

		  </ul>

        </div>



      </div>

    </div>

    <div class="nav_links row-fluid magb-20">

      <div class="span8">

          <div class="breadcrumb_div">

          <ul class="breadcrumb menu clearfix"><li class="first"><a href='/'><?php bloginfo( 'name' );?></a><span class="divider">/</span></li><li class="last active"><a href="<?php the_permalink() ?>" itemprop="url"><span itemprop="title"><?php the_title(); ?></span></a></li></ul>

        </div>

        <div class="feed_link hidden-phone">

         <a href="/feed" class="feed" title="订阅本站最新文章">RSS</a>

       </div>

     </div>

   </div>



<?php get_footer(); ?>

</div>

</html>