-
Notifications
You must be signed in to change notification settings - Fork 0
/
mipcoll.php
55 lines (31 loc) · 823 Bytes
/
mipcoll.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
<!DOCTYPE html>
<html lang="es">
<?php include("./config.php"); ?>
<head>
<?php include("./head.php"); ?>
</head>
<body>
<!-- Sidebar/menu -->
<?php include("./navi.php"); ?>
<!-- !PAGE CONTENT! -->
<div class="w3-main w3-center" style="margin-left:340px;margin-right:40px" id="wcont">
<!-- Header -->
<?php include("./header.php"); ?>
<!-- Body content -->
<?php
$directorio = 'img/ips';
$ficheros = array_diff(scandir($directorio), array('..', '.'));
rsort($ficheros);
foreach($ficheros as $file)
{
echo "
<a href='../img/ips/".$file."' target='_blank'>
<img src=../img/ips/".$file." alt='".$file."' class ='w3-border w3-padding' style='width:200px;height:200px;margin:3px;'></a>";
};
?>
</div>
<!-- End page content -->
<?php include("./footer.php"); ?>
</body>
<!-- End body -->
</html>