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;
+}
+?>
