チェンジセット 97: trunk/install/php
- コミット日時:
- 2010/04/02 22:58:58 (15 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/install/php/deletemovie.php
r94 r97 82 82 $filesplit = split("-",$fName); 83 83 84 /* 84 85 if ($filesplit[1] == ""){ 85 86 $query = " … … 90 91 AND foltia_subtitle.tid = ? 91 92 "; 92 //$rs = m_query($con, $query, "DBクエリに失敗しました");93 93 $rs = sql_query($con, $query, "DBクエリに失敗しました",array($filesplit[0])); 94 94 $rall = $rs->fetchAll(); 95 $rowdata = $rall[$row];96 //print" $fName./$rowdata[1]//$rowdata[2]<BR>\n";95 //$rowdata = $rall[$row]; 96 $rowdata = $rall[0]; 97 97 $title = $rowdata[1]; 98 98 $subtitle = ""; 99 99 $count = ""; 100 }else{ 100 */ 101 //}else{ 101 102 102 103 $query = " 103 SELECT 104 foltia_program.tid,foltia_program.title,foltia_subtitle.countno,foltia_subtitle.subtitle 105 FROM foltia_subtitle , foltia_program 106 WHERE foltia_program.tid = foltia_subtitle.tid 107 AND foltia_subtitle.tid = ? 108 AND foltia_subtitle.countno = ? 104 SELECT foltia_program.tid,foltia_program.title,foltia_subtitle.countno,foltia_subtitle.subtitle 105 FROM foltia_subtitle , foltia_program 106 WHERE foltia_program.tid = foltia_subtitle.tid 107 AND foltia_subtitle.m2pfilename = ? 109 108 "; 109 110 110 //$rs = m_query($con, $query, "DBクエリに失敗しました"); 111 $rs = sql_query($con, $query, "DBクエリに失敗しました",array($filesplit[0] ,$filesplit[1])); 111 //$rs = sql_query($con, $query, "DBクエリに失敗しました",array($filesplit[0] ,$filesplit[1])); 112 $rs = sql_query($con, $query, "DBクエリに失敗しました",array($fName)); 112 113 $rall = $rs->fetchAll(); 113 $rowdata = $rall[$row]; 114 //$rowdata = $rall[$row]; 115 $rowdata = $rall[0]; 114 116 //print" $fName./$rowdata[1]/$rowdata[2]/$rowdata[3]<BR>\n"; 115 117 $title = $rowdata[1]; … … 117 119 $subtitle = $rowdata[3]; 118 120 119 }//end if 話数がNULL121 //}//end if 話数がNULL 120 122 121 123 $tid = htmlspecialchars($rowdata[0]); … … 127 129 <tr> 128 130 <td>$fName<br></td> 129 <td><a href=\"http://cal.syoboi.jp/tid/$tid\" target=\"_blank\">$title</a></td> 131 <td>"; 132 133 if ($tid > 0 ){ 134 print "<a href=\"http://cal.syoboi.jp/tid/$tid\" target=\"_blank\">$title</a>"; 135 }else{ 136 print "$title"; 137 } 138 139 print "</td> 130 140 <td>$count<br></td> 131 141 <td>$subtitle<br></td> trunk/install/php/m.php
r94 r97 239 239 FROM foltia_station 240 240 WHERE digitalch > 0 241 UNION 242 SELECT DISTINCT stationid,stationname,stationrecch ,digitalch 243 FROM foltia_station 244 WHERE stationrecch = -2 241 245 ORDER BY x ASC"; 242 246 … … 248 252 if ($recstid == $rowdata[0]){ 249 253 print " <input name=\"recstid\" type=\"radio\" value=\"$rowdata[0]\" checked /> $rowdata[1] ($rowdata[2]ch / $rowdata[3]ch) \n"; 254 }elseif( $rowdata[2] == -2){ 255 print " <input name=\"recstid\" type=\"radio\" value=\"$rowdata[0]\" checked /> $rowdata[1] (<!-- $rowdata[2]ch / $rowdata[3]ch -->RADIKO) \n"; 250 256 }else{ 251 257 print " <input name=\"recstid\" type=\"radio\" value=\"$rowdata[0]\" /> $rowdata[1] ($rowdata[2]ch / $rowdata[3]ch) \n";