get(); //pre-populate the form if (isset($_REQUEST["id"]) && isset($_REQUEST["fax_uuid"])) { $fax_log_uuid = check_str($_REQUEST["id"]); $fax_uuid = check_str($_REQUEST["fax_uuid"]); $sql = "select * from v_fax_logs "; $sql .= "where domain_uuid = '".$domain_uuid."' "; $sql .= "and fax_log_uuid = '".$fax_log_uuid."' "; $prep_statement = $db->prepare(check_sql($sql)); $prep_statement->execute(); $result = $prep_statement->fetchAll(PDO::FETCH_NAMED); foreach ($result as &$row) { $fax_log_uuid = $row["fax_log_uuid"]; $fax_success = $row["fax_success"]; $fax_result_code = $row["fax_result_code"]; $fax_result_text = $row["fax_result_text"]; $fax_file = $row["fax_file"]; $fax_ecm_used = $row["fax_ecm_used"]; $fax_local_station_id = $row["fax_local_station_id"]; $fax_document_transferred_pages = $row["fax_document_transferred_pages"]; $fax_document_total_pages = $row["fax_document_total_pages"]; $fax_image_resolution = $row["fax_image_resolution"]; $fax_image_size = $row["fax_image_size"]; $fax_bad_rows = $row["fax_bad_rows"]; $fax_transfer_rate = $row["fax_transfer_rate"]; $fax_retry_attempts = $row["fax_retry_attempts"]; $fax_retry_limit = $row["fax_retry_limit"]; $fax_retry_sleep = $row["fax_retry_sleep"]; $fax_uri = $row["fax_uri"]; $fax_date = $row["fax_date"]; $fax_epoch = $row["fax_epoch"]; break; //limit to 1 row } unset ($prep_statement); } //show the header require_once "resources/header.php"; //show the content echo "
| ".$text['label-fax_success']." | \n"; echo "".$fax_success." | \n"; echo "
| ".$text['label-fax_result_code']." | \n"; echo "".$fax_result_code." | \n"; echo "
| ".$text['label-fax_result_text']." | \n"; echo "".$fax_result_text." | \n"; echo "
| ".$text['label-fax_file']." | \n"; echo "".$fax_file." | \n"; echo "
| ".$text['label-fax_ecm_used']." | \n"; echo "".$fax_ecm_used." | \n"; echo "
| ".$text['label-fax_local_station_id']." | \n"; echo "".$fax_local_station_id." | \n"; echo "
| ".$text['label-fax_document_transferred_pages']." | \n"; echo "".$fax_document_transferred_pages." | \n"; echo "
| ".$text['label-fax_document_total_pages']." | \n"; echo "".$fax_document_total_pages." | \n"; echo "
| ".$text['label-fax_image_resolution']." | \n"; echo "".$fax_image_resolution." | \n"; echo "
| ".$text['label-fax_image_size']." | \n"; echo "".$fax_image_size." | \n"; echo "
| ".$text['label-fax_bad_rows']." | \n"; echo "".$fax_bad_rows." | \n"; echo "
| ".$text['label-fax_transfer_rate']." | \n"; echo "".$fax_transfer_rate." | \n"; echo "
| ".$text['label-fax_retry_attempts']." | \n"; echo "".$fax_retry_attempts." | \n"; echo "
| ".$text['label-fax_retry_limit']." | \n"; echo "".$fax_retry_limit." | \n"; echo "
| ".$text['label-fax_retry_sleep']." | \n"; echo "".$fax_retry_sleep." | \n"; echo "
| ".$text['label-fax_uri']." | \n"; echo "".$fax_uri." | \n"; echo "
| ".$text['label-fax_date']." | \n"; echo "".$fax_date." | \n"; echo "
| ".$text['label-fax_epoch']." | \n"; echo "".$fax_epoch." | \n"; echo "