</h2>
<div class="clear"></div>
<table><tr>
	<td class="relate" valign="top">
		<div class="h2">Related</div>
		<ul class="relate posts">
			<?php 
TC_ShowRelatedPostsForCurrentPost(1000, "", "");
?>
		</ul>
	</td>
	<td valign="top">
		<div class="h2">Same Category</div>
		<ul class="posts nowrap relate">
		<?php 
get_same_category_post($post->ID, 10);
?>
		</ul>
	</td>
</tr></table>
<div class="clear"></div>

<script type="text/javascript"> 
var blogurl="<?php 
echo get_settings('home');
?>
"; 
var needemail="<?php 
echo get_option('comment_registration');
?>
";
		<ul>
			<?php 
get_recent_posts_1(10);
?>
		</ul>
	<?php 
corner_end();
?>
</dd>	
	<dd class="sc"><?php 
corner_start("posts");
?>
		<div class="h2"><a href="http://zhiqiang.org/blog/recommend">精华区</a></div>
		<ul>
			<?php 
get_same_category_post("677", 10, "", "RAND()", 780);
?>
		</ul>
	<?php 
corner_end();
?>
</dd>
	<dd class="sc"><?php 
corner_start("noa cat");
?>
		<div class="h2">分类</div>
		<ul><?php 
wp_list_cats("sort_column=name&optioncount=1&feed=RSS");
?>
</ul>
	<?php 
    $text = $text[0];
}
?>
</ul>
</div>
</div>
<div id="sidebar">
<ul>
	<li class="sc posts" id="searchfile">
	<?php 
if ($file == "") {
    ?>
		<h2><a href="http://zhiqiang.org/blog/category/resource">类最新文章</a></h2>
		<ul>
			<?php 
    get_same_category_post("681");
    ?>
		
		</ul>
	<?php 
} else {
    ?>
		<h2>"<?php 
    echo $file;
    ?>
"的相关文章</h2>
		<ul>
			<?php 
    search_result($text);
    ?>
		</ul>