'練習試合',2=>'公式試合'); if(!isset($_GET["ACCOUNT_ID"]) || $_GET["ACCOUNT_ID"]=="") { header("Location: login.html?url=game_list.html"); exit(); } /* ********************** 初期設定 ********************* */ ob_start(); // セッションリミッター session_cache_limiter('private, must-revalidate'); // セッション開始 session_start(); // データベース設定・共通ファイル読み込み require_once("../common/DbAccess.php"); require_once("../common/common.php"); printf("\n"); ?> ジャパンアスレチックアカデミー 試合情報
JAA


試合情報
">
res = mysql_query($sql,$DB->conn); if (!$DB->res) { die('Invalid query: ' . mysql_error()); } $game_total = $DB->fetch(); $sum_total = $game_total[0]; // 1ページに表示する件数 $MAX_ROW = 10; $page = 1; if( isset($_GET["p"] )) { $page = $_GET["p"]; } $l_sql = "limit " . ($page - 1) * $MAX_ROW . " , $MAX_ROW"; $sql = $s_sql . $f_sql . $w_sql . $o_sql . $l_sql; //SQL文発行 // 2007/04/19 内田 共通関数は結果が0レコードの場合なぜかエラーになるので、自前で作成 $DB->res = mysql_query($sql,$DB->conn); if (!$DB->res) { die('Invalid query: ' . mysql_error()); } $sum_game = mysql_num_rows($DB->res); // print("[SQL]:".$sql."
res=".$sum_game."
"); for($i=0;$i<$sum_game;$i++) { $game_data = $DB->fetch(); $url = "game_data.html?ACCOUNT_ID=" . $_GET["ACCOUNT_ID"] . "&GID=" . $game_data[GAME_ID] . "&mode=1&action=view"; ?>
試合日試合区分対戦相手削除
">
">
&p=">前へ &p=">次へ


戻る


©2007 Electro Design Corp.Ltd.
Destroy(); ob_end_flush(); ?>