チェンジセット 41
- コミット日時:
- 2007/01/19 16:46:18 (18 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/doc/CHANGES.txt
r39 r41 1 1 foltia 更新履歴 http://www.dcc-jpl.com/soft/foltia/ 2 07.1.19 3 reserveepg.php: 4 予約の際に、既に予約があるかの検出を既存予約が[全局録画]の場合検出出来ていなかったのを修正。 5 selectcaptureimage.php: 6 不正PIDのときのエラー処理の追加。 7 2 8 07.1.16 3 9 graytable.css: trunk/install/php/reserveepg.php
r38 r41 64 64 <hr size="4"> 65 65 EPGから下記番組を録画予約します。 <br> 66 <form name="recordingsetting" method="POST" action="reserveepgcomp.php">67 <input type="submit" value="予約" >68 <br>69 66 70 67 … … 125 122 126 123 //重複確認 127 128 $query = " 129 SELECT foltia_program.title,foltia_subtitle.tid,foltia_subtitle.pid 130 FROM foltia_subtitle ,foltia_program ,foltia_tvrecord 131 WHERE startdatetime ='$startfoltime' 132 AND enddatetime = '$endfoltime' 133 AND foltia_subtitle.stationid = '$stationid' 134 AND foltia_program.tid = foltia_subtitle.tid 135 AND foltia_tvrecord.tid = foltia_program.tid 136 AND foltia_tvrecord.stationid = foltia_subtitle.stationid 137 "; 138 124 $query = " 125 SELECT 126 foltia_program .title, 127 foltia_program .tid, 128 stationname, 129 foltia_station.stationid , 130 foltia_subtitle.countno, 131 foltia_subtitle.subtitle, 132 foltia_subtitle.startdatetime , 133 foltia_subtitle.lengthmin , 134 foltia_tvrecord.bitrate , 135 foltia_subtitle.startoffset , 136 foltia_subtitle.pid 137 FROM foltia_subtitle , foltia_program ,foltia_station ,foltia_tvrecord 138 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 139 AND foltia_subtitle.startdatetime ='$startfoltime' 140 AND foltia_subtitle.enddatetime = '$endfoltime' 141 AND foltia_station.stationid = '$stationid' 142 UNION 143 SELECT 144 foltia_program .title, 145 foltia_program .tid, 146 stationname, 147 foltia_station.stationid , 148 foltia_subtitle.countno, 149 foltia_subtitle.subtitle, 150 foltia_subtitle.startdatetime , 151 foltia_subtitle.lengthmin , 152 foltia_tvrecord.bitrate , 153 foltia_subtitle.startoffset , 154 foltia_subtitle.pid 155 FROM foltia_tvrecord 156 LEFT OUTER JOIN foltia_subtitle on (foltia_tvrecord.tid = foltia_subtitle.tid ) 157 LEFT OUTER JOIN foltia_program on (foltia_tvrecord.tid = foltia_program.tid ) 158 LEFT OUTER JOIN foltia_station on (foltia_subtitle.stationid = foltia_station.stationid ) 159 WHERE foltia_tvrecord.stationid = 0 160 AND foltia_subtitle.startdatetime ='$startfoltime' 161 AND foltia_subtitle.enddatetime = '$endfoltime' 162 AND foltia_station.stationid = '$stationid' 163 "; 164 165 166 139 167 $rs = m_query($con, $query, "DBクエリに失敗しました"); 140 168 $maxrows = pg_num_rows($rs); 141 169 170 //print "<!--$query \n $maxrows\n -->"; 171 172 print "<form name=\"recordingsetting\" method=\"POST\" action=\"reserveepgcomp.php\">\n"; 173 142 174 if ($maxrows == 0) { 143 175 //重複なし 176 print "<input type=\"submit\" value=\"予約\" ><br>\n"; 144 177 }else{ 145 178 $chkoverwrap = pg_fetch_row($rs, 0); … … 147 180 $tid = htmlspecialchars($chkoverwrap[1]); 148 181 $pid = htmlspecialchars($chkoverwrap[2]); 149 print "< strong>この番組は既に予約済みです。</strong> \n";182 print "<input type=\"submit\" value=\"それでも予約\" ><br><strong>この番組は既に予約済みです。</strong> \n"; 150 183 if ($tid > 1){ 151 184 print "予約番組名:<a href=\"http://cal.syoboi.jp/tid/$tid/time/#$pid\" target=\"_blank\">$prereservedtitle</a><br>\n"; trunk/install/php/selectcaptureimage.php
r37 r41 66 66 "; 67 67 $rs = m_query($con, $query, "DBクエリに失敗しました"); 68 $rowdata = pg_fetch_row($rs, 0); 68 $rows = pg_num_rows($rs); 69 if ($rows == 0){ 70 print " <p align=\"left\"><font color=\"#494949\" size=\"6\">キャプチャ画像</font></p> 71 <hr size=\"4\"> 72 <p align=\"left\"> 73 録画記録がありません。<br> 74 "; 75 76 }else{ 77 $rowdata = pg_fetch_row($rs, 0); 69 78 70 79 print " <p align=\"left\"><font color=\"#494949\" size=\"6\">キャプチャ画像</font></p> … … 105 114 }//foreach 106 115 // タイトル一覧 ここまで 116 }//if rowdata == 0 107 117 108 // ファイル一覧 ここから109 118 ?> 110 111 112 113 119 114 120 </body>