<?php get_header();?>

	<?php if(get_option('fzp-home-slide-image-1')):?>
	<div id="huandeng">

		<div id="flowpanes" class="scrollable">

			<div class="items">
			<?php for($i=1;$i<=5;$i++):?>
				<div class="huandeng_list">
					<a href="<?php echo get_option('fzp-home-slide-link-'.$i); ?>" style="background: url('<?php echo get_option('fzp-home-slide-image-'.$i); ?>') no-repeat;"><p><?php echo stripslashes(get_option('fzp-home-slide-content-'.$i)); ?></p></a>
				</div>

			<?php endfor;?>
			</div>

		</div>

			<div id="flowtabs" class="tabs">

				<a href="#" id="tabs1" class="current"></a>

				<a href="#" id="tabs2"></a>

				<a href="#" id="tabs3"></a>

				<a href="#" id="tabs4"></a>

				<a href="#" id="tabs5"></a>

			</div>

	</div>
	<?php endif;?>


<SCRIPT>



jQuery(function() {

	jQuery("#flowpanes").scrollable({ circular: true, mousewheel: true, vertical: true }).navigator({

		navi: "#flowtabs",

		naviItem: 'a',

		activeClass: 'current',

		history: true

	}).autoscroll({ autoplay: true });

});

</SCRIPT>







<SCRIPT>

jQuery(function() {	

	jQuery("div.xtabs").tabs("div.panes > div.panesnei", {

	event: 'mouseover',effect: 'fade'});

});

</SCRIPT>

</div>



<div id="page">



<div class="column clearfix">	
	<div class="col2">
	<div class="col3">
		<div class="block2">
			<ul class="zhaiyaolist1">
				<?php query_posts(array('tag'=>'后进者网络','posts_per_page'=>3));while(have_posts()): 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(); ?></a></div>
					<h2 class="biaoti"><a href="<?php the_permalink();?>" title="<?php echo esc_attr(get_the_title()); ?>"><?php the_title();?></a></h2>
					<div class="zhaiyao"><p><?php echo web589_ch_substr(get_the_excerpt(),50);?></p>
</a></div>
				</li>					
				<?php endwhile;wp_reset_query();?>			
			</ul>
		</div>
	</div>
	<div class="col4">
		<div class="block" style="overflow:visible;"><div class="news"></div>
			<div class="xtabs pagetitle"><h3><?php echo get_option('fzp-home-top-title-1'); ?></h3><h3><?php echo get_option('fzp-home-top-title-2'); ?></h3><h3><?php echo get_option('fzp-home-top-title-3'); ?></h3><h3><?php echo get_option('fzp-home-top-title-4'); ?></h3><h3><?php echo get_option('fzp-home-top-title-5'); ?></h3></div>
			<div class="panes">
			<?php for($i=1;$i<=5;$i++):?>
			<div class="panesnei">
			<ul class="textlist">
				<?php query_posts(array('cat'=>get_option('fzp-home-top-cat-'.$i),'posts_per_page'=>9));?>
				<?php $j=1;while(have_posts()): the_post();?>
				<?php if($j==1):?>
				<li class="first">
					<h2 class="biaoti"><a href="<?php the_permalink();?>" title="<?php echo esc_attr(get_the_title()); ?>" class="font_14"><?php the_title();?></a></h2>
					<div class="zhaiyao"><p><?php echo web589_ch_substr(get_the_excerpt(),60); ?></p>
</a></div>
				</li>
				<?php else:?>
															<li><span class="alignright"><?php echo the_time('m-d'); ?></span><a href="<?php the_permalink();?>" title="<?php echo esc_attr(get_the_title()); ?>"><?php the_title();?></a></li>
															
				<?php endif;$j++;endwhile;wp_reset_query();?>		
			</ul>
			</div>
			<?php endfor;?>
			</div>
		</div>
	</div>
	
	<div class="block clear">
		<div class="pagetitle mar_b0"><h3><?php echo get_option('fzp-home-middle-title'); ?></h3><a href="<?php echo get_option('fzp-home-middle-link'); ?>" class="more">more</a></div>
		<div class="fwxm">
			<?php echo stripslashes(get_option('fzp-home-middle-items')); ?>
		</div>
	</div>
	
		<div class="block">
			<div class="xtabs pagetitle"><h3><?php echo get_option('fzp-home-bottom-title-1'); ?></h3><h3><?php echo get_option('fzp-home-bottom-title-2'); ?></h3><h3><?php echo get_option('fzp-home-bottom-title-3'); ?></h3></div>
			<div class="panes">
			<?php for($i=1;$i<=3;$i++):?>
			<div class="panesnei"><a href="<?php echo get_category_link(get_option('fzp-home-bottom-cat-'.$i)); ?>" class="more_fr">more</a>
			<ul class="anlilist clearfix">
			<?php query_posts(array('cat'=>get_option('fzp-home-bottom-cat-'.$i),'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,'|'); unset($tag_str); ?>
					</div>
				</li>
				<?php $num++;?>
			<?php endwhile;wp_reset_query();?>		
			</ul>
			</div>
			<?php endfor;?>
			</div>
		</div>
	
	</div>
	
	<div class="col5">
		<?php get_sidebar();?>		
	</div>
</div>


<div class="column clearfix">
	<div id="linklist" class="clearfix">
		<?php $term1=get_term(get_option('fzp-links-cat-1'),'link_category');$term2=get_term(get_option('fzp-links-cat-2'),'link_category');?>
		<div class="xtabs pagetitlelink"><h3><?php echo $term1->name; ?></h3></div>

		<div class="panes paneslink"><div class="jiaohuanlianjie"><?php echo stripslashes(get_option('fzp-links-text')); ?><?php if(get_option('fzp-home-friendlink')):?><?php endif;?></div>	

		<div class="panesnei">
		<?php wp_list_bookmarks(array('category'=>get_option('fzp-links-cat-2'),));?>
		</div>		

		</div>
	</div>
</div>

</div>
<?php get_footer();?>