HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/komma-mediadesign.nl/wwwroot/lammers/index.php
<?php 

$naamKlant = "Lammers Constructie Budel";
$folderNaam = "lammers";
$aantalOntwerpen = 4;
$breedteOntwerp = 1440;
$backgroundColor = "#eff0eb";


$foto = $_GET['foto'];

if(empty($foto)){
	$foto = 1;	
}else if($foto > 14){
	$foto = 1;		
}

?>

<html>
<head>

<title><?php echo("Ontwerp ".$naamKlant);?></title>
<style>

*{
	margin:0;
	border:0;
	padding:0;
}
body{
	background-color:<?php echo($backgroundColor); ?>;
		
}
#screen{
	width:<?php echo($breedteOntwerp); ?>px;
	left:50%;
	margin-left:-<?php echo($breedteOntwerp/2); ?>px;
	position:absolute;
}
a, a:selected, a:active{
	border:none;
	outline:none; 
}
img{
	border:none;
}
</style>

</head>

<body>
<div id="screen">
<a href="/<?php echo($folderNaam);?>/index.php?foto=<? if($foto < $aantalOntwerpen ){ echo($foto + 1); }else{ echo("1"); } ?>" title="Volgende foto">
<img src="web<?php echo($foto);?>.jpg" alt="" /></a>

</div>

</body>

</html>