<?php
echo '<div class="zhuce">
<div class="search">
<div class="search_site">
<form id="searchform" method="get" action="';bloginfo('home');;echo '">
		<input type="submit" value="" id="searchsubmit" class="button" x-webkit-speech/>
		<input type="text" id="s" name="s" value="请输入搜索内容" onfocus="if (value ==\'请输入搜索内容\'){value =\'\'}" onblur="if (value ==\'\'){value=\'请输入搜索内容\'}" x-webkit-speech />
</form></div></div>
</div>
<div id="sidebar">
<div class="widgets">
<div id="tab-title">
<div id="tab-content">
<h3>热评文章</h3>
		<ul class="hide">';$myposts = get_posts('numberposts=10&offset=0');foreach($myposts as $post) :;echo '					<li><a href="';the_permalink();;echo '" rel="bookmark" title="详细阅读 ';the_title_attribute();;echo '">';echo cut_str($post->post_title,37);;echo '</a></li>
					';endforeach;;echo '</ul>
		<ul>';simple_get_most_viewed();;echo '</ul>
		<ul class="hide">';$myposts = get_posts('numberposts=10&orderby=rand');foreach($myposts as $post) :;echo '					<li><a href="';the_permalink();;echo '" rel="bookmark" title="详细阅读 ';the_title_attribute();;echo '">';echo cut_str($post->post_title,37);;echo '</a></li>
					';endforeach;;echo '</ul>
</div></div>	
'
;if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('小工具2(标签上方)') ) :
; endif;
;echo'
<div class="widget"><h3>最新评论</h3>
<div class="r_comment">
<ul id="scroll_List">
';Get_Recent_Comment();;echo '</ul>
</div></div>
<div class="widget"><h3>标签</h3>
<div class="tag">
';wp_tag_cloud('smallest=12&largest=18&unit=px&number=50&orderby=count&order=RAND');;echo '</div><div class="clear"></div></div>
<a name="buttom"></a>
<div class="hotarticle">'
;if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('小工具3(跟随滚动)') ) :
; endif;
;echo '</div></div></div>
</div></div>';
?>
