"<html>"
"<head>"
"<title>a771la-rele</title>"
"</head>"
"<body>";
server.printP(htmlHead);
server.print(F("<table border=\"20\">"));
// server.print("<tr><td>Stato Rele</td><td>Comandi</td></tr>");
if(U1 == true)
server.print(F("<tr><td style=\"color: black;\">LAMPADA</td><td>"));
// server.print(F("</td></tr></td><td>"));
else
server.print(F("<tr><td style=\"color: red;\">LAMPADA</td><td>"));
// server.print(F("</td></tr></td><td>"));
if(U1 == false)
// server.print("<input type=\"button\" value=\"qui\" onclick=\"location.href='index.htm?R1=ON'\">");
server.print(F("<input type=\"button\" value=\"SPEGNI\" onclick=\"location.href='index.htm?R1=ON'\">"));
else
// server.print("<input type=\"button\" value=\"qui\" onclick=\"location.href='index.htm?R1=OFF'\">");
server.print(F("<input type=\"button\" value=\"ACCENDI\" onclick=\"location.href='index.htm?R1=OFF'\">"));
server.print(F("</td></tr>"));
if(U2 == true)
server.print(F("<tr><td style=\"color: black;\">CORNICE</td><td>"));
//server.print(F("</td></tr></td><td>"));
else
server.print(F("<tr><td style=\"color: red;\">CORNICE</td><td>"));
//server.print(F("</td></tr></td><td>"));
if(U2 == false)
server.print(F("<input type=\"button\" value=\"SPEGNI\" onclick=\"location.href='index.htm?R2=ON'\">"));
else
server.print(F("<input type=\"button\" value=\"ACCENDI\" onclick=\"location.href='index.htm?R2=OFF'\">"));
server.print(F("</td></tr>"));
if(U3 == true)
server.print(F("<tr><td style=\"color: black;\">HDD</td><td>"));
//server.print(F("</td></tr></td><td>"));
else
server.print(F("<tr><td style=\"color: red;\">HDD</td><td>"));
//server.print(F("</td></tr></td><td>"));
if(U3 == false)
server.print(F("<input type=\"button\" value=\"SPEGNI\" onclick=\"location.href='index.htm?R3=ON'\">"));
else
server.print(F("<input type=\"button\" value=\"ACCENDI\" onclick=\"location.href='index.htm?R3=OFF'\">"));
server.print(F("</td></tr>"));
if(U4 == true)
server.print(F("<tr><td style=\"color: black;\">WD</td><td>"));
// server.print(F("</td></tr></td><td>"));
else
server.print(F("<tr><td style=\"color: red;\">WD</td><td>"));
// server.print(F("</td></tr></td><td>"));
if(U4 == false)
server.print(F("<input type=\"button\" value=\"SPEGNI\" onclick=\"location.href='index.htm?R4=ON'\">"));
else
server.print(F("<input type=\"button\" value=\"ACCENDI\" onclick=\"location.href='index.htm?R4=OFF'\">"));
server.print(F("</td></tr>"));
server.print(F("</table></body></html>"));
Segnalibri