From: Habu Date: Thu, 29 Mar 2018 12:41:16 +0000 (+0900) Subject: [modify]カスタム検索のページをテンプレートに対応、ファイル名変更 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ade15337d8cc38f9c9c64285bee3b71d13dcb7d8;p=hengband%2Fweb.git [modify]カスタム検索のページをテンプレートに対応、ファイル名変更 --- diff --git a/score/custom_search.php b/score/custom_search.php new file mode 100644 index 0000000..385f166 --- /dev/null +++ b/score/custom_search.php @@ -0,0 +1,93 @@ +get_defines(); + +function print_select_form($fp, $id_defines, $form_name) +{ + fwrite($fp, "\n"); +} + + +$wt = new WebTemplate(); +$wt->set_title("変愚蛮怒 スコア カスタム検索"); +$fp = $wt->main_contents_fp(); + +fwrite($fp, <<変愚蛮怒 スコア カスタム検索 +
+

+ +EOM +); + +fwrite($fp, ""); +print_select_form($fp, $defines['race'], 'race_id'); +fwrite($fp, " "); +print_select_form($fp, $defines['class'], 'class_id'); +fwrite($fp, " "); +print_select_form($fp, $defines['personality'], 'personality_id'); + +fwrite($fp, "

\n"); + +fwrite($fp, "

\n"); +fwrite($fp, ""); +print_select_form($fp, $defines['realm'], 'realm_id1'); +fwrite($fp, " "); +print_select_form($fp, $defines['realm'], 'realm_id2'); +fwrite($fp, "

\n"); + +fwrite($fp, << + + + + +

+

+ + +

+

+ +※部分一致のみ、「勝利の後引退」は'ripe'、「勝利の後切腹」は'Seppuku'と入力 +

+

+ + +

+

+ +

+ +EOM + ); + +$wt->print_page(); diff --git a/score/score_search.php b/score/score_search.php deleted file mode 100644 index bd8d04d..0000000 --- a/score/score_search.php +++ /dev/null @@ -1,129 +0,0 @@ -get_defines(); - -function print_select_form($id_defines, $form_name) -{ - echo ""; -} -?> - - - - - - - - - 変愚蛮怒 公式WEB - - - - -
- -
- tama - tama - tama - tama - 変愚蛮怒 Hengband - tama - tama - tama - tama -
- - - -
- -
-

変愚蛮怒スコア 詳細検索

-
-

- - - - - - -

-

- - - - -

-

- - - - -

-

- -※部分一致のみ、「勝利の後引退」は'ripe'、「勝利の後切腹」は'Seppuku'と入力 -

-

- - -

-

- -

-
- -
- - - - - - -