Index: branches/Ver3.0/xpressme_integration_kit/admin/help/wp_install_help.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/admin/help/wp_install_help.php	(revision 744)
+++ branches/Ver3.0/xpressme_integration_kit/admin/help/wp_install_help.php	(revision 744)
@@ -0,0 +1,43 @@
+<?php
+	function wp_install_guide(){
+		$mydirpath = dirname( dirname( dirname( __FILE__ ) ) ) ;
+		$mydirname = basename(dirname( dirname( dirname( __FILE__ ) ) )) ;
+		include_once $mydirpath . '/class/wpInfo_class.php';
+		$xoops_lang = @$GLOBALS["xoopsConfig"]['language'];
+		$wp_info = new wpInfo;
+		$wp_lang = $wp_info->get_wpLang($xoops_lang);
+		if (!$wp_info->is_wp_file_found()){
+			//Download
+			echo $wp_info->get_mod_image_link('check_bad_s.png');
+			echo '<font size="4" >'._AM_XP2_WP_CHK_0 .'</font><br />';
+			echo '<br />';
+			echo $wp_info->text_indent(_AM_XP2_WP_CHK_1 . _AM_XP2_WP_CHK_2);
+			echo '<br />';
+			echo $wp_info->text_indent(_AM_XP2_WP_STEP_1,1,'font-weight:bold;');
+			echo $wp_info->get_download_info('ja');
+			echo '<br />';
+			// Uncompress
+			echo $wp_info->text_indent(_AM_XP2_WP_STEP_2,1,'font-weight:bold;');
+			echo $wp_info->text_indent(_AM_XP2_WP_INFO_5,2);			
+			echo '<br />';
+			echo '<div style="padding-left:60px;">'.$wp_info->get_mod_image_link('wp_uncompless.png') . '</div>';
+			echo '<br />';
+			// Upload Wordpress
+			echo $wp_info->text_indent(_AM_XP2_WP_STEP_3,1,'font-weight:bold;');
+			printf($wp_info->text_indent(_AM_XP2_WP_INFO_6,2),$mydirname);			
+			printf($wp_info->text_indent(_AM_XP2_WP_INFO_7,3),$mydirpath);			
+			echo $wp_info->text_indent(_AM_XP2_WP_INFO_8,2);
+			echo '<br />';
+			echo '<div style="padding-left:60px;">'.$wp_info->get_mod_image_link('wp_upload.png') . '</div>';
+			echo '<br />';
+			//Install
+			echo $wp_info->text_indent(_AM_XP2_WP_STEP_4,1,'font-weight:bold;');
+			echo $wp_info->text_indent(_AM_XP2_WP_INFO_9,2);			
+
+		} else {
+			echo $wp_info->get_mod_image_link('check_good_s.png');
+			echo '<font size="4" >'._AM_XP2_WP_CHK_0 .'</font><br />';
+			echo '<br />';
+		}
+	}
+?>
Index: branches/Ver3.0/xpressme_integration_kit/admin/index.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/admin/index.php	(revision 743)
+++ branches/Ver3.0/xpressme_integration_kit/admin/index.php	(revision 744)
@@ -774,5 +774,5 @@
 $mydirpath = dirname( dirname( __FILE__ ) ) ;
 //require_once($mydirpath.'/wp-config.php');
-	
+
 require_once '../../../include/cp_header.php' ;
 //require_once '../include/gtickets.php' ;
@@ -795,41 +795,66 @@
 	exit ;
 }
+include_once $mydirpath .'/include/wp_check.php' ;
 
 // beggining of Output
 xoops_cp_header();
-include( './mymenu.php' ) ;
-
-echo "
-	<style type=\"text/css\">
-	label,text {
-		display: block;
-		float: left;
-		margin-bottom: 2px;
-	}
-	label {
-		text-align: right;
-		width: 200px;
-		padding-right: 20px;
-	}
-	br {
-		clear: left;
-	}
-	</style>
-";
-
-if (!empty($_POST['submit_report'])) $report = true; else $report = false;
-xpress_sys_info($report);
-xpress_config_from_xoops_view($report);
-xpress_active_plugin_list($report);
-xpress_block_state($report);
-xpress_block_options($report);
-xpress_group_role_state($report);
-admin_check_user_meta_prefix($report);
-xpress_state($report);
-echo '<form method="POST">'."\n";
-echo '<input type="submit" name="submit_report" value="' . _AM_XP2_SYS_REPORT .' " />'.'&emsp;';
-echo '<input type="submit" name="submit_normal" value="' . _AM_XP2_SYS_NORMAL .' " />'."<br />\n";
-echo "</form>\n";
-
+if(is_wpdb_installed()){
+	include( './mymenu.php' ) ;
+
+	echo "
+		<style type=\"text/css\">
+		label,text {
+			display: block;
+			float: left;
+			margin-bottom: 2px;
+		}
+		label {
+			text-align: right;
+			width: 200px;
+			padding-right: 20px;
+		}
+		br {
+			clear: left;
+		}
+		</style>
+	";
+	if (!empty($_POST['submit_report'])) $report = true; else $report = false;
+	xpress_sys_info($report);
+	xpress_config_from_xoops_view($report);
+	xpress_active_plugin_list($report);
+	xpress_block_state($report);
+	xpress_block_options($report);
+	xpress_group_role_state($report);
+	admin_check_user_meta_prefix($report);
+	xpress_state($report);
+	echo '<form method="POST">'."\n";
+	echo '<input type="submit" name="submit_report" value="' . _AM_XP2_SYS_REPORT .' " />'.'&emsp;';
+	echo '<input type="submit" name="submit_normal" value="' . _AM_XP2_SYS_NORMAL .' " />'."<br />\n";
+	echo "</form>\n";
+} else {
+
+	include_once $mydirpath .'/include/wp_installer.php' ;
+	if (!empty($_POST['submit_install'])) {
+		$i_mess = wp_installer($mydirname);
+		foreach( $i_mess as $message ) {
+			echo $message ;
+		}
+
+	} else {
+		echo '<font size="5" color="#ff0000">'. _AM_XP2_NO_WP. '</font><br /><br />';
+
+		if (xp_permission_check($mydirname , $mydirpath)){
+			echo '<form method="POST">'."\n";
+			echo '<input type="submit" name="submit_install" value="' . _AM_XP2_WP_INSTALL .' " />'.'&emsp;';
+			echo "</form>\n";
+		} else {
+			include_once $mydirpath .'/admin/help/wp_install_help.php' ;
+			wp_install_guide();
+			echo '<form method="POST">'."\n";
+			echo '<input type="submit" name="submit_recheck" value="' . _AM_XP2_WP_RE_CHK .' " />'.'&emsp;';
+			echo "</form>\n";
+		}
+	}
+}
 xoops_cp_footer();
 
