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)); |
64 |
tntdb::Result res = conn.select(query.str()); |
tntdb::Result res = conn.select(query.str()); |
65 |
|
|
66 |
GD::Point previous; |
GD::Point previous; |
67 |
for (int i=0; i<res.size(); ++i) |
for (unsigned int i=0; i<res.size(); ++i) |
68 |
{ |
{ |
69 |
int current = res[i].getInt(0); |
int current = res[i].getInt(0); |
70 |
int x = (i*28) + 45; |
int x = (i*28) + 45; |