#!/mod/bin/jimsh package require cgi source /mod/webif/lib/setup require epg.class cgi_input set sid [cgi_get sid 0] mheader set records [epg dbfetch dump -service $sid -after [clock seconds]] set tr [lindex $records 0] $tr get_channel_info set day 0 puts "
[$e get text]
" set guidance [$e get warning] if {$guidance ne ""} { puts "$guidance
" } puts "[clock format $st -format "%H:%M"] - [clock format $et -format "%H:%M"]