-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·57 lines (54 loc) · 2.45 KB
/
index.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<!-- Latest compiled and minified CSS -->
<!--<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous">-->
<!-- Optional theme -->
<!--<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css" integrity="sha384-aUGj/X2zp5rLCbBxumKTCw2Z50WgIr1vs/PFN4praOTvYXWlVyh2UtNUU0KAUhAX" crossorigin="anonymous">-->
<link rel="stylesheet" href="css/common.css" >
<script src = "http://code.jquery.com/jquery-latest.min.js"></script>
<!--<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>-->
<script src="js/howler.min.js"></script>
<script src = "js/Helper.js"></script>
<script src = "js/Modal.js"></script>
<script src = "js/common.js"></script>
<script>
<?php
$images = scandir("img/test/svg/");
$arr = array();
foreach($images as $img) {
if (($img[0] != '.') && (count(explode('.', $img)) > 1))
$arr[] = "'img/test/svg/{$img}'";
}
?>
$(document).ready(function () {
var test = new Test({
images : [<?php echo implode(',', $arr)?>],
});
});
</script>
</head>
<body id="levels">
<div class="levels_background"><img src="img/back_levels.png" alt=""></div>
<div id="pyvil_level_container">
<div class="pyvil_level_list"></div>
<div class="level_list_bg">
<img src="img/levels.png" alt="">
</div>
</div>
<div id="pyvil_remember_container">
<p class="lead levelPrev">observe those items</p>
<div class="pyvil_remember_list container"></div>
<a class="start-test" href="javascript:void(0)">ok</a>
</div>
<div id="pyvil_images_container">
<p class="lead allItems">find items from the previous screen</p>
<div class="pyvil_images_list container"></div>
</div>
<div class="shadow-screen" style="display: none;"></div>
<div class="screen"><img src="img/main.gif" alt=""></div>
<!--Made with love and javascript-->
</body>
</html>