Add: player login with maestro

This commit is contained in:
2018-10-28 14:21:03 +09:00
parent 5cb864058f
commit 0dc052dd79
4 changed files with 55 additions and 6 deletions
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<script>
<?php
$maestro_name = $_GET["maestro_name"];
// echo "maestro_name : $maestro_name</br>";
if($maestro_name == "") {
echo "no maestro_name";
run_url("./../../player/login.html");
exit;
}
echo("sessionStorage.setItem('maestroName', '$maestro_name');\n\r");
run_url("./../../client/login.html");
function run_url($targetUrl) {
echo("location.replace('$targetUrl');");
}
?>
</script>
</head>
<body>
</body>
</html>