Esempio n. 1
0
</td>
					<td class="blackp" nowrap='nowrap' style="text-align:right"><?php 
echo _("Highest");
?>
 <strong><?php 
echo _("risk");
?>
</strong>:</td>
					<td class="blackp" style="text-align:left" nowrap='nowrap'>
						<table style="width:auto" cellpadding='0' cellspacing='0'>
							<tr>
								<td class="blackp"><a href="../forensics/base_qry_main.php?clear_allcriteria=1&num_result_rows=-1&submit=Query+DB&current_view=-1&sort_order=time_d&ip=<?php 
echo urlencode($host);
?>
&date_range=All"><?php 
echo Incident::get_priority_in_html($sim_highrisk);
?>
</a></td>
								<td class="blackp"> (<strong><?php 
echo $sim_risknum;
?>
</strong> <i><?php 
echo _("events");
?>
</i>)</td>
							</tr>
						</table>
					</td>
				</tr>
				<!-- LOGGER -->
				<tr bgcolor="#E1EFE0">
Esempio n. 2
0
            }
            if (!empty($vl)) {
                echo " <font color='grey' size='1'>({$vl})</font>";
            }
        }
        ?>
						</td>
					
						<?php 
        $priority = $incident->get_priority();
        ?>
						<td <?php 
        echo $class;
        ?>
><?php 
        echo Incident::get_priority_in_html($priority);
        ?>
</td>
						<td <?php 
        echo $class;
        ?>
 nowrap='nowrap'><?php 
        echo $incident->get_date();
        ?>
</td>
						<td <?php 
        echo $class;
        ?>
 nowrap='nowrap'><?php 
        echo $incident->get_life_time();
        ?>
Esempio n. 3
0
			<tr>
				<td style="text-align:right;padding-right:20px">
					<a style="color:black" href="<?php 
    echo $temp_url;
    ?>
"><strong>More >></strong></a>
				</td>
			</tr>
			
			<script type="text/javascript">
				document.getElementById('statusbar_unresolved_alarms').innerHTML = '<?php 
    echo Util::number_format_locale((int) $count, 0);
    ?>
';
				document.getElementById('statusbar_alarm_max_risk').innerHTML = '<?php 
    echo preg_replace("/\n|\r/", "", Incident::get_priority_in_html($a_maxrisk));
    ?>
';
				document.getElementById('statusbar_alarm_max_risk').href = '<?php 
    echo $alarm_link;
    ?>
';
				document.getElementById('statusbar_alarm_max_risk_txt').href = '<?php 
    echo $alarm_link;
    ?>
';
			</script>
			
			<?php 
}
?>
Esempio n. 4
0
                $transferred = false;
            }
        } else {
            $transferred = Session::get_list($conn, "WHERE login='******'");
            $transferred = count($transferred) == 1 ? $transferred[0] : false;
            $transferred_name = format_user($transferred);
        }
    } else {
        $transferred = false;
    }
    $descrip = $ticket->get_description();
    $action = $ticket->get_action();
    $status = $ticket->get_status();
    $prio = $ticket->get_priority();
    $prio_str = Incident::get_priority_string($prio);
    $prio_box = Incident::get_priority_in_html($prio);
    if ($attach = $ticket->get_attachment($conn)) {
        $file_id = $attach->get_id();
        $file_name = $attach->get_name();
        $file_type = $attach->get_type();
    }
    ?>
	
    <table width="100%" cellspacing="2" align="center">
		<!-- ticket head -->
		<tr>
			<th width="78%" nowrap='nowrap'><strong><?php 
    echo format_user($creator);
    ?>
</strong> - <?php 
    echo $date;
Esempio n. 5
0
        ?>
</td>
						<td><?php 
        Incident::colorize_status($incident->get_status());
        ?>
</td>
					</tr>
					
					<?php 
        $i++;
    }
    ?>
					
					<script type="text/javascript">
						document.getElementById('statusbar_incident_max_priority').innerHTML = '<?php 
    echo preg_replace("/\n|\r/", "", Incident::get_priority_in_html($i_maxprio));
    ?>
';
						document.getElementById('statusbar_incident_max_priority').href      = "../incidents/incident.php?id=<?php 
    echo $i_maxprio_id;
    ?>
";
						document.getElementById('statusbar_incident_max_priority_txt').href  = '../incidents/incident.php?id=<?php 
    echo $i_maxprio_id;
    ?>
';
					</script>
			</table>
		</td>
	</tr>
	<tr><td style="text-align:right;padding-right:20px"><a style="color:black" href="../incidents/index.php?status=Open&with_text=<?php