*
| ',"\n"; echo ' | Jan. | ',"\n"; echo 'Feb. | ',"\n"; echo 'Mar. | ',"\n"; echo 'Apr. | ',"\n"; echo 'May. | ',"\n"; echo 'Jun. | ',"\n"; echo 'Jul. | ',"\n"; echo 'Aug. | ',"\n"; echo 'Sep. | ',"\n"; echo 'Oct. | ',"\n"; echo 'Nov. | ',"\n"; echo 'Dec. | ',"\n"; echo '
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| " . get_archives_link($yearurl, $arcresult->year, '') . " | ") ; for ($n=1;$n<13;$n++) { $tdArray[]= ''; } $arcresults2 = $wpdb->get_results('SELECT DISTINCT MONTH(post_date) AS month, count(ID) as monthposts FROM ' .$wpdb->posts ." WHERE YEAR(post_date)='$arcresult->year' AND post_status='publish' AND post_type='post' AND post_password='' " ."GROUP BY MONTH(post_date) ORDER BY post_date DESC"); foreach ($arcresults2 as $arcresult2) { $monthurl = get_month_link($arcresult->year, $arcresult2->month); $tdArray[$arcresult2->month]=' | '. get_archives_link($monthurl, $arcresult2->monthposts, '') . ' | '; } for ($n=0;$n<13;$n++) { echo $tdArray[$n],"\n"; } echo '
and closing
from $text * Used for the short about text on the front page */ function BX_remove_p($text) { $text = apply_filters('the_content', $text); $text = preg_replace("/^[\t|\n]?(.*)/","\\1",$text); // opening
$text = preg_replace("/(.*)<\/p>[\t|\n]$/","\\1",$text); // closing
return $text; } ?>