-
Notifications
You must be signed in to change notification settings - Fork 0
/
_iframe_setImageSelector.php
33 lines (28 loc) · 1.14 KB
/
_iframe_setImageSelector.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
<?php
setlocale (LC_ALL, 'de_DE.UTF-8', 'de_DE@euro', 'de_DE', 'de', 'ge', 'de_DE.ISO_8859-1', 'German_Germany');
require("_headerincludes.php");
echo '
<html style="background:transparent">
<head>
';
require("_headerlinks.php");
echo '
</head>
<body>
<a href="'.Page::This().'"><button type="button" style="border: 2px solid #32CD32"><i class="fa fa-refresh" aria-hidden="true"></i> Aktualisieren</button></a>
<div class="setCapSelector">
<center>
';
$directory = 'files/sets/'.$_GET['country'].'/'.$_GET['set'].'/';
$scanned_directory = array_diff(scandir($directory), array('..', '.'));
foreach($scanned_directory as $file)
{
echo '<a href="/eintragen/set-konfigurieren?set='.$_GET['set'].'#" target="_top" onclick="SelectCapImageSet(\'/'.$directory.$file.'\')"><img src="/'.$directory.$file.'"/></a>';
}
echo '
</center>
</div>
</body>
</html>
';
?>