*/ // 完了画面 -------------------------------------------------------------- if ($decision) { $vali = new Validation(); $Key24 = $io->get_param_html("isbn"); $Key25 = $io->get_param_html("title"); $Key26 = $io->get_param_html("genre"); $Key27 = $io->get_param_html("pub"); $Key28 = $io->get_param_html("writer"); $Key29 = $io->get_param_html("into"); $Key30 = $io->get_param_html("year"); $Key31 = $io->get_param_html("amazon"); $Key32 = $io->get_param_html("remarks"); //データベース更新 $obj = new BookModel(); $result = $obj->GETBookAdd($ActType, $Key1, $Key24, $Key25, $Key26, $Key27, $Key28, $Key29, $Key30, $Key31, $Key32); if ($result == 0) { include HTML_SUCCESS; } else { $db_error = 'システムエラーです。開発者に連絡してください。'; include TEMP_INPUT; } } else { // pg_query($conID, "rollback"); // 失敗画面 //処理どうし→登録に失敗 include HTML_FAILURE; } } else { // リファラ制限画面 include TEMP_BLOCK;