\n"; $output .= " "; $output .= " \n"; $output .= "\n"; return $output; } function search_data($keys, $type) { if ($keys && $type) { $result = module_execute($type, "find", check_input($keys)); foreach ($result as $entry) { $output .= "
\n";
$output .= " $entry[title]
";
$output .= " $entry[link]". ($entry[user] ? " - ". format_username($entry[user]) : "") ."". ($entry[date] ? " - ". format_date($entry[date], "small") : "") ."";
$output .= "