        <div class="span4 krSide sep10">

            <div id='timeline'></div>

			<div class="recent_nodes nodes clearfix tags">

    <h6 class="sidebar_title btn-block">热门标签</h6>

        <?php wp_tag_cloud('unit=px&smallest=14&largest=14&number=0&format=list&orderby=count&order=DESC'); ?>

  </div>

    <div class="popular_post_today" data-step="7" data-intro="查看当前热门文章">

      <h6 class="sidebar_title">昨日热门文章</h6>

        <div class="high_likes_topics">

  <ul>

  <?php $postslist = get_posts('numberposts=10&order=DESC&orderby=comment_count'); foreach( $postslist as $post ) : ?>

      <li class="shadow-box">

        <a href="<?php the_permalink(); ?>" rel="twipsy" target="_blank" title="Fuck the message：“<?php the_title(); ?>”"><?php echo cut_str($post->post_title,32); ?></a>

      </li>

  <?php endforeach; ?>

  </ul>

</div>

<div class="cnt magb10">

          <a href="http://cnrdn.com/Kqh5" target="_blank" title="GMIC"><img alt="GMIC" height="90

" src="http://a.36krcnd.com/photo/dce1f24f8d37b6a031fe489e15819b17.png" width="300" /></a>

</div>

</div>

<div class="high_likes_replys">

	<h6 class="btn-block sidebar_title">优质评论</h6>

<ul class="aside-menu">

<?php

global $wpdb;

$sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url,comment_author_email, SUBSTRING(comment_content,1,80) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' AND user_id='0' ORDER BY comment_date_gmt DESC LIMIT 8";

$comments = $wpdb->get_results($sql);



foreach ($comments as $comment) {

$output .= "\n<li class=\"active\">" .get_avatar(get_comment_author_email(), 48)."<span class=\"commentor\">".strip_tags($comment->comment_author)." <span class=\"label label-success role\">热心读者</span></span><a href=\"" . get_permalink($comment->ID) ."#comment-" . $comment->comment_ID . "\" rel=\"twipsy\" class=\"right cmt\" title=\"评论于：" .$comment->post_title ."\">" . strip_tags($comment->com_excerpt)."..</a></li>";

}

$output = convert_smilies($output);

echo $output;

?>

  </ul>

</div>        

<div class="cnt sep20"><a href="http://cnrdn.com/hpj5" target="_blank" title="SAP"><img alt="SAP" height="300" src="http://a.36krcnd.com/photo/12634db0c12ac38aed70b2d5886dfebf.png" width="300" /></a></div>

</div>