チェンジセット 94: trunk/install/php/titlelist.php
- コミット日時:
- 2010/02/28 22:28:26 (16 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
- trunk/install/php/titlelist.php- r70 - r94 - 51 - 51 - ORDER BY foltia_program.tid DESC - 52 - 52 - "; - 53 - $rs = m_query($con, $query, "DBクエリに失敗しました");- 54 - $maxrows = pg_num_rows($rs);- 55 - 56 - if ($maxrows == 0) {- 53 - // $rs = m_query($con, $query, "DBクエリに失敗しました"); - 54 - $rs = sql_query($con, $query, "DBクエリに失敗しました"); - 55 - $rowdata = $rs->fetch(); - 56 - if (! $rowdata) { - 57 - 57 - die_exit("番組データがありません<BR>"); - 58 - 59 - 58 - } - 60 - 61 - 59 - ?> - 62 - 60 - … - … - 72 - 70 - <? - 73 - 71 - /* フィールド数 */ - 74 - $maxcols = pg_num_fields($rs);- 72 - $maxcols = $rs->columnCount(); - 75 - 73 - ?> - 76 - 74 - <table BORDER="0" CELLPADDING="0" CELLSPACING="2" WIDTH="100%"> - … - … - 86 - 84 - <?php - 87 - 85 - /* テーブルのデータを出力 */ - 88 - for ($row = 0; $row < $maxrows; $row++) { /* 行に対応 */ - 86 - do { - 89 - 87 - echo("<tr>\n"); - 90 - /* pg_fetch_row で一行取り出す */ - 91 - $rowdata = pg_fetch_row($rs, $row); - 88 - 92 - 89 - //TID - 93 - 90 - echo("<td><a href=\"reserveprogram.php?tid=" . - … - … - 100 - 97 - print "<td><A HREF = \"showlibc.php?tid=".htmlspecialchars($rowdata[0])."\">mp4</A></td>\n"; - 101 - 98 - echo("</tr>\n"); - 102 - } - 99 - } while ($rowdata = $rs->fetch()); - 103 - 100 - ?> - 104 - 101 - </tbody> 


