1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <meta name="GENERATOR" content="Mozilla/4.61 [en] (Win98; U) [Netscape]">
7 <title>Songbook Artist</title>
8 <link rel="stylesheet" type="text/css" media="screen" href="/css/Music.css">
9 <link rel="stylesheet" type="text/css" media="print" href="/css/Print.css">
10 <link rel="SHORTCUT ICON" href="http://defaria.com/favicon.ico" type="image/png">
13 include_once "songbook.php";
14 $artist = $_REQUEST ["artist"];
18 <a href="/songbook"><img src="/Icons/Home.png" alt="Home"></a>
19 <h1 class="centered">Andrew DeFaria's Songbook</h1>
21 <h2 class="centered"><?php echo $artist?></h2>
29 $artistsSongs = array();
31 debug ("Processing songs");
33 foreach ($songs as $song) {
34 debug ("Song: $song");
35 $songArtist = getArtist ($song);
37 if ($songArtist == $artist) {
38 array_push ($artistsSongs, $song);
44 foreach ($artistsSongs as $artistSong) {
45 print "<li><a href=\"webchord.cgi?chordpro=$artistSong\">";
46 print basename ($artistSong, ".pro");