Index: branches/Ver3.0/xpressme_integration_kit/admin/menu.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/admin/menu.php	(revision 743)
+++ branches/Ver3.0/xpressme_integration_kit/admin/menu.php	(revision 744)
@@ -40,9 +40,9 @@
 }
 
-
-
 $i=0;
+include_once $dir_path .'/include/wp_check.php' ;
 $adminmenu[$i]['title'] = _MI_XP2_MENU_SYS_INFO ;
 $adminmenu[$i++]['link'] = "admin/index.php";
+if(is_wpdb_installed()){
 
 //$adminmenu[$i]['title'] = _MI_XP2_MENU_BLOCK_ADMIN ;
@@ -60,4 +60,4 @@
 $adminmenu[$i]['title'] = _MI_XP2_TO_UPDATE ;
 $adminmenu[$i++]['link'] = "admin/update.php";
-
+}
 ?>
Index: branches/Ver3.0/xpressme_integration_kit/class/wpInfo_class.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/class/wpInfo_class.php	(revision 743)
+++ branches/Ver3.0/xpressme_integration_kit/class/wpInfo_class.php	(revision 744)
@@ -9,30 +9,19 @@
  */
 class wpInfo {
+	var	$mod_dirpath;
+	var	$mod_name;
+	var $mod_url;
+
+	var $xoops_Lang;
+	var $wp_Lang;
+	var $php_version;
+	var $mysql_version;
 	// The language of XOOPS is set as Key of the array. 
 	// The language of WP is set as Value of the array. 
-	var $xoops_Lang;
-	var $wp_Lang;
-	
 	var $wp_lang_array = array(
-		'english' => array( 
-				'wp_lang' =>'en',
-				'wp_site' =>'http://wordpress.org/',
-			),
-									
-		'japanese' => array( 
-				'wp_lang' =>'ja',
-				'wp_site' =>'http://ja.wordpress.org/',
-			),
-		
-		'ja_utf8' => array( 
-				'wp_lang' =>'ja',
-				'wp_site' =>'http://ja.wordpress.org/',
-			),
-		
-		'pt-br_utf8' =>	array( 
-				'wp_lang' =>'en',
-				'wp_site' =>'http://br.wordpress.org/',
-			),
-		
+		'english' => 	'en_US',
+		'japanese' => 	'ja',
+		'ja_utf8' => 	'ja',
+		'pt-br_utf8' =>	'pt_BR',
 		// The key(language of XOOPS) of the following lists has not been set yet. 
 		'Afrikaans' =>	'af',
@@ -95,14 +84,135 @@
 	);
 
-	public function get_wpLang($xoops_Lang = 'english') 
-	{
-		$detect_lang = $this->wp_lang_array[$xoops_Lang]['wp_lang'];
-		if (empty($detect_lang)) return 'en';
-		return $detect_lang;
-	}
-	public function get_download_info()
-	{
-		$check_url = 	'http://api.wordpress.org/core/version-check/1.5/?locale='. $this->wp_lang;
-	}
-}
+	function wpInfo(){
+		$this->__construct();
+	}
+	function __construct() {
+		$this->mod_dirpath = dirname(dirname(__FILE__));
+		$this->mod_name = basename(dirname(dirname(__FILE__)));
+		$this->mod_url = XOOPS_URL . '/modules/'.$this->mod_name;
+		$this->load_lang();
+		$this->xoops_Lang = @$GLOBALS["xoopsConfig"]['language'];
+		$this->php_version    = phpversion();
+		$xoopsDB =& Database::getInstance();
+		list($SV) = $xoopsDB->fetchRow($xoopsDB->query('SELECT version()'));
+		$this->mysql_version = $SV;
+
+		$this->get_wpLang();
+	}
+	function text_indent($text,$num = 1,$css_option='')
+	{
+		$ret = '';
+		$px = 24 * $num;
+		$ret = '<div style="padding-left:' .$px .'px;'.$css_option.'">';
+		$ret .= $text . '</div>';
+		return $ret;
+	}
+	public function load_lang()
+	{
+		$lang = @$GLOBALS["xoopsConfig"]['language'];
+
+		// language file (modinfo.php)
+		if( file_exists( $this->mod_dirpath .'/language/'.$lang.'/admin.php' ) ) {
+			include_once $this->mod_dirpath .'/language/'.$lang.'/admin.php' ;
+		} else if( file_exists(  $this->mod_dirpath .'/language/english/admin.php' ) ) {
+			include_once $this->mod_dirpath .'/language/english/admin.php' ;
+		}
+	}
+	
+	public function get_php_version()
+	{
+		return $this->php_version;
+	}
+	public function get_mysql_version()
+	{
+		return $this->mysql_version;
+	}
+	public function get_wpLang($xoops_Lang = '') 
+	{
+		if(!empty($xoops_Lang)) $this->xoops_Lang = $xoops_Lang;
+		$this->wp_Lang = $this->wp_lang_array[$this->xoops_Lang];
+		if (empty($this->wp_Lang)) $this->wp_Lang =  'en_US';
+		return $this->wp_Lang;
+	}
+	public function get_mod_image_link($file_name='') 
+	{
+		$link_url = '';
+		if(!empty($file_name)){
+			if(file_exists($this->mod_dirpath.'/images/'.$file_name)){
+				$link_url = '<img alt="'.$file_name.'" src="'. $this->mod_url .'/images/'.$file_name.'" title="'.$file_name.'" align=top>';
+			}
+		}
+		return $link_url;
+	}
+
+	function is_wpdb_installed(){
+		$prefix_mod = XOOPS_DB_PREFIX .'_' . preg_replace('/wordpress/','wp',$this->mod_name) . '_';
+		$xoopsDB =& Database::getInstance();
+		$sql = "SHOW TABLES LIKE '$prefix_mod%'";
+		if ($result = $xoopsDB->queryf($sql)){
+			if($xoopsDB->getRowsNum($result))  return true;
+		}
+		return false;
+	}
+	
+	public function is_wp_file_found()
+	{
+		if (!file_exists($this->mod_dirpath . '/wp-settings.php')){
+			return false;
+		}
+		return true;
+	}
+	public function get_download_info($locale='')
+	{
+		$sql_version = preg_replace('/[^0-9.].*/', '', $this->mysql_version);
+		$php_version = $this->php_version;
+		if (empty($locale)) $locale = $this->wp_Lang;
+		$url = "http://api.wordpress.org/core/version-check/1.5/?php=" . $php_version . "&locale=" . $locale . "&mysql=" . $sql_version;
+
+		$handle = @fopen($url,'r');
+		if ($handle) {
+			$ans = array();
+			$num = 0;
+			$pos = 0;
+	    	while (($buffer = fgets($handle, 4096)) !== false) {
+	    		$buffer = trim($buffer);
+	    		if (strlen($buffer) == 0) {
+	    			$num++;
+	    			$pos=0;
+	    		} else {
+	    			$ans[$num][$pos] = $buffer;
+	    			$pos++;
+	    		}
+	    	}
+	    	if (!feof($handle)) {
+	        	echo "Error: unexpected fgets() fail\n";
+	    	}
+	    	fclose($handle);
+		}
+			$ressponce = $ans[0][0];
+			$site_url = $ans[0][1];
+			$download_url = $ans[0][2];
+			$wp_version = $ans[0][3];
+			$download_lang = $ans[0][4];
+//			print_r($ans);
+			if (isset($ans[1])){
+				$en_download_url = $ans[1][2];
+			}
+			if ($locale == $download_lang){
+				$ret = $this->text_indent(sprintf(_AM_XP2_WP_INFO_1,$locale),2);
+				$ret .= $this->text_indent('<a href="'.$download_url.'">' . $download_url .'</a>' ,3);
+				if (!empty($en_download_url)){
+					$ret .= $this->text_indent(_AM_XP2_WP_INFO_4,2);
+					$ret .= $this->text_indent('<a href="'.$en_download_url .'">' . $en_download_url .'</a>' ,3);
+				}
+			} else {
+				$ret = $this->text_indent(sprintf(_AM_XP2_WP_INFO_2,$locale));
+				$ret .= $this->text_indent(_AM_XP2_WP_INFO_3,2);
+				$ret .= $this->text_indent('<a href="http://codex.wordpress.org/WordPress_in_Your_Language" target="	_blank">WordPress_in_Your_Language</a>' ,3);
+				$ret .= $this->text_indent(_AM_XP2_WP_INFO_4,2);
+				$ret .= $this->text_indent('<a href="'.$download_url.'">' . $download_url .'</a>' ,3);
+			}
+			echo $ret;
+		}
+	}
 ?>
