<div align="center"> <table width="100%" border="0" cellpadding="10" cellspacing="1" class="small"> <tr align="left" valign="top"> <td align="center" valign="middle" bgcolor="#FFFFFF"><font class="style8 style6 style5">( 沒有找到有關 <?php echo $_GET["t_name"]; ?> 的資料 ) </font> <a href="#" onClick="history.go(-1)">返回</a></td> </tr> </table> </div> <?php } ?> <table width="100%" border="0" cellpadding="10" cellspacing="1" class="small"> <tr align="left" valign="top"> <td width="15%" bgcolor="#FFFFFF"> </td> <td width="85%" align="right" bgcolor="#FFFFFF"><?php if ($total_page > 0 && $page > 0) { page_display("", $page, $total_page, 10, $search_arr, $sort_arr, $class_arr, ""); } ?> </td> </tr> </table> <p align="right"> </p></td> </tr> </table> </body> </html>
<?php // テーブルのデータを出力 do { if ($rowdata['rec'] != '') { echo "<tr class=\"reservedtitle\">\n"; } else { echo "<tr>\n"; } // TID echo "<td><a href=\"reserveprogram.php?tid=" . htmlspecialchars($rowdata['tid']) . "\">" . htmlspecialchars($rowdata['tid']) . "</a></td>\n"; // タイトル echo "<td><a href=\"http://cal.syoboi.jp/progedit.php?TID=" . htmlspecialchars($rowdata['tid']) . "\" target=\"_blank\">" . htmlspecialchars($rowdata['title']) . "</a></td>\n"; print "<td><A HREF = \"showlibc.php?tid=" . htmlspecialchars($rowdata['tid']) . "\">mp4</A></td>\n"; echo "</tr>\n"; } while ($rowdata = $rs->fetch()); ?> </tbody> </table> <?php ///////////////////////////////////////////////////////// // Autopageing処理とページのリンクを表示 page_display("", $p, $p2, $lim, $dtcnt, ""); //////////////////////////////////////////////////////// ?> </body> </html>
?> <td><a href="./selectcaptureimage.php?f=<?php echo $mp4filename; ?> ">キャプ</a></td> <?php } ?> </tr> <?php } ?> </table> <p>$datas=<?php echo $datas; ?> $nodata=<?php echo count($nodata); ?> </p> <?php page_display($word, $p, $p2, $lim, $rowMax, ""); ?> <?php } ?> </body> </html>
} print "</td>"; if (file_exists("./selectcaptureimage.php")) { $capimgpath = preg_replace("/.m2.+/", "", $fName); print "\t\t\t<td align=\"left\"><a href=\"./selectcaptureimage.php?pid={$pid}\">キャプ</a></td>\n"; } print "</tr>\n\n\t\t"; } while ($rowdata = $rs->fetch()); } else { print "\n<tr>\n<td COLSPAN=\"5\">ファイルがありません</td>\n</tr>\n"; } //end if print "</tbody>\n</table>\n</FORM>\n"; ////////////////////////////////////////////////////////////////////// //Autopageing処理とページのリンクを表示 list($p2, $page) = page_display($query_st, $p, $p2, $lim, $dtcnt, ""); ////////////////////////////////////////////////////////////////////// print "</div>"; //Auto pager終わり //番組ソートの時、未読番組のタイトルだけ表示 //if ($list== "title" && $p2 > $page) { if ($list == "title") { $query = "\nSELECT distinct\nfoltia_program.tid,\nfoltia_program.title \nFROM foltia_subtitle , foltia_program , foltia_m2pfiles \nWHERE foltia_program.tid = foltia_subtitle.tid \n AND foltia_subtitle.m2pfilename = foltia_m2pfiles.m2pfilename \nORDER BY foltia_program.tid DESC \n"; //$rs = m_query($con, $query, "DBクエリに失敗しました"); $rs = sql_query($con, $query, "DBクエリに失敗しました"); $rowdata = $rs->fetch(); if ($rowdata) { print "<hr>\n<p align=\"left\">未読タイトルを表示します。<br>\n <table BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"2\" WIDTH=\"100%\">\n\t<thead>\n\t\t<tr>\n\t\t\t<th align=\"left\">TID</th>\n\t\t\t<th align=\"left\">タイトル</th>\n\t\t</tr>\n\t</thead>\n\t<tbody>\n"; do { $tid = htmlspecialchars($rowdata[0]); $title = htmlspecialchars($rowdata[1]);
} print "</td>\n"; // 話数 echo "<td>" . htmlspecialchars($rowdata[3]) . "<br></td>\n"; // サブタイ if ($pid > 0) { print "<td><a href=\"http://cal.syoboi.jp/tid/{$tid}/time#{$pid}\" target=\"_blank\">{$subtitle}<br></td>\n"; } else { print "<td>{$subtitle}<br></td>\n"; } // 開始時刻(ズレ) echo "<td>" . htmlspecialchars(foldate2print($rowdata[5])) . "<br>(" . htmlspecialchars($rowdata[8]) . ")</td>\n"; // 総尺 echo "<td>" . htmlspecialchars($rowdata[6]) . "<br></td>\n"; echo "</tr>\n"; } while ($rowdata = $rs->fetch()); ?> </tbody> </table> <?php ///////////////////////////////////////////////// // Autopageing処理とページのリンクを表示 page_display("", $p, $p2, $lim, $dtcnt, $mode); ///////////////////////////////////////////////// ?> </body> </html>