<!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 escape="html"></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 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>