Index: branches/Ver3.0/xpressme_integration_kit/include/add_xpress_process.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/include/add_xpress_process.php	(revision 743)
+++ branches/Ver3.0/xpressme_integration_kit/include/add_xpress_process.php	(revision 744)
@@ -111,11 +111,17 @@
 	}
 }
-
 require_once( dirname( __FILE__ ).'/request_url.php');
 require_once( dirname( __FILE__ ).'/memory_limit.php');
 
 $global_session = $_SESSION;
-
 if (is_xpress_index_page_call()){
+	require_once( dirname( __FILE__ ).'/wp_check.php');
+	if (!is_wpdb_installed()){
+		include $xoops_config->xoops_root_path ."/header.php";
+		echo "<h2>Wordpress has not been installed yet. </h2>";
+		include $xoops_config->xoops_root_path . '/footer.php';
+		exit();
+	}
+
 	//$_SERVER['REQUEST_METHOD'] = 'POST' is
 	//When notifying by a private message, Notification_reserve_send();
Index: branches/Ver3.0/xpressme_integration_kit/include/oninstall.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/include/oninstall.php	(revision 743)
+++ branches/Ver3.0/xpressme_integration_kit/include/oninstall.php	(revision 744)
@@ -22,6 +22,9 @@
 {
 	// transations on module install
+	$mydirpath = dirname(dirname(__FILE__));
 
 	global $ret ; // TODO :-D
+	include_once XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/include/wp_installer.php' ;
+	include_once XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/include/xpress_templates_make.php' ;
 
 	// for Cube 2.1
@@ -39,22 +42,10 @@
 
 	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
-		$ret[] = "********************************* Install Log ********************************<br />";
+		$ret[] = "********************************* Template Install Log ********************************<br />";
 	} else {
-		$ret[] = '<h4 style="border-bottom: 1px dashed rgb(0, 0, 0); text-align: left; margin-bottom: 0px;">Install Log</h4>';
+		$ret[] = '<h4 style="border-bottom: 1px dashed rgb(0, 0, 0); text-align: left; margin-bottom: 0px;">Template Install Log</h4>';
     }
-
-//xpress
-	global $wpdb,$wp_rewrite, $wp_queries, $table_prefix, $wp_db_version, $wp_roles, $wp_query,$wp_embed;
-	global $xoops_config;
-		
-	define("WP_INSTALLING", true);
-	
-	$site_url= XOOPS_URL."/modules/".$mydirname;
-	$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
-	$path = $mydirpath . '/';
-	$site_name = ucfirst($mydirname) . ' ' . _MI_XP2_NAME;
-	
-// permission and wordpress files check
-	require_once ($path . 'include/pre_check.php');
+    // permission and wordpress files check
+/*
 	if(! xp_permission_check($mydirname, $mydirpath)){
 		if( ! defined( 'XOOPS_CUBE_LEGACY' ) ) {
@@ -65,170 +56,17 @@
 		return false;
 	}
+*/
+	// make templates
+	$t_mess = xpress_templates_make($mid,$mydirname);
+	$ret = array_merge($ret,$t_mess);
 	
-// install WordPress
-	if (file_exists($path . 'wp-load.php')) {
-		require_once $path . 'wp-load.php';
+	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
+		$ret[] = "********************************* WordPress Install Log ********************************<br />";
 	} else {
-		require_once $path . 'wp-config.php';
-	}
-	include_once($mydirpath . '/wp-admin/upgrade-functions.php');
-	wp_cache_flush();
-	make_db_current_silent();
-	$ret[] = "The data base of wordpress was made by prefix $table_prefix.<br />";
-	
-	$option_desc = __('WordPress web address');
-	$wpdb->query("INSERT INTO $wpdb->options (blog_id, option_name,option_value, autoload) VALUES ('0', 'siteurl','$site_url', 'yes')");	
-	$wpdb->query("INSERT INTO $wpdb->options (blog_id, option_name,option_value, autoload) VALUES ('0', 'home','$site_url', 'yes')");
-
-	populate_options();
-	populate_roles();
-	
-// create XPressME table
-	$xp_prefix = preg_replace('/wordpress/','wp',$mydirname);
-	$views_table = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_views' ;
-
-	$charset_collate = '';
-	if ( version_compare(mysql_get_server_info(), '4.1.0', '>=') ) {
-		if ( ! empty($wpdb->charset) )
-			$charset_collate = "DEFAULT CHARACTER SET $wpdb->charset";
-		if ( ! empty($wpdb->collate) )
-			$charset_collate .= " COLLATE $wpdb->collate";
-	}
-	$views_queries ="CREATE TABLE $views_table (
-  		blog_id bigint(20) unsigned NOT NULL default '0',
-  		post_id bigint(20) unsigned NOT NULL default '0',
-  		post_views bigint(20) unsigned NOT NULL default '0',
-  		KEY post_id (post_id)
-		)$charset_collate;";
-	dbDelta($views_queries);
-	$ret[] = "$views_table table of XPressME was made.<br />";
-	
-	$d3forum_link = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_d3forum_link' ;
-	$views_queries ="CREATE TABLE $d3forum_link (
-  		comment_ID bigint(20) unsigned NOT NULL default '0',
-  		post_id int(10) unsigned NOT NULL default '0' ,
-  		wp_post_ID bigint(20) unsigned NOT NULL default '0',
-  		forum_id bigint(20) unsigned NOT NULL default '0',
-  		blog_id bigint(20) unsigned NOT NULL default '0',
-  		KEY post_id (post_id)
-		)$charset_collate;";
-	dbDelta($views_queries);
-	$ret[] = "$d3forum_link table of XPressME was made.<br />";
-	
-	$group_role = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_group_role' ;
-	$views_queries ="CREATE TABLE $group_role (
-  		groupid smallint(5) unsigned NOT NULL default '0',
-  		blog_id bigint(20) unsigned NOT NULL default '0',
-  		name varchar(50)  NOT NULL default '' ,
-  		description text  NOT NULL default '',
-  		group_type varchar(50)  NOT NULL default '' ,
-		role varchar(20)  NOT NULL default '' ,
-		login_all smallint(5) unsigned NOT NULL default '0' ,
-  		KEY groupid (groupid)
-		)$charset_collate;";
-	dbDelta($views_queries);
-	$ret[] = "$group_role table of XPressME was made.<br />";
-	
-	$notify_reserve = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_notify_reserve' ;
-	$queries ="CREATE TABLE $notify_reserve (
-  		notify_reserve_id bigint(20) NOT NULL AUTO_INCREMENT ,
-  		notify_reserve_status varchar(20)  NOT NULL default '' ,
-  		category text  NOT NULL default '',
-  		item_id bigint(20) unsigned NOT NULL default '0',
-		event varchar(20) NOT NULL default '',
-		extra_tags_arry longtext NOT NULL default '' ,
-		user_list_arry longtext NOT NULL default '' ,
-  		module_id smallint(5) unsigned NOT NULL default '0' ,
-  		omit_user_id varchar(20) NOT NULL default '' ,
-  		KEY notify_reserve_id (notify_reserve_id)
-		)TYPE=MyISAM";
-	dbDelta($queries);
-	$ret[] = "$notify_reserve table of XPressME was made.<br />";
-
-	$sql = "INSERT INTO $group_role (groupid, role) VALUES (1, 'administrator')";
-	$wpdb->query($sql);
-	
-// make templates
-	include_once XOOPS_ROOT_PATH . '/modules/' . $mydirname . '/include/xpress_templates_make.php' ;
-	$t_mess = xpress_templates_make($mid,$mydirname);
-	
-// Admin User Data write
-	// Change uid field
-	$wpdb->query("ALTER TABLE $wpdb->posts CHANGE `post_author` `post_author` mediumint(8) NOT NULL DEFAULT '0'");
-	$user_name = is_object($GLOBALS["xoopsUser"])?$GLOBALS["xoopsUser"]->getVar("uname"):'admin';
-	$email = is_object($GLOBALS["xoopsUser"])?$GLOBALS["xoopsUser"]->getVar("email"):'foo@exsample.com';
-	$pass_md5 = is_object($GLOBALS["xoopsUser"])?$GLOBALS["xoopsUser"]->getVar("pass"):'';
-	
-	if (!function_exists('username_exists')){
-		require_once($mydirpath . '/wp-includes/registration-functions.php');
-	}
-	$user_id = username_exists($user_name);
-	if ( !$user_id ) {
-		$random_password = 'admin';
-		$user_id = wp_create_user($user_name, $random_password, $email);
-	} else {
-		$random_password = __('User already exists.  Password inherited.');
-	}
-
-	$user = new WP_User($user_id);
-	$user->set_role('administrator');
-	'User ' . $user_name . ' of the administrator was made.';
-	// over write xoops md5 password 
-	$sql = "UPDATE $wpdb->users SET user_pass ='$pass_md5' WHERE ID = $user_id";
-	$wpdb->query($sql);
-	$ret[] = 'The password of XOOPS was copied.<br />';
-	
-	
-// Set Default data
-	// make WordPress Default data	
-	if (function_exists('wp_install_defaults')){
-		wp_install_defaults($user_id);
-	} else {
-		wp_install_old_defaults($user_id);
-	}
-	
-	$ret[] = 'The first sample post & comment was written.<br />';
-	
-	// Rewrite Option for Xpress
-	$xoops_config_tbl = XOOPS_DB_PREFIX . '_config' ;
-	$sql = "SELECT conf_value FROM  $xoops_config_tbl WHERE `conf_name` = 'default_TZ'";
-	$xoops_default_TZ = $wpdb->get_var($sql);
-	update_option('gmt_offset', $xoops_default_TZ);	
-
-	if (WPLANG == 'ja_EUC') {
-		$setup_charset = 'EUC-JP';
-	} elseif(WPLANG == 'ja_SJIS') {
-		$setup_charset = 'Shift_JIS';
-	} else {
-		$setup_charset = 'UTF-8';
-	}
-	update_option("blog_charset", $setup_charset);
-
-	update_option('blogname', $site_name );	
-	update_option('blogdescription', 'WordPress for XOOPS');
-	update_option("admin_email", $GLOBALS["xoopsConfig"]['adminmail']);
-	update_option("ping_sites", "http://rpc.pingomatic.com/\nhttp://ping.xoopsforge.com/");
-	update_option("home", $site_url);
-	update_option("siteurl", $site_url);
-	update_option("what_to_show", "posts");
-	update_option('default_pingback_flag', 0);
-	$ret[] = 'The initial data was written in the data base of wordpress.<br />';
-	
-	update_option("template", "xpress_default");
-	update_option("stylesheet", "xpress_default");
-	$ret[] = 'The default theme of wordpress was set to xpress_default.<br />';
-//	update_option('uploads_use_yearmonth_folders', 1);
-	update_option('upload_path', 'wp-content/uploads');
-			
-// activate the xpressme plugin
-	require_once dirname( __FILE__ ).'/xpress_active_plugin.php';
-	if (xpress_pulugin_activation('xpressme/xpressme.php')){
-		$ret[] = 'The xpressme plug-in was activated.<br />';
-	} else {
-		$GLOBALS["err_log"][] =  '<span style="color:#ff0000;">failed in the activation of xpressme plug-in.</span><br />';
-		return false;
-	}
-
-	$ret = array_merge($ret,$t_mess);
+		$ret[] = '<h4 style="border-bottom: 1px dashed rgb(0, 0, 0); text-align: left; margin-bottom: 0px;">WordPress Install Log</h4>';
+    }
+	// wp install
+//	$i_mess = wp_installer($mydirname);
+//	$ret = array_merge($ret,$i_mess);
 
 	return true ;
