comparison index.php @ 77:cb7da56c4198

modified: Keyword.class.php modified: config.php.sample modified: index.php modified: install/step1.php modified: keywordTable.php modified: programTable.php modified: simpleReservation.php modified: templates/index.html modified: templates/keywordTable.html modified: templates/programTable.html
author Sushi-k <epgrec@park.mda.or.jp>
date Wed, 24 Feb 2010 20:22:19 +0900
parents 69e0dabc765a
children cb04c9ca1cb0
comparison
equal deleted inserted replaced
76:69e0dabc765a 77:cb7da56c4198
59 foreach( $channel_map as $channel_disc => $channel ) { 59 foreach( $channel_map as $channel_disc => $channel ) {
60 $prev_end = $top_time; 60 $prev_end = $top_time;
61 try { 61 try {
62 $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $channel_disc ); 62 $crec = new DBRecord( CHANNEL_TBL, "channel_disc", $channel_disc );
63 $programs[$st]["station_name"] = $crec->name; 63 $programs[$st]["station_name"] = $crec->name;
64 $programs[$st]["channel_disc"] = $crec->channel_disc;
64 65
65 $reca = $prec->fetch_array( "channel_disc", $channel_disc, 66 $reca = $prec->fetch_array( "channel_disc", $channel_disc,
66 "endtime > '".toDatetime($top_time)."' ". 67 "endtime > '".toDatetime($top_time)."' ".
67 "AND starttime < '". toDatetime($last_time)."' ". 68 "AND starttime < '". toDatetime($last_time)."' ".
68 "ORDER BY starttime ASC " 69 "ORDER BY starttime ASC "