parseTemplate("{FEATUREBOX|".$type."}"); if(empty($text)) { e107::getMessage()->addDebug("DEBUG: There are no featurebox items using the ".$type." template"); } echo $text; unset($text);