_get_plugin_filepath('function','thumb_imp'); } else { //handle with Smarty version 3.1 foreach ($smarty->getpluginsdir($smarty) as $value) { $filepath = $value ."/function.thumb_imp.php"; if (file_exists($filepath)) { require_once $filepath; } } } return smarty_function_thumb_imp($params, $smarty); } ?>