[jamdb-user] biografie or some other text for each album
Status: Beta
Brought to you by:
mschiff
|
From: <dan...@gm...> - 2003-01-17 12:55:34
|
line 286 in main.php
-------------------------------
echo "<tr class=\"dark\"><td colspan=$cols><br>CD Cover:<br><br>";
ShowCover($dirname);
+ # show biografie under covers
+ ###############################
+ if (file_exists($dirname."/Biografie.txt")
+ ) {
+ echo "<p>Biografie</p>";
+ $biogrfile = $dirname."/Biografie.txt";
+ $biografie = file($biogrfile);
+ for($x=0;$x<count($biografie);$x++){
+ echo $biografie[$x];
+ echo "<br>";
+ }
+ }
echo "</td></tr>\n";
}
-------------------------------
Place a file named Biografie.txt in the album-dir and it will be displayed.
You can format the text with HTML-tags.
MFG
Daniel Kröhl
|