forked from HPR/hpr_generator
		
	Added host profile to the correspondent display
templates/queries-correspondent-mysql.tpl.html,
templates/queries-correspondent-sqlite.tpl.html: enhanced the queries to
    include the 'profile' field.
templates/content-correspondent.tpl.html: the 'profile' string from
    whichever of the above two queries is invoked is displayed after the
    (obscured) 'email' address
			
			
This commit is contained in:
		| @@ -33,7 +33,7 @@ | ||||
| 		eps.notes, | ||||
| 		hosts.local_image, | ||||
| 		hosts.hostid, | ||||
| 		hosts.host, hosts.email, | ||||
| 		hosts.host, hosts.email, hosts.profile, | ||||
| 		miniseries.name AS series, miniseries.id AS seriesid | ||||
| 	FROM twat_eps AS eps | ||||
| 	INNER JOIN hosts ON eps.hostid = hosts.hostid | ||||
| @@ -58,6 +58,7 @@ | ||||
| 		<p><!--% get_avatar(this_host.hostid, this_host.host) %--><br> | ||||
| 		<label>Host ID</label>: <!--% this_host.hostid %--><br><br> | ||||
| 		<label>email:</label> <u><!--% this_host.email %--></u><br> | ||||
| 		<label>profile:</label> <!--% this_host.profile %--><br><br> | ||||
| 		<label>episodes:</label> <strong><!--% hpr_show_count + twat_show_count %--></strong> | ||||
| 		</p> | ||||
| 	<!--% FOREACH hpr_show IN hpr_shows; %--> | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
| 		eps.notes, | ||||
| 		hosts.local_image, | ||||
| 		hosts.hostid, | ||||
| 		hosts.host, hosts.email, | ||||
| 		hosts.host, hosts.email, hosts.profile, | ||||
| 		miniseries.name AS series, miniseries.id AS seriesid | ||||
| 	FROM eps | ||||
| 	INNER JOIN hosts ON eps.hostid = hosts.hostid | ||||
|   | ||||
| @@ -1,13 +1,13 @@ | ||||
| <!--% query_hpr_shows = ' | ||||
| 		SELECT | ||||
| 		eps.id, | ||||
| 		CASE eps.explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS explicit ,  | ||||
| 		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, | ||||
| 		hosts.host, hosts.email, hosts.profile, | ||||
| 		miniseries.name AS series, miniseries.id AS seriesid | ||||
| 	FROM eps | ||||
| 	INNER JOIN hosts ON eps.hostid = hosts.hostid | ||||
|   | ||||
		Reference in New Issue
	
	Block a user