diff -r 0d9a58d2c515 -r 0d28b7c10758 web/wp-content/themes/elegant-box/functions.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/themes/elegant-box/functions.php Fri Mar 12 13:29:04 2010 +0000 @@ -0,0 +1,555 @@ +read())) { + if(is_dir($styleFolder . $styleFile) && $styleFile != '.' && $styleFile != '..') { + $styleArray[] = $styleFile; + } + } + $objStyleFolder->close(); +?> + +
+
+

+ + + + + + + + +
+ +
+ + +
+ + + + + + + + +
+ +
+ + +
+ name="cx" in the Search box code of Google Custom Search Engine, and type the value here.
For example: 014782006753236413342:1ltfrybsbz4', 'elegantbox'); ?> +
+ + + + + + + + +
+ + +
+ + + + + + + + +
+ +
+ +
+ + + + +
+ + + + + + + + +
+ +
+ +
+ + + +
+ + + + +
+ + + +

+ + + +
+ + + + +
+ + + +
+ + + + + + + + +
+ + +
+ + + + + + + + +
+ +
+ + + + + + + + +
+ + + +
+ +
+ + + + + + + + +
+ +
+ + +
+ Follow NeoEase + | Follow MG12 +
+ + + + + + + + +
+ +
+ +
+ + +
+ +

+ +

+
+ +
+ + +
+
+ + + + + + + + +
Donation + If you find my work useful and you want to encourage the development of more free resources, you can do it by donating... +
+ + + + +
+ +
+
+ + '
  • ', + 'after_widget' => '
  • ', + 'before_title' => '

    ', + 'after_title' => '

    ', + )); + +/** Comments */ +if (function_exists('wp_list_comments')) { + // comment count + function comment_count( $commentcount ) { + global $id; + $_comments = get_comments('status=approve&post_id=' . $id); + $comments_by_type = &separate_comments($_comments); + return count($comments_by_type['comment']); + } +} + +// custom comments +function custom_comments($comment, $args, $depth) { + $GLOBALS['comment'] = $comment; + global $commentcount; + if(!$commentcount) { + $commentcount = 0; + } +?> +
  • +
    + '; echo get_avatar($comment, 24); echo '
    '; + // WordPress 2.3.3 or lower + } else if (function_exists('gravatar')) { + echo '
    avatar
    '; + } + ?> +
    +
    + + + + + + + + + + + +
    +
    +
    +
    + + | + + $depth, 'max_depth'=> $args['max_depth'], 'reply_text' => __('Reply', 'elegantbox'), 'after' => ' | '));?> + + | + + +
    +
    + +
    + comment_approved == '0') : ?> +

    + + +
    +
    + +