|
|
|
@ -1,5 +1,4 @@
|
|
|
|
|
<!--% PROCESS 'shared-avatar.tpl.html' %-->
|
|
|
|
|
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
|
|
|
|
<hr>
|
|
|
|
|
<article>
|
|
|
|
|
<header>
|
|
|
|
@ -29,25 +28,20 @@
|
|
|
|
|
CASE eps.explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS explicit ,
|
|
|
|
|
eps.date, eps.license, eps.duration,
|
|
|
|
|
eps.title, eps.summary, eps.tags,
|
|
|
|
|
eps.notes,
|
|
|
|
|
eps.series, eps.notes,
|
|
|
|
|
hosts.local_image,
|
|
|
|
|
hosts.hostid,
|
|
|
|
|
hosts.host, hosts.email,
|
|
|
|
|
miniseries.name AS series
|
|
|
|
|
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
|
|
|
|
|
LIMIT 10
|
|
|
|
|
')
|
|
|
|
|
hosts.host, hosts.email
|
|
|
|
|
FROM eps INNER JOIN hosts ON eps.hostid = hosts.hostid
|
|
|
|
|
WHERE eps.date BETWEEN date(\'now\', \'-7 days\') AND date(\'now\')
|
|
|
|
|
ORDER BY date DESC ')
|
|
|
|
|
%-->
|
|
|
|
|
<hr>
|
|
|
|
|
<article>
|
|
|
|
|
<header>
|
|
|
|
|
<h1><a href="episodes/hpr<!--% latest_episodes.id %-->.html">hpr<!--% latest_episodes.id %--> :: <!--% latest_episodes.title %--></a></h1>
|
|
|
|
|
<h3><!--% latest_episodes.summary%--></h3>
|
|
|
|
|
<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>
|
|
|
|
|
<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>
|
|
|
|
|
<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) %-->
|
|
|
|
|
<a href="eps.php?id=3628#comments">comments (0)</a></small>
|
|
|
|
@ -79,16 +73,12 @@
|
|
|
|
|
substr(\'0000\' || eps.id, -4, 4) AS [id],
|
|
|
|
|
CASE eps.explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS explicit ,
|
|
|
|
|
eps.date, eps.license, eps.title, eps.summary,
|
|
|
|
|
eps.duration, eps.notes, eps.tags,
|
|
|
|
|
eps.series, eps.duration, eps.notes, eps.tags,
|
|
|
|
|
substr(\'0000\' || hosts.hostid, -4, 4) AS [hostid],
|
|
|
|
|
hosts.host, hosts.email, hosts.local_image,
|
|
|
|
|
miniseries.name AS series
|
|
|
|
|
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\')
|
|
|
|
|
hosts.host, hosts.email, hosts.local_image
|
|
|
|
|
FROM eps INNER JOIN hosts ON eps.hostid = hosts.hostid
|
|
|
|
|
WHERE eps.date BETWEEN date(\'now\', \'-35 days\') AND date(\'now\', \'-8 days\')
|
|
|
|
|
ORDER BY date DESC
|
|
|
|
|
LIMIT 30 OFFSET 10
|
|
|
|
|
')
|
|
|
|
|
%-->
|
|
|
|
|
<!--% show_summary(last_5_weeks_episodes) %-->
|
|
|
|
|