summaryrefslogtreecommitdiff
path: root/template/default/prog_list.html
blob: 032cc5806a02b3ae667d71af794ce5f86c74f731 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>

<head>
	<meta http-equiv="content-type" content="text/html;<%! charset=ISO-8859-1 !%>" />
	<title>VDRAdmin - <%! Channels !%></title>
	<link href="style.css" rel="stylesheet" media="screen" type="text/css" />
	<tmpl_if usercss>
		<link href="user.css" rel="stylesheet" media="screen" type="text/css" />
	</tmpl_if>
	<script type="text/javascript" language="JavaScript" src="library.js"></script>
</head>

<body id="prog_list">
	<form action="<tmpl_var url>" method="get" name="FormName">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" id="heading">
			<tr>
				<td class="col_left"></td>
				<td class="col_title">
					<h1>
						<a href="javascript:callurl('<tmpl_var switchurl>');"><tmpl_var progname></a>&nbsp;&nbsp;
<tmpl_if stream_live_on>
						<a href="<tmpl_var streamurl>"><img src="bilder/stream.jpg" alt="stream" title="<%! Stream !%>" height="17" align="middle" border="0" /></a>
</tmpl_if>
					</h1>
				</td>
				<td class="col_other"><%! Channel: !%>&nbsp; 
					<select name="vdr_id" class="submit" onchange="window.open('<tmpl_var url>?aktion=prog_list&amp;vdr_id=' + this.options[this.selectedIndex].value,'main')">
<tmpl_loop chanloop>
						<option value="<tmpl_var vdr_id>" <tmpl_if current>selected</tmpl_if>><tmpl_var name></option>
</tmpl_loop>
					</select>
					<input type="submit" class="submit" name="submit" value="<%! Go! !%>" />
				</td>
				<td class="col_right"></td>
			</tr>
		</table>
		<input type="hidden" name="aktion" value="prog_list" />
	</form>

	<div id="content">
<tmpl_loop loop>
	<tmpl_if newd>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="group">
			<tr class="heading">
				<td class="col_left"></td>
				<td colspan="3"><h2><tmpl_var title></h2></td>
				<td class="col_navi">
					<tmpl_if prev_channel><a href="<tmpl_var prev_channel>"><img src="bilder/pfeile_nachlinks.gif" border="0" /></a><tmpl_else><img src="bilder/pfeile_nachlinks_soft.gif" border="0" /></tmpl_if><tmpl_if next_channel><a href="<tmpl_var next_channel>"><img src="bilder/pfeile_nachrechts.gif" border="0" /></a><tmpl_else><img src="bilder/pfeile_nachrechts_soft.gif" border="0" /></tmpl_if>
				</td>
				<td class="col_right"></td>
			</tr>
			<tr class="row_spacer">
				<td class="col_left"></td>
				<td colspan="4"></td>
				<td class="col_right"></td>
			</tr>
	<tmpl_else>
		<tmpl_unless endd>
			<tr class="<tmpl_if __ODD__>row_odd<tmpl_else>row_even</tmpl_if>">
				<td class="col_left"><a id="<tmpl_var anchor>" name="<tmpl_var anchor>">&nbsp;</a></td>
				<td class="col_duration">
					<tmpl_var emit> - <tmpl_var duration>
				</td>
				<td class="col_title">
					<h3><tmpl_var title></h3>
					<tmpl_if subtitle>
						<h4><tmpl_var subtitle></h4>
					<tmpl_else>
						<br />
					</tmpl_if>
				</td>
				<td class="col_info">
					<tmpl_if infurl>
						<a href="javascript:popup('<tmpl_var infurl>');"><img src="bilder/info_button.gif" border="0" alt="info" /></a>
					<tmpl_else>
						<img src="bilder/info_button_disabled.gif" border="0" alt="noinfo" />
					</tmpl_if>
				</td>
				<td class="col_record">
					<a href="<tmpl_var recurl>"><img src="bilder/rec_button.gif" border="0" alt="record" /></a>
				</td>
				<td class="col_right"></td>
			</tr>
		</tmpl_unless>
	</tmpl_if>
	<tmpl_if endd>
			<tr class="footer">
				<td class="col_left"></td>
				<td colspan="4"></td>
				<td class="col_right"></td>
			</tr>
		</table>
	</tmpl_if>
</tmpl_loop>
	</div>
</body>

</html>