diff -r mythweb.orig/includes/init.php mythweb.wap/includes/init.php 104a105,106 > elseif (strpos(strtoupper($_SERVER['HTTP_USER_AGENT']),"BLAZER") > 0) > define('Theme', 'wap'); diff -r mythweb.orig/program_listing.php mythweb.wap/program_listing.php 15c15,20 < if ($_GET['time']) --- > if ($_GET['time'] && isset($_GET['date'])) { > $dt=getdate((int)$_GET['time']); > $list_starttime = unixtime(sprintf('%08d%02d%02d00', $_GET['date'], $dt['hours'], $dt['minutes'])); > } > // Were we passed a timestamp? This is going to be the most common occurrence > elseif ($_GET['time']) diff -r mythweb.orig/themes/wap/program_listing.php mythweb.wap/themes/wap/program_listing.php 29,34c29,36 < $day=getdate($start_time); > $start=$start_time - $day['hours'] * 60 * 60 - $day['minutes'] * 60; > for ($t=0;$t<48;$t++) { > echo "'; 107,108c109,111 < channum : $channel->callsign?>  < callsign : $channel->channum?>
--- > channum : $chann->callsign?>  > callsign : $channel->channum?> > programs[0]->title?>
111a115 >