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