<?php if (is_mobile() ): ?>

   <?php include( TEMPLATEPATH . '/wap/single.php' ); ?>

<?php else: ?>
<?php get_header();?>
<div class="content">
  <div class="width1100">
    
	<?php get_sidebar();?>
    <!--contLeft/-->
    <div class="contRight" id="main">
      <div class="positions"> <strong>您当前所在的位置：</strong><?php wheatv_breadcrumbs(); ?> </div>
      <!--positions/-->
      <div class="newinfo" >
	  <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
        <h3><?php the_title(); ?></h3>
        <time>时间：<?php the_time('Y-m-d'); ?>  浏览量：<?php setPostViews(get_the_ID()); echo number_format(getPostViews(get_the_ID())); ?></time>
        <div class="newinfoText con_main_all"> 
		<?php the_content(''); ?>
 </div>
 <?php endwhile;?>
<?php endif; ?>
        <table style="width:100%">
          <tr>
            <td width="50%" align="left">上一篇：<?php previous_post_link('« %link'); ?></td>
            <td width="50%" class="alignRight">下一篇：<?php next_post_link('%link »'); ?></td>
          </tr>
        </table>
      </div>
      <!--newinfo/--> 
    </div>
    <!--contRight/-->
    <div class="clear"></div>
  </div>
  <!--width1000/--> 
</div>
<!--content/--> 
<?php get_footer();?>
<?php endif ;?>