<?php get_header();?>
<div id="page">
	<div class="column clearfix">
		<div class="content">	
			<div id="content" class="narrowcolumn" role="main">
				<div class="col1"><?php get_sidebar();?></div>	
				<div class="col2">
					<div class="block">
						<div class="pagetitle_nav"><h3>当前位置：<?php echo web589_crumbs(' &raquo; '); ?></h3></div>
						<?php
							if((get_option('web589-cat-template-'.get_query_var('cat')) == 'list') || is_tag()) include_once('template/cat-list.php');
							else if(get_option('web589-cat-template-'.get_query_var('cat')) == 'image') include_once('template/cat-image.php');
							else include_once('template/cat-default.php');
						?>
						
					<div class='wp-pagenavi'><?php web589_cat_paging($num);?></div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<?php get_footer();?>