#!/mod/bin/jimsh package require cgi source /mod/webif/lib/setup require epg.class header set service [cgi_get service] set event [cgi_get event] set raw [cgi_get raw] puts "
"
if { $raw == 0 } {
	puts [epg exec dump -raw 1 -service $service -event $event]
	puts "
		Click here for extended dump"
} else {
	puts [epg exec dumpraw -raw 1 -service $service -event $event]
}

puts "
" epg cleanup footer