Mercurial > epgrec.yaz
comparison index.php @ 57:73350e16077a
fix: bug
author | Sushi-k <epgrec@park.mda.or.jp> |
---|---|
date | Wed, 29 Jul 2009 10:51:38 +0900 |
parents | 31f73a50ae33 |
children | 80dc62c94185 |
comparison
equal
deleted
inserted
replaced
56:be9e4520cfec | 57:73350e16077a |
---|---|
144 | 144 |
145 | 145 |
146 // タイプ選択 | 146 // タイプ選択 |
147 $types = array(); | 147 $types = array(); |
148 $i = 0; | 148 $i = 0; |
149 if( $settings->bs_tuners ) { | 149 if( $settings->bs_tuners != 0 ) { |
150 $types[$i]['selected'] = $type == "BS" ? 'class="selected"' : ""; | 150 $types[$i]['selected'] = $type == "BS" ? 'class="selected"' : ""; |
151 $types[$i]['link'] = $_SERVER['SCRIPT_NAME'] . "?type=BS&length=".$program_length."&time=".date( "YmdH", $top_time); | 151 $types[$i]['link'] = $_SERVER['SCRIPT_NAME'] . "?type=BS&length=".$program_length."&time=".date( "YmdH", $top_time); |
152 $types[$i]['name'] = "BS"; | 152 $types[$i]['name'] = "BS"; |
153 $i++; | 153 $i++; |
154 } | 154 } |
155 if( $settings->gr_tuners ) { | 155 if( $settings->gr_tuners != 0 ) { |
156 $types[$i]['selected'] = $type == "GR" ? 'class="selected"' : ""; | 156 $types[$i]['selected'] = $type == "GR" ? 'class="selected"' : ""; |
157 $types[$i]['link'] = $_SERVER['SCRIPT_NAME'] . "?type=GR&length=".$program_length."&time=".date( "YmdH", $top_time); | 157 $types[$i]['link'] = $_SERVER['SCRIPT_NAME'] . "?type=GR&length=".$program_length."&time=".date( "YmdH", $top_time); |
158 $types[$i]['name'] = "地上デジタル"; | 158 $types[$i]['name'] = "地上デジタル"; |
159 $i++; | 159 $i++; |
160 } | 160 } |