CDR: Database class integration.

This commit is contained in:
Nate
2019-09-03 08:29:44 -06:00
parent 27a7f6e9fc
commit 112ae11328
14 changed files with 707 additions and 614 deletions
+8 -7
View File
@@ -47,11 +47,11 @@
require_once "resources/header.php";
//retrieve submitted data
$quick_select = check_str($_REQUEST['quick_select']);
$start_stamp_begin = check_str($_REQUEST['start_stamp_begin']);
$start_stamp_end = check_str($_REQUEST['start_stamp_end']);
$include_internal = check_str($_REQUEST['include_internal']);
$quick_select = (sizeof($_REQUEST) == 0) ? 3 : $quick_select; //set default
$quick_select = $_REQUEST['quick_select'];
$start_stamp_begin = $_REQUEST['start_stamp_begin'];
$start_stamp_end = $_REQUEST['start_stamp_end'];
$include_internal = $_REQUEST['include_internal'];
$quick_select = sizeof($_REQUEST) == 0 ? 3 : $quick_select; //set default
//get the summary
$cdr = new xml_cdr;
@@ -112,7 +112,8 @@
echo "onclick=\"window.location='xml_cdr_extension_summary.php?";
if (strlen($_SERVER["QUERY_STRING"]) > 0) {
echo $_SERVER["QUERY_STRING"]."&type=csv';\">\n";
} else {
}
else {
echo "type=csv';\">\n";
}
@@ -257,4 +258,4 @@
//show the footer
require_once "resources/footer.php";
?>
?>