The page you are looking at now is at this URL: http://pastoid.com/bw0
This paste was last updated on September 8, 2009 at 8:22 pm.
public function theme_monthly_archive_options( $theme, $full_names = TRUE, $type = 'entry', $status = 'published' ) { $results = Posts::get( array( 'content_type' => $type, 'status' => $status, 'month_cts' => 1) ); foreach ( $results as $result ) { // add leading zeros $result->month= str_pad( $result->month, 2, 0, STR_PAD_LEFT ); // what format do we want to show the month in? if( $full_names ) { $display_month = HabariDateTime::date_create()->set_date( $result->year, $result->month, 1)->get( 'F' ); } else { $display_month = HabariDateTime::date_create()->set_date( $result->year, $result->month, 1)->get( 'M' ); } // do we want to show the count of posts? $archives[] = '<option value="' . URL::get( 'display_entries_by_date', array( 'year' => $result->year, 'month' => $result->month) ) . '">' . $display_month . ' ' . $result->year . '</option>'; } return implode( "\n", array_reverse( $archives ) ); }
| Referring Domain | Hits |
|---|---|
| Unknown Referer | 127 |
| pastoid.com | 4 |
| www.worio.com | 1 |
| drunkenmonkey.org | 1 |
Tip: Use Pastoid to shorten URLs with this bookmarklet: Pastoid This