チェンジセット 63: trunk/install/php
- コミット日時:
- 2007/09/25 14:39:29 (17 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/install/php/listreserve.php
r52 r63 11 11 引数 12 12 r:録画デバイス数 13 startdate:特定日付からの予約状況。YYYYmmddHHii形式で。表示数に限定かけてないのでレコード数が大量になると重くなるかも知れません。 14 13 15 14 16 DCC-JPL Japan/foltia project … … 31 33 $con = m_connect(); 32 34 33 $now = date("YmdHi"); 34 35 $now = getgetnumform(startdate); 36 if ($now > 200501010000){ 37 }else{ 38 $now = date("YmdHi"); 39 } 35 40 $query = " 36 41 SELECT … … 146 151 FROM foltia_subtitle , foltia_program ,foltia_station ,foltia_tvrecord 147 152 WHERE foltia_tvrecord.tid = foltia_program.tid AND foltia_tvrecord.stationid = foltia_station .stationid AND foltia_program.tid = foltia_subtitle.tid AND foltia_station.stationid = foltia_subtitle.stationid 148 AND foltia_subtitle.enddatetime > ='$rowdata[5]'149 AND foltia_subtitle.startdatetime < ='$endtime'153 AND foltia_subtitle.enddatetime > '$rowdata[5]' 154 AND foltia_subtitle.startdatetime < '$endtime' 150 155 UNION 151 156 SELECT … … 165 170 LEFT OUTER JOIN foltia_station on (foltia_subtitle.stationid = foltia_station.stationid ) 166 171 WHERE foltia_tvrecord.stationid = 0 AND 167 foltia_subtitle.enddatetime > ='$rowdata[5]'168 AND foltia_subtitle.startdatetime < ='$endtime'172 foltia_subtitle.enddatetime > '$rowdata[5]' 173 AND foltia_subtitle.startdatetime < '$endtime' 169 174 "; 170 175 $rclass = "";