summaryrefslogtreecommitdiff
path: root/templates/albumnarrow.template
blob: 9c9e3789481ca5a398c0e823639e7f63e7abb5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<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=1 leftmargin=1 rightmargin=1>
<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%">&nbsp;%HTMLALBUM%%FOREIGN%%YEAR%</td>
  </tr>
</table>
<table align=center><tr><td>%COVER%</td></tr></table>
<ol>%TRACKS%</ol>
<small>%HOST%</small>
<hr size=1 color=white width=66%>
<a name="info" style="color: white"><i class="title">Info</i>
%INFO%

</body>
</html>