From 1fdabf58847745bb36acf859625d4b8bd591dfa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=A2=E1=84=91=E1=85=B3=E1=86=AF=20=E1=84=82?= =?UTF-8?q?=E1=85=A9=E1=84=90=E1=85=B3=E1=84=87=E1=85=AE=E1=86=A8?= Date: Sun, 15 Sep 2019 22:39:16 +0900 Subject: [PATCH] Fix: link maestro_menu_app_test_player.html --- src/web/client/menu_app_test_player.html | 2 +- src/web/sql/make_db.sql | 24 +++++++++++++++--------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/web/client/menu_app_test_player.html b/src/web/client/menu_app_test_player.html index 7c538e2..653ab40 100644 --- a/src/web/client/menu_app_test_player.html +++ b/src/web/client/menu_app_test_player.html @@ -52,7 +52,7 @@ sessionStorage.setItem("playerName", jsonData["playerName"]); sessionStorage.setItem("playerAccountType", jsonData["playerAccountType"]); - location.href='./../client/menu_app.html'; + location.href='./../client/main_menu.html'; }, function(errorMessage, errorCode) { diff --git a/src/web/sql/make_db.sql b/src/web/sql/make_db.sql index 66717b6..37ff6f9 100644 --- a/src/web/sql/make_db.sql +++ b/src/web/sql/make_db.sql @@ -138,15 +138,21 @@ CREATE TABLE writing ( UpdateDate DATETIME NOT NULL, LetterCount INT UNSIGNED NOT NULL ); -INSERT INTO `writing` (`WritingID`, `Language`, `Name`, `Filename`, `Writer`, `WriterID`, `UpdateDate`, `LetterCount`) VALUES -(1, 'korean', 1, '봄2', 'korean_spring.txt', 'system', NULL, '2019-07-04 00:00:00', 93), -(2, 'korean', 1, '애국가', 'korean_national_anthem.txt', 'system', NULL, '2019-07-04 00:00:00', 208), -(3, 'korean', 1, '냉면', 'korean_cold_noodle.txt', 'system', NULL, '2019-07-04 00:00:00', 2101), -(4, 'korean', 1, '허생전', 'korean_heoseng.txt', 'system', NULL, '2019-07-04 00:00:00', 8839), -(5, 'english', 1, 'Time is', 'english_time_is.txt', 'system', NULL, '2019-07-11 00:00:00', 186), -(6, 'english', 1, 'Beautiful dreamer', 'english_beautiful_dreamer.txt', 'system', NULL, '2019-07-11 00:00:00', 729), -(7, 'english', 1, 'The wolf and the seven little kids', 'english_wolf_7kids.txt', 'system', NULL, '2019-07-11 00:00:00', 5765), -(8, 'english', 1, 'The happy prince', 'english_happy_prince.txt', 'system', NULL, '2019-07-11 00:00:00', 18355); +INSERT INTO `writing` (`WritingID`, `ActivateStatus`, `Language`, `Name`, `Filename`, `Writer`, `WriterID`, `UpdateDate`, `LetterCount`) VALUES +(1, 1, 'korean', '봄2', 'korean_spring.txt', 'system', NULL, '2019-07-04 00:00:00', 155), +(2, 1, 'korean', '애국가', 'korean_national_anthem.txt', 'system', NULL, '2019-07-04 00:00:00', 208), +(3, 1, 'korean', '냉면', 'korean_cold_noodle.txt', 'system', NULL, '2019-07-04 00:00:00', 2099), +(4, 0, 'korean', '허생전', 'korean_heoseng.txt', 'system', NULL, '2019-07-04 00:00:00', 8837), +(5, 1, 'english', 'Time is', 'english_time_is.txt', 'system', NULL, '2019-07-11 00:00:00', 186), +(6, 1, 'english', 'Beautiful dreamer', 'english_beautiful_dreamer.txt', 'system', NULL, '2019-07-11 00:00:00', 729), +(7, 0, 'english', 'The wolf and the seven little kids', 'english_wolf_7kids.txt', 'system', NULL, '2019-07-11 00:00:00', 5765), +(8, 0, 'english', 'The happy prince', 'english_happy_prince.txt', 'system', NULL, '2019-07-11 00:00:00', 18355), +(9, 0, 'korean', '서시', 'korean_seosi.txt', 'system', NULL, '2019-07-04 00:00:00', 133), +(10, 1, 'english', 'The North Wind and The Sun', 'english_north_wind.txt', 'system', NULL, '2019-07-11 00:00:00', 1145), +(11, 1, 'english', 'The three little pigs', 'english_3_little_pigs.txt', 'system', NULL, '2019-07-11 00:00:00', 2118), +(12, 0, 'korean', '약손', 'korean_drug_hand.txt', 'system', NULL, '2019-07-11 00:00:00', 959), +(13, 1, 'korean', '은혜 갚은 까치', 'korean_magpie.txt', 'system', NULL, '2019-09-11 00:00:00', 953), +(14, 1, 'korean', '꼬리로 낚시하는 호랑이', 'korean_fishing_tiger.txt', 'system', NULL, '2019-09-11 00:00:00', 686); CREATE TABLE typing_exam_record (