echo '<div style="position: absolute;top: 12px;left: 405px; width:180px;"><a href="" style="padding:12px 42px;border:none;background:none;font-size:16px; font-weight:500;"><font size="+3" style="font-weight:500">' . strftime("%k:%M:%S", $time) . '</font></a></div> <div style="position: absolute;top: 0px;left: 0px; width:80px; height:390px; background:#ddd;border-radius:10px; padding-top:10px;" > <div style="position: absolute;top: 320px;left: 12px; width:55px;padding:0px;cursor: pointer;" onclick="location.href=\'rain.php\'"><img src="images/rain.png"/ title="' . strftime("%a %e %b %k:%M:%S", $RainTimeRegen) . '" style="cursor:pointer" onclick="location.href=\'rain.php\'"></div> <div style="position: absolute;top: 355px;left: 13px; width:55px;background:rgba(222, 222, 222, 0.8); padding:0px;cursor: pointer;" onclick="location.href=\'rain.php\'">' . $RainRegen . ' / ' . $TextBuienradar . '</div></div> <div style="position: absolute;top: 410px;left: 0px; width:80px; background:#ddd;border-radius:10px; padding-top:10px;padding-bottom:10px;"> <form method="POST"><input type="hidden" name="denon" value="up"><input type="image" src="images/arrowup.png" alt="up" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="denon" value="down"><input type="image" src="images/arrowdown.png" alt="down" width="48px" height="48px"></form> <br/><form action="denon.php" method="POST"><input type="image" src="images/denon.png" alt="Denon" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="Scene" value="2"><input type="hidden" name="Naam" value="Radio luisteren"><input type="image" src="images/Amp_On.png" alt="Radio" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="Scene" value="3"><input type="hidden" name="Naam" value="TV Kijken"><input type="image" src="images/TV_On.png" alt="TV" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="Scene" value="4"><input type="hidden" name="Naam" value="Kodi kijken"><input type="image" src="images/kodi.png" alt="Kodi" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="Scene" value="5"><input type="hidden" name="Naam" value="Eten"><input type="image" src="images/eten.png" alt="Eten" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="Scene" value="1"><input type="hidden" name="Naam" value="Alles uit"><input type="image" src="images/allesuit.png" alt="Alles uit" width="48px" height="48px"></form> </div>'; Dimmer('Zithoek', 72, 130, 135); Dimmer('Eettafel', 72, 130, 380); Schakelaar('Lamp_Bureel', 'Light', 72, 12, 294); Schakelaar('TV', 'TV', 72, 2, 94); Schakelaar('Denon', 'Amp', 72, 6, 190); Schakelaar('Licht_Inkom', 'Light', 60, 65, 550); Schakelaar('Licht_Voordeur', 'Light', 60, 65, 700); Schakelaar('Licht_Hall', 'Light', 63, 500, 370); Schakelaar('Licht_Hall_Auto', 'Clock', 54, 504, 445); Schakelaar('Licht_Garage', 'Light', 72, 345, 350); Schakelaar('Licht_Garage_Auto', 'Clock', 54, 352, 250); Schakelaar('Pluto', 'Laptop', 45, 430, 300); Schakelaar('Thuis', 'Home', 72, 320, 675); Schakelaar('Slapen', 'Sleepy', 72, 400, 675); Schakelaar('Meldingen', 'Alarm', 72, 10, 7); Schakelaar('Terras', 'Light', 72, 90, 5); Schakelaar('Brander', 'Fire', 72, 890, 360);
echo $Stv == 'On' ? 'On' : 'Off'; echo '.png" width="60px" height="60px"></form> <br/><br/><form method="POST"><input type="hidden" name="Naam" value="kodikijken"><input type="image" src="images/Kodi_'; echo $Skodi == 'On' ? 'On' : 'Off'; echo '.png" width="48px" height="48px"></form> <br/><br/><form method="POST"><input type="hidden" name="Naam" value="eten"><input type="image" src="images/eten.png" width="48px" height="48px"></form> <br/><br/><a href=\'javascript:navigator_Go("heating.php");\'><img src="images/Fire_'; echo $Sbrander == 'On' ? 'On' : 'Off'; echo '.png" width="48px" height="48px"></a><br/> <br/><br/><br/><a href=\'javascript:navigator_Go("floorplan2.php");\' onclick="toggle_visibility(\'Plus\');" style="text-decoration:none"><img src="images/plus.png" width="60px" height="60px"/></a> </div>'; Dimmer('tobi', 70, 435, 135); Dimmer('zithoek', 70, 110, 105); Dimmer('eettafel', 70, 110, 245); Dimmer('kamer', 70, 545, 345); Dimmer('alex', 70, 560, 135); Schakelaar('kristal', 'Light', 52, 8, 88); Schakelaar('tvled', 'Light', 52, 8, 147); Schakelaar('bureel', 'Light', 52, 8, 206); Schakelaar('inkom', 'Light', 52, 51, 349); Schakelaar('keuken', 'Light', 52, 157, 390); Schakelaar('wasbak', 'Light', 40, 145, 345); Schakelaar('kookplaat', 'Light', 40, 115, 386); Schakelaar('werkblad', 'Light', 40, 208, 434); Schakelaar('lichtbadkamer1', 'Light', 70, 420, 390); Schakelaar('lichtbadkamer2', 'Light', 40, 463, 349); Schakelaar('voordeur', 'Light', 48, 54, 439); Schakelaar('hall', 'Light', 52, 410, 252); Schakelaar('garage', 'Light', 60, 305, 209); Schakelaar('zolderg', 'Light', 48, 315, 140); Schakelaar('lichten_auto', 'Clock', 40, 312, 299);
<div class="box2" style="top:290px;left:13px;background:rgba(222,222,222,0.8);" >' . $mc->get('averagerain') . '</div> <div class="box" style="top:319px;height:505px;"> <form method="POST"><input type="hidden" name="denon" value="up"><input type="image" src="images/arrowup.png" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="denon" value="down"><input type="image" src="images/arrowdown.png" width="48px" height="48px"></form> <br/><form action="denon.php" method="POST"><input type="image" src="images/denon.png" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="Scene" value="439"><input type="hidden" name="Naam" value="Radio luisteren"><input type="image" src="images/Amp_On.png" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="Scene" value="433"><input type="hidden" name="Naam" value="TV Kijken"><input type="image" src="images/TV_On.png" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="Scene" value="434"><input type="hidden" name="Naam" value="Kodi kijken"><input type="image" src="images/kodi.png" width="48px" height="48px"></form> <br/><form method="POST"><input type="hidden" name="Scene" value="435"><input type="hidden" name="Naam" value="Eten"><input type="image" src="images/eten.png" width="48px" height="48px"></form> <a href="#" onclick="toggle_visibility(\'Plus\');" style="text-decoration:none"><img src="images/plus.png" width="60px" height="60px"/></a> </div>'; Dimmer('tobi', 60, 410, 110); Dimmer('zithoek', 60, 130, 110); Dimmer('eettafel', 60, 130, 260); Dimmer('kamer', 60, 540, 330); Dimmer('tobi', 60, 562, 190); //Julius Schakelaar('tv', 'TV', 60, 54, 92); Schakelaar('denon', 'Amp', 60, 54, 160); //Schakelaar('kodi','Kodi',48,59,230); //Schakelaar('diskstation','nas',16,28,267); Schakelaar('kristal', 'Light', 48, 7, 90); Schakelaar('tvled', 'Light', 48, 7, 149); Schakelaar('bureel', 'Light', 48, 7, 208); Schakelaar('inkom', 'Light', 48, 54, 350); Schakelaar('keuken', 'Light', 60, 157, 390); Schakelaar('wasbak', 'Light', 36, 145, 345); Schakelaar('kookplaat', 'Light', 36, 115, 386); Schakelaar('werkblad', 'Light', 36, 210, 436); Schakelaar('lichtbadkamer1', 'Light', 55, 410, 368); Schakelaar('lichtbadkamer2', 'Light', 36, 466, 349);