--- astcc-admin-orig.cgi 2005-03-15 09:04:46.409327778 +0800 +++ astcc-admin.cgi 2005-03-15 09:30:06.408736508 +0800 @@ -451,7 +451,8 @@ $body .= ""; $body .= "" . $status . "\n"; if ($cardinfo->{'number'}) { - $body .= "\n"; + $body .= "\n"; +# my $sth = $dbh->prepare("SELECT * FROM cdrs WHERE cardnum=" . $dbh->quote($cardinfo->{'number'}) . " ORDER BY callstart"); my $sth = $dbh->prepare("SELECT * FROM cdrs WHERE cardnum=" . $dbh->quote($cardinfo->{'number'})); my $res; my $count; @@ -466,7 +467,7 @@ } else { $color = "#ffffcc"; } - $body .= "" . + $body .= "" . ""; } } @@ -1360,7 +1361,7 @@ $msg = "Database unavailable -- please check configuration" unless $dbh; print "Asterisk™ Calling Card manager: $mode\n"; - print "
Caller*IDCalled NumberTrunkDispositionBillable SecondsBilled Cost
Start TimeCaller*IDCalled NumberTrunkDispositionBillable SecondsBilled Cost
$callerid$res->{callednum}$res->{trunk}
$res->{callstart}$callerid$res->{callednum}$res->{trunk}$res->{disposition}$res->{billseconds}$res->{billcost}
\n"; + print "
\n"; print " "; print " ";
Asterisk™ Calling Card Admin: $mode" . "
$msg
$menu$body