예제 #1
0
         if ($isbn) {
             $Key24 = $io->get_param_html("isbn");
         } else {
             $Key24 = $io->get_param_html("asin");
         }
         $Key25 = $io->get_param_html("title");
         $Key26 = $select01->get_selected_text();
         $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->GETBookEDIT($ActType, $Key1, $Key24, $Key25, $Key26, $Key27, $Key28, $Key29, $Key30, $Key31, $Key32, $Key20);
         if ($result == 0) {
             include HTML_SUCCESS;
         } else {
             $db_error = 'システムエラーです。開発者に連絡してください。';
             include TEMP_INPUT;
         }
     } else {
         //				pg_query($conID, "rollback");
         // 失敗画面
         //処理どうし→登録に失敗
         include HTML_FAILURE;
     }
 } else {
     // リファラ制限画面
     include TEMP_BLOCK;