"; $form .= _MB_XPRESS_COUNT .":
"; $form .= _MB_XPRESS_LENGTH .": "; $form .= "

" . _MB_XPRESS_COM_TYPE ; $isAll = (count($selected)==0||empty($selected[0]))?true:false; $form .= "
  
"; // $form .="
"; return $form; } function _b_comments_show($options) { $mydirname = empty( $options[0] ) ? 'xpress' : $options[0] ; $disp_count = empty( $options[1] ) ? '10' : $options[1] ; $disp_length = empty( $options[2] ) ? '30' : $options[2] ; $selected = array_slice($options,3); // get allowed cats $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; $Identification = '-' . $disp_count . '-' . $disp_length ; foreach ($selected as $item){ $Identification .= '-' . $item ; } global $wpdb; if (!is_null($wpdb)){ require_once $mydirpath.'/include/xpress_block_theme.php'; xpress_block_css_set($mydirname); $block_theme_file = get_block_file_path($mydirname,'recent_comments_block'); require_once $block_theme_file; $block = recent_comments_block($options); require_once $mydirpath.'/include/xoops_block_cache.php'; xpress_block_cache_write($mydirname,'recent_comments_block'. $Identification,$block); } else { require_once $mydirpath.'/include/xoops_block_cache.php'; $block = xpress_block_cache_read($mydirname,'recent_comments_block'. $Identification); } return $block; } } ?>