'ffffff', 'text' => '8E8778', 'link' => 'BBD1D8', 'border' => 'ffffff', 'url' => 'BBD1D8' ); if ( function_exists('register_sidebar') ) register_sidebars(1, array( 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); function dp_recent_comments($no_comments = 10, $comment_len = 150) { global $wpdb; $request = "SELECT * FROM $wpdb->comments"; $request .= " JOIN $wpdb->posts ON ID = comment_post_ID"; $request .= " WHERE comment_approved = '1' AND post_status = 'publish' AND post_password =''"; $request .= " ORDER BY comment_date DESC LIMIT $no_comments"; $comments = $wpdb->get_results($request); if ($comments) { foreach ($comments as $comment) { ob_start(); ?>
  • : comment_content), 0, $comment_len)); ?>
  • '.__('No comments yet', 'albeo').''; } } function dp_get_author($comment) { $author = ""; if ( empty($comment->comment_author) ) $author = __('Anonymous', 'albeo'); else $author = $comment->comment_author; return $author; } // Widgets!!! register_sidebar_widget( __('Albeo Top/Latest/Tags', 'albeo') , 'albeo_selector' ); function albeo_selector() { ?>