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-11-29 00:52:39 +00:00
|
|
|
<!--% PROCESS "queries-correspondent-${constants.database}.tpl.html" %-->
|
2022-08-01 03:09:00 +00:00
|
|
|
<!--% USE DBI(constants.driver, constants.user, constants.password) %-->
|
2022-11-29 00:52:39 +00:00
|
|
|
<!--% results_hpr_shows = DBI.prepare(query_hpr_shows)
|
2022-08-01 03:09:00 +00:00
|
|
|
%-->
|
2024-09-08 16:00:23 +00:00
|
|
|
<!--% results_hpr_show_count = DBI.prepare(query_hpr_show_count) %-->
|
|
|
|
<!--% hpr_shows_to_count = results_hpr_show_count.execute(id); %-->
|
2022-11-29 00:52:39 +00:00
|
|
|
<!--% hpr_shows = results_hpr_shows.execute(id); %-->
|
2022-09-17 21:28:39 +00:00
|
|
|
<!--% 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
|
2022-10-21 23:46:31 +00:00
|
|
|
FROM twat_eps AS eps
|
|
|
|
WHERE eps.hostid = ?
|
|
|
|
')
|
2022-09-17 21:28:39 +00:00
|
|
|
%-->
|
|
|
|
<!--% query_twat_shows = DBI.prepare('
|
2024-03-04 18:30:59 +00:00
|
|
|
SELECT
|
|
|
|
eps.id,
|
|
|
|
CASE eps.explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS explicit ,
|
2022-09-17 21:28:39 +00:00
|
|
|
eps.date, eps.license, eps.duration,
|
2024-03-04 18:30:59 +00:00
|
|
|
eps.title, eps.summary, eps.tags,
|
2022-09-17 21:28: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-09-17 21:28:39 +00:00
|
|
|
miniseries.name AS series, miniseries.id AS seriesid
|
|
|
|
FROM twat_eps AS eps
|
2024-03-04 18:30:59 +00:00
|
|
|
INNER JOIN hosts ON eps.hostid = hosts.hostid
|
2022-09-17 21:28:39 +00:00
|
|
|
INNER JOIN miniseries ON eps.series = miniseries.id
|
|
|
|
WHERE hosts.hostid = ?
|
2022-10-21 23:46:31 +00:00
|
|
|
ORDER BY eps.id 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>
|
2023-03-14 03:13:25 +00:00
|
|
|
<p><!--% get_avatar(this_host.hostid, this_host.host) %--><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>
|
2024-03-04 18:30:59 +00:00
|
|
|
<label>profile:</label> <!--% this_host.profile %--><br><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; %-->
|
|
|
|
|
2023-04-02 11:24:43 +00:00
|
|
|
<!--% show_summary(hpr_show, 'hide_host') %-->
|
|
|
|
<p class="listen-in"><!--% display_listen_in(hpr_show.id) %--></p>
|
|
|
|
<!--% END %-->
|
2022-09-17 21:28:39 +00:00
|
|
|
<!--% 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') %-->
|
2023-04-02 11:24:43 +00:00
|
|
|
<p class="listen-in"><!--% display_listen_in(twat_show.id,"twat") %--></p>
|
2022-08-01 03:09:00 +00:00
|
|
|
<!--% END %-->
|
2022-07-29 02:04:15 +00:00
|
|
|
</article>
|
2023-09-03 15:51:03 +00:00
|
|
|
<p><a href="<!--% absolute_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast">Become a Correspondent</a></p>
|