summaryrefslogtreecommitdiffstats
path: root/pages/share.php
blob: 1193bb6561440faffc5eb30b4eae88218c354bfa (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
<?php
htmlHeader(array('stats'));
?>


<body>

<?php
topbar($Links);


include('./includes/maps.php');



if (is_int($_GET['mapid'] + 0))
	$mapID = $_GET['mapid'] + 0;

$mapcode = getMapCode($mapID);
$map = GenerateMapByCode($mapcode);



echo DisplayMap($map, 1, 'example', 1); 
?>

<script>
loadSol('1:<? echo $_GET[solution]; ?>');
</script>


<?php
htmlFooter();
?>