8 |
use CGI::Carp qw(fatalsToBrowser); |
use CGI::Carp qw(fatalsToBrowser); |
9 |
use POSIX qw(strftime); |
use POSIX qw(strftime); |
10 |
|
|
11 |
my $debug = 1; |
my $debug = 0; |
12 |
|
|
13 |
my $width = 600; # width of bar |
my $width = 600; # width of bar |
14 |
my $height = 19; # height of bar |
my $height = 19; # height of bar |
221 |
where (start < '$from' and finish > '$from') or |
where (start < '$from' and finish > '$from') or |
222 |
(start > '$from' and start < '$to') |
(start > '$from' and start < '$to') |
223 |
order by device,specification,start |
order by device,specification,start |
224 |
" |
"; |
225 |
|
|
226 |
my $sth = $dbh->prepare($sql) || die "sql: $sql ".$dbh->errstr; |
my $sth = $dbh->prepare($sql) || die "sql: $sql ".$dbh->errstr; |
227 |
|
|