summaryrefslogtreecommitdiff
path: root/templates/albumnarrow.template
diff options
context:
space:
mode:
authorunknown <andrew@.cern.ch>2011-06-21 16:33:26 +0200
committerunknown <andrew@.cern.ch>2011-06-21 16:33:26 +0200
commitfa170afd817648f306e322802ca85b6abbd37f74 (patch)
tree44a68e68859429bc5f6bcb164111bcb8df1ee165 /templates/albumnarrow.template
Initial commit
Diffstat (limited to 'templates/albumnarrow.template')
-rw-r--r--templates/albumnarrow.template46
1 files changed, 46 insertions, 0 deletions
diff --git a/templates/albumnarrow.template b/templates/albumnarrow.template
new file mode 100644
index 0000000..9c9e378
--- /dev/null
+++ b/templates/albumnarrow.template
@@ -0,0 +1,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>