/[omni_gantt]/db2gantt.cgi
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /db2gantt.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by dpavlin, Sun Sep 15 19:17:37 2002 UTC revision 1.18 by dpavlin, Sun Sep 15 19:21:33 2002 UTC
# Line 8  use CGI qw/:standard/; Line 8  use CGI qw/:standard/;
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
# Line 221  my $sql = "select start,finish,specifica Line 221  my $sql = "select start,finish,specifica
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    

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.26