//ver3.0 can_read access
		$gperm =& BulletinGP::getInstance($plugin['dirname']) ;
		$checkright = $gperm->checkRight('module_read', $mid, $groups);
		$can_read_topic_ids = $gperm->makeOnTopics('can_read');

		if (empty($can_read_topic_ids) || !$checkright){
			$sql .= ' AND topicid IN (0)';
		}else{
			$sql .= ' AND topicid IN ('.implode(',',$can_read_topic_ids).')';
		}
		if (!$gperm->group_perm(2)){
			$sql .= " AND type > 0";
		}
	}else{
		$gperm =new BulletinGP() ;
		$checkright = $gperm->checkRight('module_read', $mid, $groups);
		if ( !$checkright){
			$sql .= ' AND topicid IN (0)';
		}
		$sql .= " AND type > 0";
	}

	$result = $db->query( $sql ) ;

	while( list( $title , $id , $server_time ) = $db->fetchRow( $result ) ) {
		$user_time = $server_time + $tzoffset_s2u ;
		if( date( 'n' , $user_time ) != $this->month ) continue ;
		$target_date = date('j',$user_time) ;
		$tmp_array = array(
			'dotgif' => $plugin['dotgif'] ,
			'dirname' => $plugin['dirname'] ,