forked from HPR/hpr_generator
		
	Remove MySQL specific code from site generation code
- site-generator is generic, so no changes. - removed mysql information from site.cfg. - Updated template files to call sqlite queries directly. - Renamed the query files - remove sqlite from file names. - Deleted MySQL specific template files.
This commit is contained in:
		
							
								
								
									
										15
									
								
								templates/queries-episodes.tpl.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								templates/queries-episodes.tpl.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| <!--% 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(\'now\') | ||||
|         ORDER BY eps.id + 0 DESC' | ||||
| %--> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user