-
Notifications
You must be signed in to change notification settings - Fork 0
/
ready.php
42 lines (40 loc) · 890 Bytes
/
ready.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
include("included/session_start.php");
if ($_SESSION["day"]==0) {
$_SESSION["eval_php"] = "text_evaluation.php";
} else {
$_SESSION["eval_php"] = "evaluation.php";
}
?>
<?php include("included/declaration.php"); ?>
<head>
<?php include("included/head.php"); ?>
<style>
#target {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
font-size: 50px;
}
</style>
</head>
<body>
<?php
$php_name = basename(__FILE__);
include("included/profile.php");
?>
<div class="text-center">
<h3 id="target">
セッションを開始します
</h3>
</div>
</body>
</html>
<?php include("included/js.php"); ?>
<script>
const READY_TIME_SECOND = 5
setTimeout(() => {
window.location.href = "fixation.php";
}, READY_TIME_SECOND*1000);
</script>