 <?php include( TEMPLATEPATH . '/wap/header.php' ); ?>
 <link rel='stylesheet' href='<?php bloginfo( 'stylesheet_url' ); ?>'>
  <!--图片列表开始-->
  <div class="content">
    <div class="index_show">
      <ul>
         <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<li><a  href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <?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 }?><span> <?php the_title(); ?> </span></a></li>
<?php endwhile;?>
<?php endif; ?>
        <div class="clear"></div>
      </ul>
    </div>
    <div class="pages"><?php kriesi_pagination($query_string); ?>
</div>
  </div>
  
  <!--图片列表结束--> 
 <?php include( TEMPLATEPATH . '/wap/footer.php' ); ?>