diff --git a/server/web/index.php b/server/web/index.php index 55bb253..a683320 100644 --- a/server/web/index.php +++ b/server/web/index.php @@ -9,105 +9,57 @@ +
+

PiXelTube Web Interface

+ + + + + + + + + + + -

PiXelTube Web Interface

-
Tube IDUniverseDMX AddressActions
- - - - - - - - - - connect_error) { - die("Connection failed: " . $conn->connect_error); - } - - $sql_query = "SELECT id, mac_address, universe, dmx_address FROM tubes"; - $result = $conn->query($sql_query); - - if ($result->num_rows > 0) { - // output data of each row - while($row = $result->fetch_assoc()) { - echo ' - - - - - - - '; + if ($conn->connect_error) { + die("Connection failed: " . $conn->connect_error); } - } - else { - echo "0 results"; - } - ?> - -
Tube IDUniverseDMX AddressActions
'.$row["id"].''.$row["universe"].''.$row["dmx_address"].' - -
-
- - - - - -