<div id="content">
<?php
-global $songDir;
+global $songDir, $artists;
print "<ol>";
print basename ($song);
}
- if ($artist <> "") {
- print " - <a href=\"displayartist.php?artist=$artist\">$artist</a>";
+ print " - ";
+
+ if (in_array ($artist, $artists)) {
+ print "<a href=\"displayartist.php?artist=$artist\">$artist</a>";
+ } else {
+ print $artist;
} // if
print "</li>";
} // foreach
-print "</okkkl>";
+print "</ol>";
?>
</body>