get_ScanData($ste_id, null, $status, $type);
} elseif ($type != 'all') {
    $scans = $db->get_ScanData($ste_id, null, null, $type);
} elseif ($status != 'all') {
    $scans = $db->get_ScanData($ste_id, null, $status);
} elseif (isset($ste_id)) {
    $scans = $db->get_ScanData($ste_id);
}
$stes = $db->get_STE();
?>
    
        
            
            
                
                    
                        
                            | Name | Date |  | Start | Running |  | % Comp | Action   | 
                    
                    
                         0) {
                            foreach ($scans as $scan) {
                                $diff = $scan->get_Last_Update()->diff($scan->get_Start_Time());
                                ?>
                        
                            | get_File_Name(); ?> | get_File_DateTime()->format("Y-m-d"); ?> | ->get_Icon(); ?>) get_Source()->get_Name(); ?>
 | get_Start_Time()->format("y-m-d H:i:s"); ?> | format("%H:%I:%S") : ""); ?> | get_Status(); ?> | get_Percentage_Complete(); ?> | isScanError()) { ?>      get_Status() == 'RUNNING') { ?>   | 
                                
                    
                
             
         
     
 
    
         Do
        you want to delete the associated targets?
    
    
    WARNING: This will delete ALL targets in this scan and all
        associated data even if it was imported from another scan. This
        action is irreversible
 
    
         Are
        you sure you want to delete this scan?
    
 
    
add_import();";
}
include_once 'footer.inc';