diff options
Diffstat (limited to 'templates/album.template')
| -rw-r--r-- | templates/album.template | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/templates/album.template b/templates/album.template new file mode 100644 index 0000000..f623c7e --- /dev/null +++ b/templates/album.template @@ -0,0 +1,58 @@ +<html> +<head> + <link rel="stylesheet" href="/platdoc/platter.css"> + <script language="javascript"> + <!-- + var sources = new Array( %TOTALCOVERS% ); + var locations = new Array( %TOTALCOVERS% ); + %SOURCES% + %LOCATIONS% + + var coverIndex = Math.round(Math.random()*(locations.length-1)); + + function nextCover() { + var cover = document.getElementById("cover"); + var coverno = document.getElementById("coverno"); + var coversource = document.getElementById("coversource"); + cover.src = locations[coverIndex]; + coverno.firstChild.data = coverIndex+1; + coversource.firstChild.data = sources[coverIndex]; + coverIndex++; + if (coverIndex >= locations.length) coverIndex = 0; + } + //--> + </script> +</head> + +<body background="/platdoc/img/bars.png" topmargin=0 leftmargin=0 rightmargin=0 > +<script language="javascript"> + if (top.location == document.location) + document.write('<a href="front.plx"><img src="/platdoc/img/logo.gif" hspace=0 border=0 alt="Front Page"></a>'); +</script> + <table> + <tr valign="top"> + <td height="100%">%PLAYBUTTON%%INFOBUTTON%</td> + <td width="100%"> %HTMLALBUM%%FOREIGN%%YEAR%</td></tr></table> + <table width="100%"> + <tr valign="top"> + <td> + <ol>%TRACKS%</ol> + </td> + <td align="right" rowspan=2> + %COVER% + </td> + <tr valign="bottom"> + <td> + <small>%HOST%</small> + </td> + </tr> + <tr> + <td colspan=2> + <hr size=1 align=left color=white> + <a name="info" style="color: white"><i class="title">Info</i> + %INFO% + </td> + </tr> + </table> +</body> +</html> |
