2020-08-04 12:22:09 +02:00
|
|
|
|
<?php
|
2024-04-25 17:52:58 +02:00
|
|
|
|
$file = $_GET['level'] ?? null;
|
2020-08-04 12:22:09 +02:00
|
|
|
|
$custom = 'false';
|
|
|
|
|
$niveau = '1';
|
|
|
|
|
if ($file !== null && file_exists(__DIR__ .'/custom/'.$file.'.js')){
|
|
|
|
|
$custom = 'true';
|
|
|
|
|
$niveau = $file;
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<!DOCTYPE html>
|
2024-04-25 17:52:58 +02:00
|
|
|
|
<html lang="en">
|
2020-08-04 12:22:09 +02:00
|
|
|
|
<head>
|
2024-04-25 17:52:58 +02:00
|
|
|
|
<title>Blind Laby</title>
|
2020-08-04 12:22:09 +02:00
|
|
|
|
<link rel="stylesheet" type="text/css" href="assets/css/index.css" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="assets/css/css3buttons.css" />
|
|
|
|
|
<style>
|
|
|
|
|
#board{width:300px;height:300px; margin:200px auto;background-color:#FFF;}
|
|
|
|
|
#start{display:block;}
|
|
|
|
|
</style>
|
|
|
|
|
<script src="assets/js/jquery.min.js"></script>
|
|
|
|
|
<script src="assets/js/jquery.color.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
let niveau = <?=$niveau?>;
|
|
|
|
|
let custom = <?=$custom?>;
|
|
|
|
|
</script>
|
|
|
|
|
<script src="assets/js/load.js"></script>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<noscript>javascript must be activated to play this game.</noscript>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|