<!--% PROCESS 'shared-utils.tpl.html' %-->
<!--% PROCESS "queries-series.tpl.html" %-->
<!--% USE DBI(constants.driver) %-->
<!--% page_title = "HPR ~ Show series" %-->
<h1 class="title">In-Depth Series</h1>
<div class="lane stack">
<!--% FOREACH series IN DBI.query(query_episodes) %-->

  <article>
	<header><a href="<!--% absolute_path(baseurl) %-->series/<!--% zero_pad_left(series.id) %-->.html"><!--% series.name %--></a></header>
	<ul>
		<li>Number of episodes: <!--% series.number_of_episodes %--></li>
		<li>Open/closed: <!--% display_choice(series.private, 'closed', 'open') %--></li>
		<li>Date of earliest show: <!--% series.earliest_show %--></li>
		<li>Date of latest show: <!--% series.latest_show %--></li>
		<li>Series RSS feeds: <a href="<!--% absolute_path(baseurl) %-->hpr_ogg_rss.php?series=<!--% series.id %-->">ogg</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_spx_rss.php?series=<!--% series.id %-->">spx</a>, <a href="<!--% absolute_path(baseurl) %-->hpr_mp3_rss.php?series=<!--% series.id %-->">mp3</a></li>
		<li><a href="<!--% absolute_url(baseurl,'//series') %-->/<!--% zero_pad_left(series.id) %-->.m3u8">Download the M3U playlist</a></li>
	</ul>
	<div class="series-description"><!--% series.description %--></div>
  </article>
<!--% END %-->
</div>
