Index: /trunk/include/custom_functions.php
===================================================================
--- /trunk/include/custom_functions.php	(revision 31)
+++ /trunk/include/custom_functions.php	(revision 31)
@@ -0,0 +1,28 @@
+<?php
+	
+function the_credit($show = false)
+{
+	global $xoopsModule,$wp_version;
+	
+	$ret = '<a href="http://www.toemon.com"'. " target='_blank'" . '>XPressME Ver.' . sprintf('%.2f %s',$xoopsModule->getInfo('version'),$xoopsModule->getInfo('codename')) .'</a>';
+	if (strstr($wp_version,'ME')){
+		$ret .= '(included <a href="http://wpme.sourceforge.jp/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)';
+	} else {
+		$ret .= '(included <a href="http://ja.wordpress.org/" title="Powered by WordPress"'." target='_blank'". '>WordPress ' . $wp_version . '</a>)';
+	}
+
+	if (empty($show))
+		return $ret;
+	else
+		echo $ret;
+}
+
+function html_convert_time($show = false)
+{
+	$ret =  timer_stop(0) .'sec. ';
+	if (empty($show))
+		return $ret;
+	else
+		echo $ret;
+}
+?>
Index: /trunk/wp-config.php
===================================================================
--- /trunk/wp-config.php	(revision 30)
+++ /trunk/wp-config.php	(revision 31)
@@ -1,6 +1,7 @@
 <?php
 require dirname( __FILE__ ).'/include/include_xoops_define.php' ;
-require dirname( __FILE__ ).'/include/set_cash_cookie_path.php' ;
-require dirname( __FILE__ ).'/include/pluggable-override.php' ;
+require_once dirname( __FILE__ ).'/include/set_cash_cookie_path.php' ;
+require_once dirname( __FILE__ ).'/include/pluggable-override.php' ;
+require_once dirname( __FILE__ ).'/include/custom_functions.php' ;
 
 mb_language('Japanese');
