get_Target_Details($_REQUEST['left_ste'], $_REQUEST['left_tgt'])[0]; $right_tgt = $db->get_Target_Details($_REQUEST['right_ste'], $_REQUEST['right_tgt'])[0]; $findings = $db->get_Finding_Comparrison($left_tgt, $right_tgt); ?>
$find) { ?> _row"> ".$str.""; } else { print ""; } $str = ""; $diff = false; if(is_null($find)) { $str .= " "; } else { $str .= $find['ia_controls']; } if(isset($findings['right'][$stig_id])) { $str .= " / ".$findings['right'][$stig_id]['ia_controls']; if($find['ia_controls'] != $findings['right'][$stig_id]['ia_controls']) { $diff = true; } } else { $str .= " /"; } if($diff) { print ""; } else { print ""; } $str = ""; if(is_null($find)) { $str .= ""; } else { $status = strtolower(str_replace(" ", "_", $find['status'])); $str .= ""; } if(isset($findings['right'][$stig_id])) { $status = strtolower(str_replace(" ", "_", $findings['right'][$stig_id]['status'])); $str .= ""; } else { $str .= ""; } print $str; $str = ""; if(is_null($find)) { $str .= ""; } else { $str .= ""; } if(isset($findings['right'][$stig_id])) { $str .= ""; } else { $str .= ""; } print $str; $odd = !$odd; } ?>
STIG ID CAT IA Controls Left Status Right Status Left Notes Right Notes
".$str."".$str."".$str."Not Reviewed".$find['status']."".$findings['right'][$stig_id]['status']."Not Reviewed ".$find['notes']."".$findings['right'][$stig_id]['notes']."