2022-08-01 03:09:00 +00:00
|
|
|
<!--% PROCESS 'shared-episode-summary.tpl.html' %-->
|
2022-08-01 02:25:15 +00:00
|
|
|
<!--% PROCESS 'shared-avatar.tpl.html' %-->
|
2022-08-06 13:59:31 +00:00
|
|
|
<!--% PROCESS 'shared-utils.tpl.html' %-->
|
2022-08-01 03:09:00 +00:00
|
|
|
<!--% USE DBI(constants.driver, constants.user, constants.password) %-->
|
2022-09-17 21:28:39 +00:00
|
|
|
<!--% query_hpr_show_count = DBI.prepare('
|
2022-08-01 03:09:00 +00:00
|
|
|
SELECT id
|
|
|
|
FROM eps
|
|
|
|
WHERE eps.hostid = ? ')
|
|
|
|
%-->
|
2022-09-17 21:28:39 +00:00
|
|
|
<!--% query_hpr_shows = DBI.prepare('
|
2022-08-01 03:09:00 +00:00
|
|
|
SELECT
|
2022-08-05 16:07:36 +00:00
|
|
|
eps.id,
|
2022-08-01 03:09:00 +00:00
|
|
|
CASE eps.explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS explicit ,
|
|
|
|
eps.date, eps.license, eps.duration,
|
|
|
|
eps.title, eps.summary, eps.tags,
|
2022-08-05 16:07:36 +00:00
|
|
|
eps.notes,
|
2022-08-01 03:09:00 +00:00
|
|
|
hosts.local_image,
|
2022-08-05 16:07:36 +00:00
|
|
|
hosts.hostid,
|
|
|
|
hosts.host, hosts.email,
|
2022-08-06 14:01:30 +00:00
|
|
|
miniseries.name AS series, miniseries.id AS seriesid
|
2022-08-05 16:07:36 +00:00
|
|
|
FROM eps
|
|
|
|
INNER JOIN hosts ON eps.hostid = hosts.hostid
|
|
|
|
INNER JOIN miniseries ON eps.series = miniseries.id
|
2022-08-09 22:18:04 +00:00
|
|
|
WHERE hosts.hostid = ? AND eps.date < date(\'now\', \'+1 days\')
|
2022-09-22 01:18:48 +00:00
|
|
|
ORDER BY eps.id + 0 DESC ')
|
2022-08-01 03:09:00 +00:00
|
|
|
%-->
|
2022-09-17 21:28:39 +00:00
|
|
|
<!--% hpr_shows_to_count = query_hpr_show_count.execute(id); %-->
|
|
|
|
<!--% hpr_shows = query_hpr_shows.execute(id); %-->
|
|
|
|
<!--% hpr_show_count = 0 %-->
|
|
|
|
<!--% FOREACH show IN hpr_shows_to_count %-->
|
|
|
|
<!--% hpr_show_count = hpr_show_count +1; %-->
|
2022-08-01 03:09:00 +00:00
|
|
|
<!--% END %-->
|
2022-09-17 21:28:39 +00:00
|
|
|
|
|
|
|
<!--% query_twat_show_count = DBI.prepare('
|
|
|
|
SELECT id
|
|
|
|
FROM twat_eps AS \'eps\'
|
|
|
|
WHERE eps.hostid = ? ')
|
|
|
|
%-->
|
|
|
|
<!--% query_twat_shows = DBI.prepare('
|
|
|
|
SELECT
|
|
|
|
eps.id,
|
|
|
|
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,
|
|
|
|
hosts.local_image,
|
|
|
|
hosts.hostid,
|
|
|
|
hosts.host, hosts.email,
|
|
|
|
miniseries.name AS series, miniseries.id AS seriesid
|
|
|
|
FROM twat_eps AS eps
|
|
|
|
INNER JOIN hosts ON eps.hostid = hosts.hostid
|
|
|
|
INNER JOIN miniseries ON eps.series = miniseries.id
|
|
|
|
WHERE hosts.hostid = ?
|
2022-09-22 01:18:48 +00:00
|
|
|
ORDER BY eps.id + 0 DESC
|
2022-09-17 21:28:39 +00:00
|
|
|
')
|
|
|
|
%-->
|
|
|
|
<!--% twat_shows_to_count = query_twat_show_count.execute(id); %-->
|
|
|
|
<!--% twat_shows = query_twat_shows.execute(id); %-->
|
|
|
|
<!--% twat_show_count = 0 %-->
|
|
|
|
<!--% FOREACH show IN twat_shows_to_count %-->
|
|
|
|
<!--% twat_show_count = twat_show_count +1; %-->
|
|
|
|
<!--% END %-->
|
|
|
|
|
2022-08-01 03:09:00 +00:00
|
|
|
<!--% hosts = DBI.tie('hosts', 'hostid') %-->
|
|
|
|
|
2022-07-29 02:04:15 +00:00
|
|
|
<article>
|
2022-08-01 03:09:00 +00:00
|
|
|
<!--% this_host = hosts.$id %-->
|
2022-07-29 02:04:15 +00:00
|
|
|
<h2 class="title">Correspondent</h2>
|
2022-08-01 03:09:00 +00:00
|
|
|
<h2><!--% this_host.host %--></h2>
|
2022-08-05 19:49:00 +00:00
|
|
|
<p><img src="<!--% absolute_path(baseurl) %-->images/<!--% get_avatar(this_host.hostid) %-->"
|
2022-08-01 02:25:15 +00:00
|
|
|
height="80" alt="Host Image" /><br>
|
2022-08-01 03:09:00 +00:00
|
|
|
<label>Host ID</label>: <!--% this_host.hostid %--><br><br>
|
|
|
|
<label>email:</label> <u><!--% this_host.email %--></u><br>
|
2022-09-17 21:28:39 +00:00
|
|
|
<label>episodes:</label> <strong><!--% hpr_show_count + twat_show_count %--></strong>
|
2022-07-29 02:04:15 +00:00
|
|
|
</p>
|
2022-09-17 21:28:39 +00:00
|
|
|
<!--% FOREACH hpr_show IN hpr_shows; %-->
|
|
|
|
|
|
|
|
<!--% show_summary(hpr_show, 'hide_host') %-->
|
|
|
|
<!--% END %-->
|
|
|
|
<!--% FOREACH twat_show IN twat_shows; %-->
|
2022-08-01 03:09:00 +00:00
|
|
|
|
2022-09-17 21:28:39 +00:00
|
|
|
<!--% twat_show_summary(twat_show, 'hide_host') %-->
|
2022-08-01 03:09:00 +00:00
|
|
|
<!--% END %-->
|
2022-07-29 02:04:15 +00:00
|
|
|
</article>
|
2022-08-01 03:09:00 +00:00
|
|
|
<p><a href="contribute.html">Become a Correspondent</a></p>
|