char temp[1600]; //buffer dla html strony
void handleRoot()
{
snprintf(temp,1600,
"<html>\
<head>\
<meta http-equiv='refresh' Connection:'close' content='10'/>\
<style>body {background-color:#ECECEC;}</style>\
<title>Kotlownia</title>\
</head>\
<table border=1 cellspacing=2 cellpadding=7 bgcolor='#c0c000' bordercolor='blue'>\
<caption><h1>Kotlownia</h1></caption>\
<tr>\
<td colspan='4' align='center'><b>Temperatura</b></td>\
</tr>\
<tr>\
<td align='center'></td>\
<td align='center'><b>Podacza</b></td>\
<td align='center'><b>Obratka</b></td>\
<td rowspan='2' bgcolor='#8c8c00' align='center'><b>Pompa</b></td>\
</tr>\
<tr> \
<td align='center'><b> Kociol </b></td>\
<td align='center'> %s </td>\
<td align='center'> %s </td>\
</tr> \
<tr>\
<td align='center'><b>Podloga</b></td>\
<td align='center'> %s</td>\
<td align='center'> %s</td>\
<td bgcolor='#8c8c00' align='center'> %s </td>\
</td>\
</tr>\
<tr>\
<td align='center'><b> Batarei </b></td>\
<td align='center'> %s </td>\
<td align='center'> %s </td>\
<td bgcolor='#8c8c00' align='center'> %s </td>\
</td>\
</tr>\
<tr>\
<td align='center'><b>Boiler</b></td>\
<td align='center'> %s</td>\
<td align='center'> %s</td>\
<td bgcolor='#8c8c00' align='center'> %s </td> \
</td>\
</tr>\
<tr>\
<td colspan='4' align='center'>Data : %02d.%02d.%04d</td>\
</tr>\
<tr>\
<td colspan='4' align='center'>Time : %02d:%02d:%02d</td>\
</tr>\
<tr>\
<td colspan='4' align='center'>Work mode : %s</td>\
</tr>\
<body>\
</body>\
</html>", koc_pod_s, koc_obr_s, pod_pod_s, pod_obr_s, pod_pom_on, bat_pod_s, bat_obr_s, bat_pom_on, bol_pod_s, bol_obr_s, bol_pom_on, dzien, miesiac, rok, hr, minut, sec, work_mode_s);
server.send(200, "text/html", temp);
}