[TV Guide | Show Search]

= 0 && $start < 24)) $start = (2*date('g') + ((date('i') >= 25) ? 1 : 0)) % 24; if (!isset($_GET['ap'])) $ap = (date('a') == 'pm'); if (!isset($_GET['size']) || !($size >= 0 && $size <= 2)) $size = 1; /* 0 = 2h, 1 = 4h, 2 = 6h */ if (!isset($_GET['wkday']) || !($wkday >= 0 && $wkday < 7)) $wkday = 0; #echo "\n"; echo "
View shows starting at \n"; } else { echo " selected>AM\n\t\n\n"; } echo ", for the next hours, for
"; //$lineup_start = mktime($start_h, $start_m, $start_s, $start_m, $start_d, $start_y); $lineup_start = mktime(floor($start / 2) + (($ap) ? 12 : 0), 30 * ($start % 2), 0, date('n'), date('j') + $wkday); // search "start" time $lineup_end = $lineup_start + 7200*($size + 1); /* ($size+1) * 2 hours*/ #echo ""; print_lineup($lineup_start, $lineup_end, $seconds_per_pixel, $station_width, $border, $padding, $height, $timebar_height, $ie); ?>