} //イベント $data->select_column_a("id,name", "quest", "note LIKE '%##get##i{$id}##%' AND id > 90000"); if ($data->rows()) { $i_get[$i]["label"] = "イベント"; while ($event = $data->fetch()) { $e_id = $event["id"]; $e_name = $event["name"]; $e_link[] = "<a href=\"/db/quest/data/?id={$e_id}\">{$e_name}</a>"; } $i_get[$i]["data"] = implode("<br />\n", $e_link); $i++; } } $i_updated = $item["updated"]; $i_count = $data->access_count("items", $id, $item["count"]); } else { toppage(); } $title = "アイテムデータ {$i_name}"; ?> <html> <head> <?php echo pagehead($title); ?> </head> <body> <div id="all"> <h1>アイテムデータ</h1> <hr class="normal">
} ?> <hr class="normal"> <ul id="footlink"> <?php } ?> <li><a href="/db/"<?php echo mbi_ack(9); ?> ><?php echo mbi("9."); ?> データベース</a></li> <li><a href="/"<?php echo mbi_ack(0); ?> ><?php echo mbi("0."); ?> トップページ</a></li> </ul> <?php $data->select_id("accesscount", $PAGE_ID); $c_data = $data->fetch(); pagefoot($data->access_count("accesscount", $PAGE_ID, $c_data["count"])); ?> </div> </body> </html>
die("データベースの接続に失敗しました"); } $q_name = ""; if ($data->is_added("quest", $id)) { $data->select_id("quest", $id); $quest = $data->fetch(); $q_name = $quest["name"]; $category = quest_category_array(); $category_id = quest_category_id($category, $id); $category_name = $category[$category_id]; $q_note = $data->data_link(nl2br($quest["note"])); if (!strlen($q_note)) { $q_note .= "準備中"; } $q_updated = $quest["updated"]; $q_count = $data->access_count("quest", $id, $quest["count"]); } else { toppage(); } $title = "クエストデータ {$q_name}"; ?> <html> <head> <?php echo pagehead($title); ?> </head> <body> <div id="all"> <h1>クエストデータ</h1> <h2><?php
$s_text = nl2br(str_replace(" ", " ", $skill["text"])); if (!strlen($s_text)) { $s_text .= "準備中"; } $s_note = $data->data_link(nl2br($skill["note"])); if (!strlen($s_note)) { $s_note .= "準備中"; } if ($skill["ep"] == 0) { $s_ep = ""; } else { $s_ep = "<br />EP:" . $skill["ep"]; } $s_enhance = $data->data_link(nl2br($skill["enhance"])); $s_updated = $skill["updated"]; $s_count = $data->access_count("skill", $id, $skill["count"]); } else { toppage(); } $title = "スキルデータ {$s_name}"; ?> <html> <head> <?php echo pagehead($title); ?> </head> <body> <div id="all"> <h1>スキルデータ</h1> <hr class="normal">
$password = rtrim(fgets($fp_user)); $database = rtrim(fgets($fp_user)); } else { die("接続設定の読み込みに失敗しました"); } $data = new GuestData($userName, $password, $database); if (mysqli_connect_error()) { die("データベースの接続に失敗しました"); } if ($data->select_id("updinfo", $id)) { $updinfo = $data->fetch(); $detail = $data->data_link(nl2br($updinfo["detail"])); if (!strlen($detail)) { $detail .= "準備中"; } $count = $data->access_count("updinfo", $id, $updinfo["count"]); } else { toppage(); } $title = "アプリ更新情報 {$id}"; ?> <html> <head> <?php echo pagehead($title); ?> </head> <body> <div id="all"> <h1>アプリ更新情報</h1> <h2><?php
$nameE = $class["nameE"]; $nameS = $class["nameS"]; $dagger = $class["dagger"]; $sword = $class["sword"]; $axe = $class["axe"]; $hammer = $class["hammer"]; $wand = $class["wand"]; $bow = $class["bow"]; $dodge = $class["dodge"]; $shield = $class["shield"]; $element = $class["element"]; $light = $class["light"]; $dark = $class["dark"]; $note = nl2br($class["note"]); $updated = $class["updated"]; $count = $data->access_count("class", $id, $class["count"]); $title = $title . $name; } else { toppage(); } ?> <html> <head> <?php echo pagehead($title); ?> </head> <body> <div id="all"> <h1>クラスデータ</h1> <hr class="normal">
if (mysqli_connect_error()) { die("データベースの接続に失敗しました"); } if ($id == 0) { $title = "ゾーンデータ"; $PAGE_ID = 30000; } else { if (!$data->select_id("zone", $id)) { toppage(); } $row = $data->fetch(); $name = $row["name"]; $nameE = $row["nameE"]; $event = $row["event"]; $image = file_exists("/var/www/img/zone/" . sprintf("%03d", $id) . $mode . ".gif") ? sprintf("%03d", $id) . $mode : "0000"; $z_count = $data->access_count("zone", $id, $row["count"]); $title = "ゾーンデータ {$name}"; if ($mode == 1) { $title .= " クエスト"; } if ($mode == 2) { $title .= " モンスター"; } } ?> <html> <head> <?php echo pagehead($title); ?> </head>