2022-08-17 21:12:47 +00:00
|
|
|
<!--% USE DBI(constants.driver, constants.user, constants.password) %-->
|
|
|
|
<!--% query_hpr_feed = DBI.prepare('
|
|
|
|
SELECT
|
|
|
|
eps.id,
|
|
|
|
eps.explicit,
|
2023-02-21 03:36:30 +00:00
|
|
|
strftime(\'%H:%M:%S %d:%m:%Y\', date(eps.date)) AS date,
|
2022-08-17 21:12:47 +00:00
|
|
|
eps.license, eps.duration,
|
|
|
|
eps.title, eps.summary, eps.tags,
|
|
|
|
eps.notes,
|
|
|
|
hosts.local_image,
|
|
|
|
hosts.hostid,
|
|
|
|
hosts.host, hosts.email,
|
|
|
|
miniseries.name AS series, miniseries.id AS seriesid
|
|
|
|
FROM eps
|
|
|
|
INNER JOIN hosts ON eps.hostid = hosts.hostid
|
|
|
|
INNER JOIN miniseries ON eps.series = miniseries.id
|
2023-02-21 03:36:30 +00:00
|
|
|
WHERE eps.date < date(\'now\', \'+1 days\')
|
2022-08-17 21:12:47 +00:00
|
|
|
ORDER BY eps.date DESC
|
|
|
|
LIMIT 10
|
|
|
|
')
|
|
|
|
%-->
|
|
|
|
<!--% feed_result = query_hpr_feed.execute() %-->
|
|
|
|
|