|
|
@ -1,4 +1,5 @@
|
|
|
|
<!--% PROCESS 'shared-avatar.tpl.html' %-->
|
|
|
|
<!--% PROCESS 'shared-avatar.tpl.html' %-->
|
|
|
|
|
|
|
|
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
|
|
|
<hr>
|
|
|
|
<hr>
|
|
|
|
<article>
|
|
|
|
<article>
|
|
|
|
<header>
|
|
|
|
<header>
|
|
|
@ -28,20 +29,25 @@
|
|
|
|
CASE eps.explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS explicit ,
|
|
|
|
CASE eps.explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS explicit ,
|
|
|
|
eps.date, eps.license, eps.duration,
|
|
|
|
eps.date, eps.license, eps.duration,
|
|
|
|
eps.title, eps.summary, eps.tags,
|
|
|
|
eps.title, eps.summary, eps.tags,
|
|
|
|
eps.series, eps.notes,
|
|
|
|
eps.notes,
|
|
|
|
hosts.local_image,
|
|
|
|
hosts.local_image,
|
|
|
|
hosts.hostid,
|
|
|
|
hosts.hostid,
|
|
|
|
hosts.host, hosts.email
|
|
|
|
hosts.host, hosts.email,
|
|
|
|
FROM eps INNER JOIN hosts ON eps.hostid = hosts.hostid
|
|
|
|
miniseries.name AS series
|
|
|
|
WHERE eps.date BETWEEN date(\'now\', \'-7 days\') AND date(\'now\')
|
|
|
|
FROM eps
|
|
|
|
ORDER BY date DESC ')
|
|
|
|
INNER JOIN hosts ON eps.hostid = hosts.hostid
|
|
|
|
|
|
|
|
INNER JOIN miniseries ON eps.series = miniseries.id
|
|
|
|
|
|
|
|
WHERE eps.date < date(\'now\', \'+1 days\')
|
|
|
|
|
|
|
|
ORDER BY date DESC
|
|
|
|
|
|
|
|
LIMIT 10
|
|
|
|
|
|
|
|
')
|
|
|
|
%-->
|
|
|
|
%-->
|
|
|
|
<hr>
|
|
|
|
<hr>
|
|
|
|
<article>
|
|
|
|
<article>
|
|
|
|
<header>
|
|
|
|
<header>
|
|
|
|
<h1><a href="episodes/hpr<!--% latest_episodes.id %-->.html">hpr<!--% latest_episodes.id %--> :: <!--% latest_episodes.title %--></a></h1>
|
|
|
|
<h1><a href="episodes/hpr<!--% latest_episodes.id %-->.html">hpr<!--% latest_episodes.id %--> :: <!--% latest_episodes.title %--></a></h1>
|
|
|
|
<h3><!--% latest_episodes.summary%--></h3>
|
|
|
|
<h3><!--% latest_episodes.summary%--></h3>
|
|
|
|
<p class="meta"$><img src="./images/<!--% get_avatar(latest_episodes.local_image, latest_episodes.hostid) %-->" height="80" width="80" alt="" /></a><br>Hosted by <a href="correspondents/host<!--% latest_episodes.host_id %-->.html"><!--% latest_episodes.host %--></a> on <!--% latest_episodes.date %--> is flagged as <!--% latest_episodes.explicit %--> and released under a <!--% latest_episodes.license %--> license. <br>
|
|
|
|
<p class="meta"$><img src="./images/<!--% get_avatar(latest_episodes.hostid) %-->" height="80" width="80" alt="" /></a><br>Hosted by <a href="correspondents/<!--% zero_pad_left(latest_episodes.host_id) %-->/index.html"><!--% latest_episodes.host %--></a> on <!--% latest_episodes.date %--> is flagged as <!--% latest_episodes.explicit %--> and released under a <!--% latest_episodes.license %--> license. <br>
|
|
|
|
<strong>Tags:</strong> <!--% latest_episodes.tags %--><em></em>.<br>
|
|
|
|
<strong>Tags:</strong> <!--% latest_episodes.tags %--><em></em>.<br>
|
|
|
|
<small>listen in <a href="local/hpr<!--% latest_episodes.id %-->.ogg">ogg</a>, <a href="local/hpr<!--% latest_episodes.id %-->.spx">spx</a>, or <a href="local/hpr<!--% latest_episodes.id %-->.mp3">mp3</a> format. <!--% show_series(latest_episodes.series) %-->
|
|
|
|
<small>listen in <a href="local/hpr<!--% latest_episodes.id %-->.ogg">ogg</a>, <a href="local/hpr<!--% latest_episodes.id %-->.spx">spx</a>, or <a href="local/hpr<!--% latest_episodes.id %-->.mp3">mp3</a> format. <!--% show_series(latest_episodes.series) %-->
|
|
|
|
<a href="eps.php?id=3628#comments">comments (0)</a></small>
|
|
|
|
<a href="eps.php?id=3628#comments">comments (0)</a></small>
|
|
|
@ -73,12 +79,16 @@ ORDER BY date DESC ')
|
|
|
|
substr(\'0000\' || eps.id, -4, 4) AS [id],
|
|
|
|
substr(\'0000\' || eps.id, -4, 4) AS [id],
|
|
|
|
CASE eps.explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS explicit ,
|
|
|
|
CASE eps.explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS explicit ,
|
|
|
|
eps.date, eps.license, eps.title, eps.summary,
|
|
|
|
eps.date, eps.license, eps.title, eps.summary,
|
|
|
|
eps.series, eps.duration, eps.notes, eps.tags,
|
|
|
|
eps.duration, eps.notes, eps.tags,
|
|
|
|
substr(\'0000\' || hosts.hostid, -4, 4) AS [hostid],
|
|
|
|
substr(\'0000\' || hosts.hostid, -4, 4) AS [hostid],
|
|
|
|
hosts.host, hosts.email, hosts.local_image
|
|
|
|
hosts.host, hosts.email, hosts.local_image,
|
|
|
|
FROM eps INNER JOIN hosts ON eps.hostid = hosts.hostid
|
|
|
|
miniseries.name AS series
|
|
|
|
WHERE eps.date BETWEEN date(\'now\', \'-35 days\') AND date(\'now\', \'-8 days\')
|
|
|
|
FROM eps
|
|
|
|
|
|
|
|
INNER JOIN hosts ON eps.hostid = hosts.hostid
|
|
|
|
|
|
|
|
INNER JOIN miniseries ON eps.series = miniseries.id
|
|
|
|
|
|
|
|
WHERE eps.date < date(\'now\', \'+1 days\')
|
|
|
|
ORDER BY date DESC
|
|
|
|
ORDER BY date DESC
|
|
|
|
|
|
|
|
LIMIT 30 OFFSET 10
|
|
|
|
')
|
|
|
|
')
|
|
|
|
%-->
|
|
|
|
%-->
|
|
|
|
<!--% show_summary(last_5_weeks_episodes) %-->
|
|
|
|
<!--% show_summary(last_5_weeks_episodes) %-->
|
|
|
|