16 |
|
|
17 |
<{ |
<{ |
18 |
|
|
19 |
|
reply.setHeader("Refresh", "120"); |
20 |
|
|
21 |
tntdb::Connection conn = tntdb::connect(dburl); |
tntdb::Connection conn = tntdb::connect(dburl); |
22 |
|
|
23 |
|
|
43 |
|
|
44 |
std::ostream& out = reply.out(); |
std::ostream& out = reply.out(); |
45 |
|
|
46 |
for (int i=0; i<inst_res.size(); i++) |
bool hasCritical = false; |
47 |
|
|
48 |
|
for (unsigned i=0; i<inst_res.size(); i++) |
49 |
{ |
{ |
50 |
int id = inst_res[i].getInt(2); |
int id = inst_res[i].getInt(2); |
51 |
st.clear(); |
st.clear(); |
83 |
|
|
84 |
out << "</ul>\n"; |
out << "</ul>\n"; |
85 |
|
|
86 |
|
hasCritical = true; |
87 |
} |
} |
88 |
} |
} |
89 |
} |
} |
90 |
|
|
91 |
|
if (hasCritical == false) |
92 |
|
{ |
93 |
|
out << "<i>No critical installations found</i>\n"; |
94 |
|
} |
95 |
|
|
96 |
}> |
}> |
97 |
|
|
98 |
<&footer> |
<&footer> |