1
0
forked from HPR/hpr_generator
Files
hpr_generator/templates/content-correspondents.tpl.html
T

34 lines
1.5 KiB
HTML
Raw Normal View History

2022-07-31 21:33:54 -04:00
<!--% PROCESS 'shared-utils.tpl.html' %-->
2023-03-13 23:10:36 -04:00
<!--% PROCESS 'shared-avatar.tpl.html' %-->
2022-06-29 00:48:50 -04:00
<article>
2022-08-07 20:05:39 -04:00
<h2 class="title">Correspondents</h2>
2023-09-03 17:51:03 +02:00
<p>For more information on how to become a Correspondent see our <a href="<!--% absolute_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast">contribute</a></center> page. To add a logo here, either email one to admin at hpr or setup your email on <a href="https://en.gravatar.com/">Gravatar</a>. To protect your browsing privacy we gather the images every hour and serve them directly from HPR.<p />
<!--% USE DBI(constants.driver, constants.user, constants.password) %-->
<!--% host_cnt = 0 %-->
2023-02-12 16:54:17 -05:00
<table class="hosts">
2022-06-29 00:48:50 -04:00
<th >Avatar</th>
<th >Name &amp; Host ID</th>
2023-07-23 17:03:27 +01:00
<th >License</th>
2022-06-29 00:48:50 -04:00
<th >Last Show</th>
<!--% FOREACH host IN DBI.query(
'select h.hostid, h.host, h.license, e.date,
2022-07-31 22:25:15 -04:00
h.local_image
from hosts as h
inner join (select hostid, max(date) as date from eps group by hostid) as e
2023-07-23 17:03:27 +01:00
on h.hostid = e.hostid
order by h.host'
) %-->
<tr>
2023-03-13 23:10:36 -04:00
<td><!--% get_avatar(host.hostid, host.host, host_cnt > 8) %--></td>
2022-06-29 00:48:50 -04:00
2022-08-07 20:05:39 -04:00
<td><strong><!--% host.host %--></strong><br>
2022-06-29 00:48:50 -04:00
2022-08-07 20:04:20 -04:00
Host ID: <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(host.hostid) %-->.html"><!--% host.hostid %--></a></td>
<td><!--% host.license %--></td>
<td><!--% host.date %--></td>
</tr><!--% host_cnt = host_cnt + 1 %-->
2022-06-29 00:48:50 -04:00
<!--% END %-->
</table>
2023-09-03 17:51:03 +02:00
<p><a href="<!--% absolute_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast">Become a Correspondent</a></p>
2022-06-29 00:48:50 -04:00
</article>