チェンジセット 120
- コミット日時:
- 2010/10/04 18:35:03 (14 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/install/perl/xmltv2foltia.pl
r111 r120 224 224 $foltiaendtime = substr($foltiaendtime,0,12); # 12桁 200508072355 225 225 226 $sth = $dbh->prepare($stmt{'xmltv2foltia.replaceepg.1'}); 227 $sth->execute($foltiastarttime , $foltiaendtime , $ontvepgchannel); 226 #$sth = $dbh->prepare($stmt{'xmltv2foltia.replaceepg.1'}); 227 my $now = &epoch2foldate(time()); 228 $sth = $dbh->prepare( "SELECT * FROM foltia_epg WHERE enddatetime > ? AND startdatetime < ? AND ontvchannel = ? AND startdatetime > ?"); 229 $sth->execute($foltiastarttime , $foltiaendtime , $ontvepgchannel,$now); 228 230 229 231 while (@data = $sth->fetchrow_array()) { trunk/install/php/viewepg.php
r119 r120 19 19 include("./foltialib.php"); 20 20 $con = m_connect(); 21 21 $epgviewstyle = 1;// 0だと終了時刻も表示 22 22 if ($useenvironmentpolicy == 1){ 23 23 if (!isset($_SERVER['PHP_AUTH_USER'])) { … … 152 152 ///////////////////////////////////////////////////////////////// 153 153 //表示部分 154 print"154 $navigationbar = " 155 155 156 156 [<A HREF=\"./viewepg.php\">現在</A>] | … … 174 174 <A HREF=\"./viewepg.php?p=$page&start=$day6after\">$day6</A> | 175 175 <A HREF=\"./viewepg.php?p=$page&start=$day7after\">$day7</A> | <BR>\n"; 176 print "$navigationbar"; 176 177 /////////////////////////////////////////////////////////////////// 177 178 … … 274 275 $desc = $stationrowdata[4]; 275 276 $desc = htmlspecialchars(z2h($desc)); 277 278 if ($epgviewstyle){ 279 $desc=$desc ."<br><br><!-- ". htmlspecialchars(foldate2print($stationrowdata[1])) ."-->"; 280 }else{ 281 $desc=$desc ."<br><br>". htmlspecialchars(foldate2print($stationrowdata[1])) ; 282 } 283 284 276 285 $height = htmlspecialchars($stationrowdata[2]) * 3; 277 286 $epgid = htmlspecialchars($stationrowdata[7]); … … 360 369 print "</table>\n"; 361 370 362 ?> 363 371 print "<p align=\"left\"> $navigationbar </p>"; 372 ?> 364 373 <hr> 365 374 凡例