The page you are looking at now is at this URL: http://pastoid.com/bvz
This paste was last updated on July 30, 2009 at 10:14 am.
private function get_word_count() { static $title_words = ''; $post_type = Post::type( 'entry' ); $post_status = Post::status( 'published' ); $now = date( 'Y-m-d H:i:s' ); if ( !empty( $this->config['tags_include'] ) ) { $ti = str_replace(",","','",$this->config['tags_include']); $includes = " AND p.id IN ( SELECT p.id FROM {posts} p, {tag2post} t2p WHERE p.id = t2p.post_id AND t2p.tag_id in ( SELECT t.id FROM {tags} t WHERE t.tag_text in ('$ti') ) )"; } else { $includes = ""; } $sql = " SELECT p.* FROM {posts} p WHERE p.pubdate < '{$now}' AND p.content_type = {$post_type} AND p.status = {$post_status} {$includes}"; $posts = DB::get_results( $sql, Array(), 'Post' ); foreach ( $posts as $post ) { if ( $this->config[ 'add_title' ] ) { $title_words = ' ' . $post->title; } $this->word_count += count( explode( " ", strip_tags( $post->content_out . $title_words ) ) ); } }
| Referring Domain | Hits |
|---|---|
| Unknown Referer | 127 |
| pastoid.com | 17 |
| drunkenmonkey.org | 1 |
Tip: Use Pastoid to shorten URLs with this bookmarklet: Pastoid This