@@ -254,5 +92,5 @@
 	if( is_array( @$GLOBALS["err_log"] ) ) {
 		foreach( $GLOBALS["err_log"] as $message ) {
-			$log->add( strip_tags($message)) ;
+			$log->add( strip_tags( $message ) ) ;
 		}
 	}
Index: branches/Ver3.0/xpressme_integration_kit/include/pre_check.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/include/pre_check.php	(revision 743)
+++ 	(revision )
@@ -1,50 +1,0 @@
-<?php
-function xp_permission_check($mydirname , $mydirpath) {
-	global $ret ; // TODO :-D
-	// permission check
-
-    $error = false;
-	if( defined( 'XOOPS_CUBE_LEGACY' ) ) {
-		$GLOBALS["err_log"][] = "********************************* Error Log ********************************<br />";
-	} else {
-		$GLOBALS["err_log"][] = '<h4 style="border-bottom: 1px dashed rgb(0, 0, 0); text-align: left; margin-bottom: 0px;">Error Log</h4>';
-    }
-    
-    if (!file_exists($mydirpath . '/wp-settings.php')){
-		$GLOBALS["err_log"][] =  '<span style="color:#ff0000;">WordPress is not built in.</span><br />';
-		$error = true;
-	}
-    $check_files = array('/templates/', '/wp-content/');
-    foreach ($check_files as $check) {
-    	$check_file = $mydirpath . $check;
-        if (!is_dir($check_file)) {
-           if ( file_exists($check_file) ) {
-                @chmod($check_file, 0666);
-                if (! is_writeable($check_file)) {
-                    $GLOBALS["err_log"][] = "<span style=\"color:#ff0000;\">Permission Error $check_file is not writeable</span><br />";
-                    $error = true;
-				}
-            }
-        } else {
-            @chmod($check_file, 0777);
-            if (! is_writeable($check_file)) {
-                $GLOBALS["err_log"][] = "<span style=\"color:#ff0000;\">Permission Error $check_file directory is not writeable</span><br />";
-                $error = true;
-            } else {
-            	// Windows parmission check
-            	$src_file = __FILE__ ;
-				$newfile = $check_file . 'write_check.txt';
-				if (!copy($src_file, $newfile)) {
-                	$GLOBALS["err_log"][] = "<span style=\"color:#ff0000;\">Permission Error $check_file directory is not writeable</span><br />";
-                	$error = true;
-				} else {
-					unlink($newfile);
-				}
-			}
-        }
-    }
-    if($error) return false;
-    
-    return true;
-}
-?>
Index: branches/Ver3.0/xpressme_integration_kit/include/wp_check.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/include/wp_check.php	(revision 744)
+++ branches/Ver3.0/xpressme_integration_kit/include/wp_check.php	(revision 744)
@@ -0,0 +1,11 @@
+<?php
+	function is_wpdb_installed(){
+		$mydirname = basename(dirname( dirname( __FILE__ ) )) ;
+		$prefix_mod = XOOPS_DB_PREFIX .'_' . preg_replace('/wordpress/','wp',$mydirname) . '_';
+		$xoopsDB =& Database::getInstance();
+		$sql = "SHOW TABLES LIKE '$prefix_mod%'";
+		if ($result = $xoopsDB->queryf($sql)){
+			if($xoopsDB->getRowsNum($result))  return true;
+		}
+		return false;
+	}
Index: branches/Ver3.0/xpressme_integration_kit/include/wp_installer.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/include/wp_installer.php	(revision 744)
+++ branches/Ver3.0/xpressme_integration_kit/include/wp_installer.php	(revision 744)
@@ -0,0 +1,216 @@
+<?php
+function xp_permission_check($mydirname , $mydirpath) {
+	global $ret ; // TODO :-D
+	// permission check
+
+    $error = false;
+    
+    if (!file_exists($mydirpath . '/wp-settings.php')){
+		$error = true;
+	}
+    $check_files = array('/templates/', '/wp-content/');
+    foreach ($check_files as $check) {
+    	$check_file = $mydirpath . $check;
+        if (!is_dir($check_file)) {
+           if ( file_exists($check_file) ) {
+                @chmod($check_file, 0666);
+                if (! is_writeable($check_file)) {
+                    $GLOBALS["err_log"][] = "<span style=\"color:#ff0000;\">Permission Error $check_file is not writeable</span><br />";
+                    $error = true;
+				}
+            }
+        } else {
+            @chmod($check_file, 0777);
+            if (! is_writeable($check_file)) {
+                $GLOBALS["err_log"][] = "<span style=\"color:#ff0000;\">Permission Error $check_file directory is not writeable</span><br />";
+                $error = true;
+            } else {
+            	// Windows parmission check
+            	$src_file = __FILE__ ;
+				$newfile = $check_file . 'write_check.txt';
+				if (!@copy($src_file, $newfile)) {
+                	$GLOBALS["err_log"][] = "<span style=\"color:#ff0000;\">Permission Error $check_file directory is not writeable</span><br />";
+                	$error = true;
+				} else {
+					unlink($newfile);
+				}
+			}
+        }
+    }
+    if($error) return false;
+    
+    return true;
+}
+
+function wp_installer($mydirname ){
+	//xpress
+	global $wpdb,$wp_rewrite, $wp_queries, $table_prefix, $wp_db_version, $wp_roles, $wp_query,$wp_embed;
+	global $xoops_config;
+	$msgs = array();
+		
+	$site_url= XOOPS_URL."/modules/".$mydirname;
+	$mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;
+	$path = $mydirpath . '/';
+	$site_name = ucfirst($mydirname) . ' ' . _MI_XP2_NAME;
+	
+	
+	// install WordPress
+	define("WP_INSTALLING", true);
+	require_once $path . 'wp-load.php';
+	include_once($mydirpath . '/wp-admin/upgrade-functions.php');
+	wp_cache_flush();
+	make_db_current_silent();
+	$msgs[] = "The data base of wordpress was made by prefix $table_prefix.<br />";
+	
+	$option_desc = __('WordPress web address');
+	$wpdb->query("INSERT INTO $wpdb->options (blog_id, option_name,option_value, autoload) VALUES ('0', 'siteurl','$site_url', 'yes')");	
+	$wpdb->query("INSERT INTO $wpdb->options (blog_id, option_name,option_value, autoload) VALUES ('0', 'home','$site_url', 'yes')");
+
+	populate_options();
+	populate_roles();
+	
+	// Admin User Data write
+	// Change uid field
+	$wpdb->query("ALTER TABLE $wpdb->posts CHANGE `post_author` `post_author` mediumint(8) NOT NULL DEFAULT '0'");
+	$user_name = is_object($GLOBALS["xoopsUser"])?$GLOBALS["xoopsUser"]->getVar("uname"):'admin';
+	$email = is_object($GLOBALS["xoopsUser"])?$GLOBALS["xoopsUser"]->getVar("email"):'foo@exsample.com';
+	$pass_md5 = is_object($GLOBALS["xoopsUser"])?$GLOBALS["xoopsUser"]->getVar("pass"):'';
+	
+	if (!function_exists('username_exists')){
+		require_once($mydirpath . '/wp-includes/registration-functions.php');
+	}
+	$user_id = username_exists($user_name);
+	if ( !$user_id ) {
+		$random_password = 'admin';
+		$user_id = wp_create_user($user_name, $random_password, $email);
+	} else {
+		$random_password = __('User already exists.  Password inherited.');
+	}
+
+	$user = new WP_User($user_id);
+	$user->set_role('administrator');
+	'User ' . $user_name . ' of the administrator was made.';
+	// over write xoops md5 password 
+	$sql = "UPDATE $wpdb->users SET user_pass ='$pass_md5' WHERE ID = $user_id";
+	$wpdb->query($sql);
+	$msgs[] = 'The password of XOOPS was copied.<br />';
+
+// Set Default data
+	// make WordPress Default data	
+	if (function_exists('wp_install_defaults')){
+		wp_install_defaults($user_id);
+	} else {
+		wp_install_old_defaults($user_id);
+	}
+	
+	$msgs[] = 'The first sample post & comment was written.<br />';
+	
+	// Rewrite Option for Xpress
+	$xoops_config_tbl = XOOPS_DB_PREFIX . '_config' ;
+	$sql = "SELECT conf_value FROM  $xoops_config_tbl WHERE `conf_name` = 'default_TZ'";
+	$xoops_default_TZ = $wpdb->get_var($sql);
+	update_option('gmt_offset', $xoops_default_TZ);	
+
+	if (WPLANG == 'ja_EUC') {
+		$setup_charset = 'EUC-JP';
+	} elseif(WPLANG == 'ja_SJIS') {
+		$setup_charset = 'Shift_JIS';
+	} else {
+		$setup_charset = 'UTF-8';
+	}
+	update_option("blog_charset", $setup_charset);
+
+	update_option('blogname', $site_name );	
+	update_option('blogdescription', 'WordPress for XOOPS');
+	update_option("admin_email", $GLOBALS["xoopsConfig"]['adminmail']);
+	update_option("ping_sites", "http://rpc.pingomatic.com/\nhttp://ping.xoopsforge.com/");
+	update_option("home", $site_url);
+	update_option("siteurl", $site_url);
+	update_option("what_to_show", "posts");
+	update_option('default_pingback_flag', 0);
+	$msgs[] = 'The initial data was written in the data base of wordpress.<br />';
+	
+	update_option("template", "xpress_default");
+	update_option("stylesheet", "xpress_default");
+	$msgs[] = 'The default theme of wordpress was set to xpress_default.<br />';
+//	update_option('uploads_use_yearmonth_folders', 1);
+	update_option('upload_path', 'wp-content/uploads');
+			
+// activate the xpressme plugin
+	require_once dirname( __FILE__ ).'/xpress_active_plugin.php';
+	if (xpress_pulugin_activation('xpressme/xpressme.php')){
+		$msgs[] = 'The xpressme plug-in was activated.<br />';
+	} else {
+		$GLOBALS["err_log"][] =  '<span style="color:#ff0000;">failed in the activation of xpressme plug-in.</span><br />';
+		return false;
+	}
+
+	
+	// create XPressME table
+	$xp_prefix = preg_replace('/wordpress/','wp',$mydirname);
+	$views_table = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_views' ;
+
+	$charset_collate = '';
+	if ( version_compare(mysql_get_server_info(), '4.1.0', '>=') ) {
+		if ( ! empty($wpdb->charset) )
+			$charset_collate = "DEFAULT CHARACTER SET $wpdb->charset";
+		if ( ! empty($wpdb->collate) )
+			$charset_collate .= " COLLATE $wpdb->collate";
+	}
+	$views_queries ="CREATE TABLE $views_table (
+  		blog_id bigint(20) unsigned NOT NULL default '0',
+  		post_id bigint(20) unsigned NOT NULL default '0',
+  		post_views bigint(20) unsigned NOT NULL default '0',
+  		KEY post_id (post_id)
+		)$charset_collate;";
+	dbDelta($views_queries);
+	$msgs[] = "$views_table table of XPressME was made.<br />";
+	
+	$d3forum_link = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_d3forum_link' ;
+	$views_queries ="CREATE TABLE $d3forum_link (
+  		comment_ID bigint(20) unsigned NOT NULL default '0',
+  		post_id int(10) unsigned NOT NULL default '0' ,
+  		wp_post_ID bigint(20) unsigned NOT NULL default '0',
+  		forum_id bigint(20) unsigned NOT NULL default '0',
+  		blog_id bigint(20) unsigned NOT NULL default '0',
+  		KEY post_id (post_id)
+		)$charset_collate;";
+	dbDelta($views_queries);
+	$msgs[] = "$d3forum_link table of XPressME was made.<br />";
+	
+	$group_role = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_group_role' ;
+	$views_queries ="CREATE TABLE $group_role (
+  		groupid smallint(5) unsigned NOT NULL default '0',
+  		blog_id bigint(20) unsigned NOT NULL default '0',
+  		name varchar(50)  NOT NULL default '' ,
+  		description text  NOT NULL default '',
+  		group_type varchar(50)  NOT NULL default '' ,
+		role varchar(20)  NOT NULL default '' ,
+		login_all smallint(5) unsigned NOT NULL default '0' ,
+  		KEY groupid (groupid)
+		)$charset_collate;";
+	dbDelta($views_queries);
+	$msgs[] = "$group_role table of XPressME was made.<br />";
+	$sql = "INSERT INTO $group_role (groupid, role) VALUES (1, 'administrator')";
+	$wpdb->query($sql);
+	
+	$notify_reserve = XOOPS_DB_PREFIX . '_' . $xp_prefix .'_notify_reserve' ;
+	$queries ="CREATE TABLE $notify_reserve (
+  		notify_reserve_id bigint(20) NOT NULL AUTO_INCREMENT ,
+  		notify_reserve_status varchar(20)  NOT NULL default '' ,
+  		category text  NOT NULL default '',
+  		item_id bigint(20) unsigned NOT NULL default '0',
+		event varchar(20) NOT NULL default '',
+		extra_tags_arry longtext NOT NULL default '' ,
+		user_list_arry longtext NOT NULL default '' ,
+  		module_id smallint(5) unsigned NOT NULL default '0' ,
+  		omit_user_id varchar(20) NOT NULL default '' ,
+  		KEY notify_reserve_id (notify_reserve_id)
+		)TYPE=MyISAM";
+	dbDelta($queries);
+	$msgs[] = "$notify_reserve table of XPressME was made.<br />";
+
+	return $msgs ;
+}
+
+?>
Index: branches/Ver3.0/xpressme_integration_kit/language/english/admin.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/language/english/admin.php	(revision 743)
+++ branches/Ver3.0/xpressme_integration_kit/language/english/admin.php	(revision 744)
@@ -41,4 +41,29 @@
 	define("_AM_XP2_NG_BLOCK_REMOVE","Remove xoops abnormal block table");
 	define("_AM_XP2_BLOCK_OR","OR");
