17 |
int id; |
int id; |
18 |
</%args> |
</%args> |
19 |
<{ |
<{ |
20 |
|
reply.setHeader("Cache-Control", "no-cache, must-revalidate"); // Http/1.1 |
21 |
|
reply.setHeader("Expires", "Mon, 26 Jul 1997 05:00:00 GMT"); //date in the past |
22 |
|
|
23 |
GD::Image image; |
GD::Image image; |
24 |
image.CreateTrueColor( GD::Size(600,360)); |
image.CreateTrueColor( GD::Size(600,360)); |
51 |
///////////////////////////////////////////////// |
///////////////////////////////////////////////// |
52 |
|
|
53 |
|
|
54 |
tntdb::Connection conn = tntdb::connect(dburl); |
tntdb::Connection conn = tntdb::connectCached(dburl); |
55 |
|
|
56 |
std::stringstream query; |
std::stringstream query; |
57 |
query << "SELECT temperature FROM ( "; |
query << "SELECT temperature FROM ( "; |