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

   <?php include( TEMPLATEPATH . '/wap/category-pro.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="product"> 
	  <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
	  <dl>
          <dt><a href="<?php the_permalink() ?>"><?php if ( has_post_thumbnail() ) { ?><?php $post_ID=$post->ID;$post_thumbnail_id = get_post_thumbnail_id( $post_ID );$post_thumbnail_src = wp_get_attachment_image_src($post_thumbnail_id,'Full');?><img src="<?php echo $post_thumbnail_src[0]; ?>" alt="<?php the_title(); ?>" /><?php }else {?><img src="<?php echo get_first_image(); ?>" alt="<?php the_title(); ?>" /><?php }?></a></dt>
          <dd><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></dd>
        </dl>
		<?php endwhile;?>
<?php endif; ?>
        <div class="clear"></div>
      </div>
      <!--product/-->
      <div class="fenye">
        <?php kriesi_pagination($query_string); ?>
      </div>
    </div>
    <!--contRight/-->
    <div class="clear"></div>
  </div>
  <!--width1000/--> 
</div>
<!--content/--> 
<!--底部-->
<?php get_footer();?>

<?php endif ;?>