<?php if ( is_home() ) { ?>
<div style="clear:both"></div>
<div class="w902 clearfix">
 <div class="tit01">
                       <h2 class="t01">热门围观</h2></div>
                        <div class="pictxt01">
                                <ul>                                                                                           
<?php query_posts(array('orderby' => 'rand', 'showposts' => 14));
if (have_posts()) :
while (have_posts()) : the_post();?>
<?php if (get_the_post_thumbnail($post->ID, 'large', true)) : ?>
			<li class=""><div><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/random/fo<?php echo rand(1,20)?>.jpg" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" width="110" height="110" /></a></div><p class="p3"><a target="_blank" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></p></li>
			<?php else: ?>
			<li class=""><div><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/random/fo<?php echo rand(1,20)?>.jpg" alt="<?php the_title(); ?>" title="<?php the_title(); ?>"  width="110" height="110" /></a></div><p class="p3"><a target="_blank" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></p></li>
			<?php endif; ?>

<?php endwhile;endif; ?>
<?php wp_reset_query(); ?>
</ul>
</div>
</div>
</div> 
<?php } ?>
</div>
<div class="clear"></div>
</div>
<div id="footer">
<div id="footer-body">
<a id="footer-logo"  href="<?php bloginfo('home'); ?>"></a>
<div id="footer-content">

<!------------------【底部文字代码】开始------------------------------->


[ <a href="http://user.qzone.qq.com/794939078" target="_blank" rel="nofllow">马谡旗下</a> ]：Copyright © 无所畏 向前闯 版权所有 | <a href="http://m.nocower.com" target="_blank" rel="nofllow">手机版</a> | <a href="http://nocower.taobao.com" target="_blank" rel="nofllow">淘宝店铺 </a>| <a href="<?php bloginfo('home'); ?>/sitemap.html" target="_blank" rel="nofllow">网站地图 </a>| Theme by <a href="http://www.nocower.com/3901.html" target="_blank" rel="nofllow">Metro </a>


<!------------------【底部文字代码】结束------------------------------->


| <?php if (get_option('swt_beian') == 'Display') { ?>
<a href="http://www.miitbeian.gov.cn/" target="_blank" rel="nofllow"><?php echo stripslashes(get_option('swt_beianhao')); ?></a>
<?php { echo '|'; } ?><?php } else { } ?> <?php if (get_option('swt_tj') == 'Display') { ?><?php echo stripslashes(get_option('swt_tjcode')); ?><?php { echo ''; } ?>	<?php } else { } ?>
</div>
<!-- 返回顶部 -->
<div style="display: none;" id="gotop"></div>
<script type='text/javascript'>
	backTop=function (btnId){
		var btn=document.getElementById(btnId);
		var d=document.documentElement;
		var b=document.body;
		window.onscroll=set;
		btn.onclick=function (){
			btn.style.display="none";
			window.onscroll=null;
			this.timer=setInterval(function(){
				d.scrollTop-=Math.ceil((d.scrollTop+b.scrollTop)*0.1);
				b.scrollTop-=Math.ceil((d.scrollTop+b.scrollTop)*0.1);
				if((d.scrollTop+b.scrollTop)==0) clearInterval(btn.timer,window.onscroll=set);
			},10);
		};
		function set(){btn.style.display=(d.scrollTop+b.scrollTop>100)?'block':"none"}
	};
	backTop('gotop');
</script>
<!-- 返回顶部END -->
<?php
if( is_single() ){?>
<script type="text/javascript">
$(function(){
$("#btn_page_prev,#btn_page_next").hover(function(){$(this).find("span").show();},function(){$(this).find("span").hide();});
});
</script> 
<?php }?>
</div>
<?php wp_footer(); ?>
</div></div>
<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=slide&amp;img=5&amp;pos=left&amp;uid=6533465" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
var bds_config={"bdTop":236};
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000);
</script>
<!-- Baidu Button END -->
</body>
</html>