+
+// WP install
+	define("_AM_XP2_NO_WP","WordPress has not been installed yet.");
+	define("_AM_XP2_WP_RE_CHK","Check again");
+	define("_AM_XP2_WP_INSTALL","Install WordPress");
+
+	define("_AM_XP2_WP_CHK_0","WordPress file");
+	define("_AM_XP2_WP_CHK_1","The file of WordPress is not up-loaded to the module directory.");
+	define("_AM_XP2_WP_CHK_2","Get WordPress referring to the following. ");
+
+	define("_AM_XP2_WP_STEP_1","Step 1: Download of WordPress");
+	define("_AM_XP2_WP_STEP_2","Step 2: Uncompression of WordPress package");
+	define("_AM_XP2_WP_STEP_3","Step 3: File of WordPress is uploaded to youre site");
+	define("_AM_XP2_WP_STEP_4","Step 4: Installation of WordPress");
+
+	define("_AM_XP2_WP_INFO_0","The supply origin of WordPress of specified language (%s) was found");
+	define("_AM_XP2_WP_INFO_1","WordPress(%s) in your region can be downloaded from the following links. ");
+	define("_AM_XP2_WP_INFO_2","WordPress(%s) in your region was not found. ");
+	define("_AM_XP2_WP_INFO_3","You might be able to find information from the following links.");
+	define("_AM_XP2_WP_INFO_4","Or, You can download WordPress of an English version from the following links. ");
+	define("_AM_XP2_WP_INFO_5","Uncompress the downloaded ZIP package.");
+	define("_AM_XP2_WP_INFO_6","You can find \"wordpress\" folder by uncompressing the ZIP package. Upload all files and folders in \"wordpress\" folder to the %s module route by using the FTP client.");
+	define("_AM_XP2_WP_INFO_7","(module route: %s)");
+	define("_AM_XP2_WP_INFO_8","Overwrite everything if whether it overwrites is asked. ");
+	define("_AM_XP2_WP_INFO_9","Go to the installation of WordPress clicking \"Check again\" after the uploading of WordPress.");
 }
 ?>
