2022-11-29 00:52:39 +00:00
|
|
|
<!--% query_hpr_shows = '
|
2024-09-10 01:36:36 +00:00
|
|
|
SELECT
|
2024-03-04 18:30:59 +00:00
|
|
|
eps.id,
|
2024-05-18 14:54:52 +00:00
|
|
|
eps.explicit,
|
2022-11-29 00:52:39 +00:00
|
|
|
eps.date, eps.license, eps.duration,
|
2024-03-04 18:30:59 +00:00
|
|
|
eps.title, eps.summary, eps.tags,
|
2022-11-29 00:52:39 +00:00
|
|
|
eps.notes,
|
|
|
|
hosts.local_image,
|
2024-03-04 18:30:59 +00:00
|
|
|
hosts.hostid,
|
|
|
|
hosts.host, hosts.email, hosts.profile,
|
2022-11-29 00:52:39 +00:00
|
|
|
miniseries.name AS series, miniseries.id AS seriesid
|
2024-03-04 18:30:59 +00:00
|
|
|
FROM eps
|
|
|
|
INNER JOIN hosts ON eps.hostid = hosts.hostid
|
2022-11-29 00:52:39 +00:00
|
|
|
INNER JOIN miniseries ON eps.series = miniseries.id
|
2024-03-04 18:30:59 +00:00
|
|
|
WHERE hosts.hostid = ? AND eps.date < DATE_ADD(NOW(), INTERVAL 1 DAY)
|
|
|
|
ORDER BY eps.id DESC
|
2022-11-29 00:52:39 +00:00
|
|
|
'
|
|
|
|
%-->
|
2024-09-08 16:00:23 +00:00
|
|
|
<!--% query_hpr_show_count = '
|
2024-09-10 01:36:36 +00:00
|
|
|
SELECT id
|
|
|
|
FROM eps
|
|
|
|
WHERE eps.hostid = ? AND eps.date < DATE_ADD(NOW(), INTERVAL 1 DAY)
|
|
|
|
'
|
2024-09-08 16:00:23 +00:00
|
|
|
%-->
|