Exemple #1
0
<html>
<head>
<link rel="stylesheet" type="text/css" href="include/main.css">
</head>
<body>
<?php 
$room = $_GET["r"];
$ip = $_GET["ip"];
require_once "class.php";
$testRoom = new roomControl();
$testRoom->url = 'http://' . $ip;
$testRoom->name = $room;
$testRoom->turnOnTable();
sleep(1);
$testRoom->turnOnProjector();
sleep(1);
$testRoom->turnOn3();
sleep(1);
$testRoom->turnOnAir_con();
sleep(1);
closeWindows();
?>

</body>

</html>