65 lines
1.7 KiB
HTML
65 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>메뉴</title>
|
|
|
|
<script type="text/javascript" src="./../../../resources/jquery/jquery-3.3.1.min.js"></script>
|
|
<script type="text/javascript" src="./../js/main.js"></script>
|
|
<script type="text/javascript" src="./../js/lib/account_validator.js"></script>
|
|
<script type="text/javascript" src="./../js/lib/maestro_info.js"></script>
|
|
<script type="text/javascript" src="./../js/request_server.js"></script>
|
|
|
|
<script>
|
|
|
|
function loadMaestroTestAccountInfo() {
|
|
sendRequestServer( //url, sendParams, onSuccess, onFail, isDebugMode);
|
|
"./../server/maestro/maestro_test_player.php",
|
|
"maestro_id=" + maestroID,
|
|
|
|
function(jsonData) {
|
|
console.log("maestroAccountType : " + jsonData["maestroAccountType"]);
|
|
console.log("playerName : " + jsonData["playerName"]);
|
|
console.log("playerID : " + jsonData["playerID"]);
|
|
console.log("playerAccountType : " + jsonData["playerAccountType"]);
|
|
|
|
sessionStorage.setItem("maestroAccountType", jsonData["maestroAccountType"]);
|
|
sessionStorage.setItem("playerID", jsonData["playerID"]);
|
|
sessionStorage.setItem("playerName", jsonData["playerName"]);
|
|
sessionStorage.setItem("playerAccountType", jsonData["playerAccountType"]);
|
|
|
|
location.href='./../client/menu_app.html';
|
|
},
|
|
|
|
function(errorMessage, errorCode) {
|
|
if($("#error_message").length) {
|
|
$("#error_message").text(errorMessage);
|
|
}
|
|
}
|
|
|
|
);
|
|
}
|
|
|
|
$(document).ready(function() {
|
|
loadMaestroTestAccountInfo();
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
<style>
|
|
body{
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
canvas{
|
|
margin: 0 auto;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="MenuApp" style="text-align:center;" />
|
|
</body>
|
|
</html> |