<!--% query_episodes = 'SELECT 
        eps.id, 
        eps.explicit, 
        eps.date, eps.license, eps.title, eps.summary, 
		eps.duration, eps.notes, eps.tags,
        hosts.hostid, 
        hosts.host, hosts.email, hosts.local_image, 
		miniseries.name AS series, miniseries.id AS seriesid
    FROM eps 
	INNER JOIN hosts ON eps.hostid = hosts.hostid 
	INNER JOIN miniseries ON eps.series = miniseries.id
 	WHERE eps.date < DATE_ADD(NOW(), INTERVAL 1 DAY)
	ORDER BY eps.id DESC'
%-->

