<?
function wikiimage($params){
  global $db;
  if ($params){
    $params= ereg_replace(" ","",$params);
    $text= "<img src=\"/wiki-files/$db/$params\" border=0>";
  } else {
    $text= "<hr><b>There was a poblem with your parameters. Edit your wiki tag and try again</b><hr>";
  }
  return $text;
}
?>