Index: branches/Ver3.0/xpressme_integration_kit/language/ja_utf8/admin.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/language/ja_utf8/admin.php	(revision 743)
+++ branches/Ver3.0/xpressme_integration_kit/language/ja_utf8/admin.php	(revision 744)
@@ -41,4 +41,29 @@
 	define("_AM_XP2_NG_BLOCK_REMOVE","NGブロックを削除");
 	define("_AM_XP2_BLOCK_OR","または");
+	
+// WP install
+	define("_AM_XP2_NO_WP","WordPressは未だインストールされていません。");
+	define("_AM_XP2_WP_RE_CHK","再確認");
+	define("_AM_XP2_WP_INSTALL","WordPressをインストール");
+
+	define("_AM_XP2_WP_CHK_0","WordPressファイル");
+	define("_AM_XP2_WP_CHK_1","モジュールディレクトリにWordPressのファイルがアップロードされていません。");
+	define("_AM_XP2_WP_CHK_2","以下の方法でWordPressを取得してください。");
+
+	define("_AM_XP2_WP_STEP_1","ステップ１：　WordPressのダウンロード");
+	define("_AM_XP2_WP_STEP_2","ステップ２：　WordPressパッケージの解凍");
+	define("_AM_XP2_WP_STEP_3","ステップ３：　WordPressをサイトへアップロード");
+	define("_AM_XP2_WP_STEP_4","ステップ４：　WordPressのインストール");
+
+	define("_AM_XP2_WP_INFO_0","言語(%s)に対応したWordPressの供給元を発見しました。");
+	define("_AM_XP2_WP_INFO_1","以下のリンクからローカライズされたWordPress(%s)をダウンロードすることができます。");
+	define("_AM_XP2_WP_INFO_2","言語(%s)に対応したWordPressのソースを見つけることができませんでした。");
+	define("_AM_XP2_WP_INFO_3","以下のリンクから情報を見つけることができるかもしれません。");
+	define("_AM_XP2_WP_INFO_4","あるいは、以下のリンクから英語版のWordPressをダウンロードすることもできます。");
+	define("_AM_XP2_WP_INFO_5","ダウンロードしたZIPパッケージを解凍します。");
+	define("_AM_XP2_WP_INFO_6","解凍して出来たwordpressフォルダー内の全てのファイルとフォルダーを、FTPクライアントを使って%sモジュールルートへアップロードします。");
+	define("_AM_XP2_WP_INFO_7","(モジュールルート： %s)");
+	define("_AM_XP2_WP_INFO_8","もし、上書きをするか尋ねられたら、全て上書きを行ってください");
+	define("_AM_XP2_WP_INFO_9","WordPressのアップロードが終わったら「再確認」をクリックしてWordPressのインストールに進んでください。");
 }
 ?>
