88 lines
2.7 KiB
HTML
88 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
|
<meta charset="UTF-8">
|
|
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85912788-2"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'UA-85912788-2');
|
|
</script>
|
|
|
|
<!-- Google Tag Manager -->
|
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
|
|
<!-- End Google Tag Manager -->
|
|
|
|
<title>테스트 플레이어 메뉴, 초코마에</title>
|
|
|
|
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
|
|
|
<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;"></div>
|
|
</body>
|
|
</html> |