", '', true, 10, sbm_get_option('new_color'), sbm_get_option('old_color')); ?>
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) {
?>
- %5$s', 'k2_domain'), get_comment_author_link(), __('on post', 'k2_domain'), get_permalink($comment->comment_post_ID), $comment->comment_ID, get_the_title($comment->comment_post_ID)); ?>
$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('Recent comments module', 'recent_comments_sidebar_module_control');
?>