Archive for April, 2009

自己紹介について

Thursday, April 30th, 2009

自己紹介については、ココを見てちょんまげ。

TEST-TEST

Wednesday, April 22nd, 2009

This is a test page.
blogs_listup('100');
function blogs_listup($tmp_limit) {
global $wpdb;
$ret_arr=array();
if ($tmp_limit == "") {
} else {
$limit = "LIMIT " . $tmp_limit;
}
$blog_list = $wpdb->get_results( “SELECT blog_id FROM ” . $wpdb->blogs. ” WHERE public = ’1′ AND archived = ’0′ AND mature = ’0′ AND spam = ’0′ AND deleted =’0′ ORDER BY blog_id ASC ” . $limit . “”, ARRAY_A );
$check_blogs = $wpdb->get_var(“SELECT COUNT(*) FROM ” . $wpdb->blogs . “”);
if ($check_blogs == 0 || $check_blogs == 1 ){
echo “

This are currently no active blogs

“;
} else {
foreach($blog_list as $index){
if($index['blog_id']==1){
}else{
$ret_arr[]=”.get_blog_option( $index["blog_id"],’siteurl’).’/feed/’;
}
}
}
return $ret_arr;
}
?>