<?php query_posts(array('cat'=>get_post_meta(get_the_ID(),'_web589-page-cat-2',true),'post_per_page'=>-1));?>
<?php $num=0;while(have_posts()): the_post();?>
	<?php if($num==3) break;?>
	<?php $img=web589_thumbnail_img('case'); if(empty($img)) continue; ?>
	<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,'|');?>
		</div>
	</li>
	<?php $num++;?>
<?php endwhile;wp_reset_query();?>