get_results($sql); foreach ($comments as $comment) { $comment_id = get_comment($comment->comment_ID, ARRAY_A); $email = $comment_id['comment_author_email']; $output .= '
'; $output .= '
' . get_avatar($email, 32) . '
'; $output .= '
'; $output .= "ID) . "#comment-" . $comment->comment_ID . "\" title=\"on '".$comment->post_title . "'\">". $comment->post_title . ''; $output .= "

" . strip_tags($comment->com_excerpt) . "...

"; $output .= "

" . strip_tags($comment->comment_author) . "

"; $output .= "
"; $output .= '
'; $output .= "
"; } return $output; } } function get_ancestor_ids ($child = 0, $inclusive = TRUE, $topdown = TRUE) { if ($child && $inclusive) $ancestors[] = $child; while ($parent = get_parent_id ( $child ) ) { $ancestors[] = $parent; $child = $parent; } if ($ancestors && $topdown) krsort($ancestors); if ( ! $ancestors) $ancestors[] = 0; return $ancestors; } function kreative_breadcrumb ($show_this = TRUE) { global $post; ?> Home ID, false); $num_ancestors = count($ancestors); foreach ($ancestors as $i => $ancestor_id) { if ($ancestor_id > 0) { echo ' » '.get_the_title($ancestor_id).''; } } if ($show_this) { echo ' » '; the_title(); echo '' . chr(10); } } function get_parent_id($child = 0) { global $wpdb, $table_prefix; $result = 0; if ($child > 0) $result = $wpdb->get_var("SELECT post_parent FROM {$table_prefix}posts WHERE ID = $child"); return $result; } if ( ! function_exists('kreative_comment')) { function kreative_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?>
  • id="comment-">

    %s'), get_comment_author_link()) ?>

    comment_approved == '0') : ?>
    · 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>

  • Browse Category') { ?>