comments WHERE comment_approved = '1' "; if(sbm_get_option('hide_trackbacks') == true) { $sql .= "AND comment_type = '' "; } $sql .= "ORDER BY comment_date_gmt DESC LIMIT $num_comments"; $comments = $wpdb->get_results($sql); if($comments) { ?>

$value) { sbm_update_option($key, $value); } } if(function_exists('blc_latest_comments')) { ?>

checked="checked" />

5, 'num_comments' => 10, 'hide_trackbacks' => false, 'new_color' => '#444444', 'old_color' => '#cccccc')); register_sidebar_module_control('Latest Comments', 'latest_comments_sidebar_module_control'); ?>