blob: 1980bb5c810e655e8ec7fcd903095de5a6a51a54 (
plain)
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
|
<?PHP
htmlHeader();
?>
<body>
<?php
topbar($Links);
?>
<script type="text/javascript" src="sounds/script/soundmanager.js"></script>
<?php
include('./includes/maps.php');
include('./includes/datas.php');
?>
<div class="col2" style="text-align: center">
<p>
Place blocks where it says to...
</p>
<br />
<?
echo "<a href='#'>Previous</a> | <a href='#'>Next</a> ";
$challenge1[] = "soooraoof";
$challenge1[] = "sooooroof";
$challenge1[] = "sooooooof";
$challenge1[] = "sooooooof";
$challenge1[] = "sooooooof";
$myparams['checkpoints'] = 3;
$myparams['teleports'] = 1;
$myparams['walls'] = 2;
$map1 = GenerateShapedMap($challenge1, $myparams);
echo DisplayMap($map1, 1);
//$mysolution = getSolution($userID, $mapID);
//$solutiondiv .= "<div id='mapsol' style='visibility:hidden;display:none'>";
//$solutiondiv .= "<div id='mapsol'>";
//$solutiondiv .= $mapID.":".$mysolution;
//$solutiondiv .= '</div>';
//echo $solutiondiv;
?>
</div>
<script type="text/javascript">soundManagerInit();</script>
</body>
</html>
|