comparison programTable.php @ 67:a2c4665b310c

add: CS support (thanks to dakku)
author Sushi-k <epgrec@park.mda.or.jp>
date Wed, 21 Oct 2009 16:51:24 +0900
parents 73350e16077a
children cb7da56c4198
comparison
equal deleted inserted replaced
65:f8af9716f021 67:a2c4665b310c
108 $arr = array(); 108 $arr = array();
109 $arr['name'] = "BS"; 109 $arr['name'] = "BS";
110 $arr['value'] = "BS"; 110 $arr['value'] = "BS";
111 $arr['selected'] = $type == "BS" ? "selected" : ""; 111 $arr['selected'] = $type == "BS" ? "selected" : "";
112 array_push( $types, $arr ); 112 array_push( $types, $arr );
113
114 // CS
115 if ($settings->cs_rec_flg != 0) {
116 $arr = array();
117 $arr['name'] = "CS";
118 $arr['value'] = "CS";
119 $arr['selected'] = $type == "CS" ? "selected" : "";
120 array_push( $types, $arr );
121 }
113 } 122 }
114 123
115 $k_station_name = ""; 124 $k_station_name = "";
116 $crecs = DBRecord::createRecords(CHANNEL_TBL); 125 $crecs = DBRecord::createRecords(CHANNEL_TBL);
117 $stations = array(); 126 $stations = array();