<ul class="anlilist2 clearfix">
<?php if(get_option('web589-cat-num-'.get_query_var('cat'))) $num=get_option('web589-cat-num-'.get_query_var('cat'));else $num=10;?>
<?php $cur_page=get_query_var('paged') ? get_query_var('paged'):1;?>
<?php $cq=new WP_Query(array('cat'=>get_query_var('cat'),'posts_per_page'=>$num,'paged'=>$cur_page));?>
<?php while($cq->have_posts()): $cq->the_post();?>
	<li>
		<div class="tupian"><a href="<?php the_permalink();?>" title="<?php echo esc_attr(get_the_title()); ?>" target="_blank"><?php echo web589_thumbnail_img('case'); ?></a></div>
		<h3 class="biaoti"><a href="<?php the_permalink();?>" title="<?php echo esc_attr(get_the_title()); ?>" class="font_14"><?php the_title();?></a></h3>
		<div class="fenleiriqi"><div class="fenlei">
		<?php $cats=get_the_category();?>
				<?php echo $cats[0]->cat_name; ?>			</div><div class="riqi">
				<?php echo the_time('Y-m'); ?>			</div></div>
		<div class="neirong"><b>标签:</b>
		<?php $tags=get_the_tags();?>
		<?php if($tags){foreach($tags as $tag){$tag_str=$tag_str.$tag->name.'|';}} echo rtrim($tag_str,'|'); unset($tag_str); ?>
		</div>
	</li>
<?php endwhile;wp_reset_postdata();?>
</ul>