Index: branches/Ver3.0/xpressme_integration_kit/language/japanese/admin.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/language/japanese/admin.php	(revision 743)
+++ branches/Ver3.0/xpressme_integration_kit/language/japanese/admin.php	(revision 744)
@@ -41,4 +41,29 @@
 	define("_AM_XP2_NG_BLOCK_REMOVE","NG¥Ö¥í¥Ã¥¯¤òºï½ü");
 	define("_AM_XP2_BLOCK_OR","¤Þ¤¿¤Ï");
+
+// WP install
+	define("_AM_XP2_NO_WP","WordPress¤ÏÌ¤¤À¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£");
+	define("_AM_XP2_WP_RE_CHK","ºÆ³ÎÇ§");
+	define("_AM_XP2_WP_INSTALL","WordPress¤ò¥¤¥ó¥¹¥È¡¼¥ë");
+
+	define("_AM_XP2_WP_CHK_0","WordPress¥Õ¥¡¥¤¥ë");
+	define("_AM_XP2_WP_CHK_1","¥â¥¸¥å¡¼¥ë¥Ç¥£¥ì¥¯¥È¥ê¤ËWordPress¤Î¥Õ¥¡¥¤¥ë¤¬¥¢¥Ã¥×¥í¡¼¥É¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£");
+	define("_AM_XP2_WP_CHK_2","°Ê²¼¤ÎÊýË¡¤ÇWordPress¤ò¼èÆÀ¤·¤Æ¤¯¤À¤µ¤¤¡£");
+
+	define("_AM_XP2_WP_STEP_1","¥¹¥Æ¥Ã¥×£±¡§¡¡WordPress¤Î¥À¥¦¥ó¥í¡¼¥É");
+	define("_AM_XP2_WP_STEP_2","¥¹¥Æ¥Ã¥×£²¡§¡¡WordPress¥Ñ¥Ã¥±¡¼¥¸¤Î²òÅà");
+	define("_AM_XP2_WP_STEP_3","¥¹¥Æ¥Ã¥×£³¡§¡¡WordPress¤ò¥µ¥¤¥È¤Ø¥¢¥Ã¥×¥í¡¼¥É");
+	define("_AM_XP2_WP_STEP_4","¥¹¥Æ¥Ã¥×£´¡§¡¡WordPress¤Î¥¤¥ó¥¹¥È¡¼¥ë");
+
+	define("_AM_XP2_WP_INFO_0","¸À¸ì(%s)¤ËÂÐ±þ¤·¤¿WordPress¤Î¶¡µë¸µ¤òÈ¯¸«¤·¤Þ¤·¤¿¡£");
+	define("_AM_XP2_WP_INFO_1","°Ê²¼¤Î¥ê¥ó¥¯¤«¤é¥í¡¼¥«¥é¥¤¥º¤µ¤ì¤¿WordPress(%s)¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£");
+	define("_AM_XP2_WP_INFO_2","¸À¸ì(%s)¤ËÂÐ±þ¤·¤¿WordPress¤Î¥½¡¼¥¹¤ò¸«¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£");
+	define("_AM_XP2_WP_INFO_3","°Ê²¼¤Î¥ê¥ó¥¯¤«¤é¾ðÊó¤ò¸«¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£");
+	define("_AM_XP2_WP_INFO_4","¤¢¤ë¤¤¤Ï¡¢°Ê²¼¤Î¥ê¥ó¥¯¤«¤é±Ñ¸ìÈÇ¤ÎWordPress¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£");
+	define("_AM_XP2_WP_INFO_5","¥À¥¦¥ó¥í¡¼¥É¤·¤¿ZIP¥Ñ¥Ã¥±¡¼¥¸¤ò²òÅà¤·¤Þ¤¹¡£");
+	define("_AM_XP2_WP_INFO_6","²òÅà¤·¤Æ½ÐÍè¤¿wordpress¥Õ¥©¥ë¥À¡¼Æâ¤ÎÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¤È¥Õ¥©¥ë¥À¡¼¤ò¡¢FTP¥¯¥é¥¤¥¢¥ó¥È¤ò»È¤Ã¤Æ%s¥â¥¸¥å¡¼¥ë¥ë¡¼¥È¤Ø¥¢¥Ã¥×¥í¡¼¥É¤·¤Þ¤¹¡£");
+	define("_AM_XP2_WP_INFO_7","(¥â¥¸¥å¡¼¥ë¥ë¡¼¥È¡§ %s)");
+	define("_AM_XP2_WP_INFO_8","¤â¤·¡¢¾å½ñ¤­¤ò¤¹¤ë¤«¿Ò¤Í¤é¤ì¤¿¤é¡¢Á´¤Æ¾å½ñ¤­¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤");
+	define("_AM_XP2_WP_INFO_9","WordPress¤Î¥¢¥Ã¥×¥í¡¼¥É¤¬½ª¤ï¤Ã¤¿¤é¡ÖºÆ³ÎÇ§¡×¤ò¥¯¥ê¥Ã¥¯¤·¤ÆWordPress¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ë¿Ê¤ó¤Ç¤¯¤À¤µ¤¤¡£");
 }
 ?>
Index: branches/Ver3.0/xpressme_integration_kit/xoops_version.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/xoops_version.php	(revision 743)
+++ branches/Ver3.0/xpressme_integration_kit/xoops_version.php	(revision 744)
@@ -83,5 +83,5 @@
 $modversion['name'] = ucfirst($mydirname) . ' ' . constant('_MI_XP2_NAME') ;
 $modversion['description'] = constant( '_MI_XP2_DESC');
-$modversion['version'] = "2.40";
+$modversion['version'] = "3.00";
 $modversion['credits'] = "Wordpress DEV (http://wordpress.org/) XPressME DEV Toemon) (http://ja.xpressme.info) ;";
 $modversion['author'] = "toemon (http://ja.xpressme.info)";
@@ -94,5 +94,5 @@
 
 // status
-$modversion['codename'] = "";
+$modversion['codename'] = "Alpha1";
 
 // onInstall, onUpdate, onUninstall
