当前位置: 首页>>代码示例>>PHP>>正文


PHP Menu::get_menu_url方法代码示例

本文整理汇总了PHP中Menu::get_menu_url方法的典型用法代码示例。如果您正苦于以下问题:PHP Menu::get_menu_url方法的具体用法?PHP Menu::get_menu_url怎么用?PHP Menu::get_menu_url使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Menu的用法示例。


在下文中一共展示了Menu::get_menu_url方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: DisplayGraphs

function DisplayGraphs($type)
{
    $self = Menu::get_menu_url('/ossim/nfsen/nfsen.php?tab=2', 'environment', 'netflow', 'details');
    $profile = $_SESSION['profile'];
    $profilegroup = $_SESSION['profilegroup'];
    if ($profilegroup == '.') {
        print "<h2>Profile: " . Util::htmlentities($profile) . ", Group: (nogroup) - " . Util::htmlentities($type) . "</h2>\n";
    } else {
        print "<h2>Profile: " . Util::htmlentities($profile) . ", Group: " . Util::htmlentities($profilegroup . " - " . $type) . "</h2>\n";
    }
    if ($_SESSION['profileinfo']['graphs'] != 'ok') {
        print "<h2>No data available!</h2>\n";
        return;
    }
    $profileswitch = "{$profilegroup}/{$profile}";
    print "<center><a href='" . Util::htmlentities($self) . (preg_match("/\\?/", $self) ? "&" : "?") . "tab=2&win=day&type=" . urlencode($type) . "'> <IMG src='pic.php?profileswitch=" . urlencode($profileswitch) . "&amp;file={$type}-day' width='669' height='281' border='0'></a>\n";
    print "<br>";
    print "<a href='" . Util::htmlentities($self) . (preg_match("/\\?/", $self) ? "&" : "?") . "tab=2&win=week&type=" . urlencode($type) . "'> <IMG src='pic.php?profileswitch=" . urlencode($profileswitch) . "&amp;file={$type}-week' width='669' height='281' border='0'></a>\n";
    print "<br>";
    print "<a href='" . Util::htmlentities($self) . (preg_match("/\\?/", $self) ? "&" : "?") . "tab=2&win=month&type=" . urlencode($type) . "'> <IMG src='pic.php?profileswitch=" . urlencode($profileswitch) . "&amp;file={$type}-month' width='669' height='281' border='0'></a>\n";
    print "<br>";
    print "<a href='" . Util::htmlentities($self) . (preg_match("/\\?/", $self) ? "&" : "?") . "tab=2&win=year&type=" . urlencode($type) . "'> <IMG src='pic.php?profileswitch=" . urlencode($profileswitch) . "&amp;file={$type}-year' width='669' height='281' border='0'></a>\n";
    print "<br></center>";
}
开发者ID:jackpf,项目名称:ossim-arc,代码行数:24,代码来源:overview.php

示例2: _

	<tr>
		<td class="nobborder"><img src="../pixmaps/loading3.gif"></td>
		<td class="nobborder"><?php 
echo _("Loading data...");
?>
</td>
	</tr>
</table>
</div>
<?php 
// Honeypot Events List
if ($type == "honeypot_events") {
    $text_column = _("Event");
    $value_column = _("Count");
    $nodata_text .= _(" for <i>Honeypot</i>");
    $f_url = Menu::get_menu_url("../forensics/base_qry_main.php?clear_allcriteria=1&time_range=week&time[0][0]=+&time[0][1]=>%3D&time[0][2]=" . gmdate("m", $timetz - $range) . "&time[0][3]=" . gmdate("d", $timetz - $range) . "&time[0][4]=" . gmdate("Y", $timetz - $range) . "&time[0][5]=&time[0][6]=&time[0][7]=&time[0][8]=+&time[0][9]=+&submit=Query+DB&sig_type=1&sig%5B0%5D=%3D&sig%5B1%5D=QQQ&sort_order=time_d", 'analysis', 'security_events', 'security_events');
    $query = "select count(*) as val,p.name,p.plugin_id,p.sid FROM snort.acid_event a,ossim.plugin_sid p WHERE p.plugin_id=a.plugin_id AND p.sid=a.plugin_sid AND p.category_id=19 AND a.timestamp BETWEEN '" . gmdate("Y-m-d H:i:s", gmdate("U") - $range) . "' AND '" . gmdate("Y-m-d H:i:s") . "' {$sensor_where} group by p.name order by val desc limit 10";
}
if (!($rs =& $conn->Execute($query))) {
    print $conn->ErrorMsg();
    exit;
}
$data = array();
while (!$rs->EOF) {
    $data[] = array("text" => $rs->fields['name'], "value" => $rs->fields['val'], "link" => str_replace("QQQ", $rs->fields["plugin_id"] . "%3B" . $rs->fields["sid"], $f_url));
    $rs->MoveNext();
}
$db->close();
?>
<div id="content" style="display:none;height:100%">
<table width="100%" height="100%" cellpadding=3 cellspacing=0 style="border:0px">
开发者ID:AntBean,项目名称:alienvault-ossim,代码行数:31,代码来源:table.php

示例3: SIEM_trends_week

        break;
    case 'siemdays':
        //Amount of days to show in the widget.
        $max = $chart_info['range'] == '' ? 7 : $chart_info['range'];
        //Type of graph. In this case is the simple raphael.
        $js = "analytics";
        //Retrieving the data of the widget
        $values = SIEM_trends_week("", $max, $assets_filters);
        //Formating the info into a generinf format valid for the handler.
        for ($i = $max - 1; $i >= 0; $i--) {
            $tref = $timetz - 86400 * $i;
            $d = gmdate("j M", $tref);
            $label[] = $d;
            $key = $d;
            $data[] = $values[$d] != "" ? $values[$d] : 0;
            $link = Menu::get_menu_url("/ossim/forensics/base_qry_main.php?clear_allcriteria=1&time_range=range&time[0][0]=+&time[0][1]=>%3D&time[0][2]=" . gmdate("m", $tref) . "&time[0][3]=" . gmdate("d", $tref) . "&time[0][4]=" . gmdate("Y", $tref) . "&time[0][5]=00&time[0][6]=00&time[0][7]=00&time[0][8]=+&time[0][9]=AND&time[1][0]=+&time[1][1]=<%3D&time[1][2]=" . gmdate("m", $tref) . "&time[1][3]=" . gmdate("d", $tref) . "&time[1][4]=" . gmdate("Y", $tref) . "&time[1][5]=23&time[1][6]=59&time[1][7]=59&time[1][8]=+&time[1][9]=+&submit=Query+DB&num_result_rows=-1&time_cnt=2&sort_order=time_d&hmenu=Forensics&smenu=Forensics", 'analysis', 'security_events');
            $links[$key] = $link;
        }
        //Widget's links
        $siem_url = $links;
        $colors = "'#444444'";
        //Message in case of empty widget.
        $nodata_text = "No data available yet";
        break;
        //In case of error a message will be shown.
    //In case of error a message will be shown.
    default:
        $nodata_text = _("Unknown Type");
}
$db->close();
//Now the handler is called to draw the proper widget, this is: any kind of chart, tag_cloud, etc...
开发者ID:jackpf,项目名称:ossim-arc,代码行数:31,代码来源:security.php

示例4:

		$(document).ready(function(){
			
			GB_TYPE = 'w';
			
			$("a.greybox").click(function(){
				var t = this.title || $(this).text() || this.href;
				GB_show(t,this.href, 400, 600);
				return false;
			});

			if (!parent.is_lightbox_loaded(window.name))
			{
			    $('.c_back_button').show();
			}
			<?php 
$p_url = Menu::get_menu_url('/ossim/conf/plugin.php', 'configuration', 'threat_intelligence', 'data_source');
?>
			$(".c_back_button").click(function(){
				document.location.href='<?php 
echo $p_url;
?>
';
			});
		});
	</script>
	
	<style type='text/css'>
		#t_ref{
			margin: 50px auto;
			max-width: 1200px;
			white-space: nowrap;
开发者ID:AntBean,项目名称:alienvault-ossim,代码行数:31,代码来源:manage_references.php

示例5: get_report_data

function get_report_data($id = NULL)
{
    $conf = $GLOBALS['CONF'];
    $conf = !$conf ? new Ossim_conf() : $conf;
    $y = strftime('%Y', time() - 24 * 60 * 60 * 30);
    $m = strftime('%m', time() - 24 * 60 * 60 * 30);
    $d = strftime('%d', time() - 24 * 60 * 60 * 30);
    $reports['asset_report'] = array('report_name' => _('Asset Details'), 'report_id' => 'asset_report', 'type' => 'external', 'link_id' => 'link_ar_asset', 'link' => '', 'parameters' => array(array('name' => _('Host Name/IP/Network'), 'id' => 'ar_asset', 'type' => 'asset', 'default_value' => '')), 'access' => Session::menu_perms('environment-menu', 'PolicyHosts') || Session::menu_perms('environment-menu', 'PolicyNetworks'), 'send_by_email' => 0);
    $status_values = array('All' => array('text' => _('All')), 'Open' => array('text' => _('Open')), 'Assigned' => array('text' => _('Assigned')), 'Studying' => array('text' => _('Studying')), 'Waiting' => array('text' => _('Waiting')), 'Testing' => array('text' => _('Testing')), 'Closed' => array('text' => _('Closed')));
    $types_values = array('ALL' => array('text' => _('ALL')), 'Expansion Virus' => array('text' => _('Expansion Virus')), 'Corporative Nets Attack' => array('text' => _('Corporative Nets Attack')), 'Policy Violation' => array('text' => _('Policy Violation')), 'Security Weakness' => array('text' => _('Security Weakness')), 'Net Performance' => array('text' => _('Net Performance')), 'Applications and Systems Failures' => array('text' => _('Applications and Systems Failures')), 'Anomalies' => array('text' => _('Anomalies')), 'Vulnerability' => array('text' => _('Vulnerability')));
    $priority_values = array('High' => _('High'), 'Medium' => _('Medium'), 'Low' => _('Low'));
    $reports['tickets_report'] = array('report_name' => _('Tickets Report'), 'report_id' => 'tickets_report', 'type' => 'pdf', 'subreports' => array('title_page' => array('id' => 'title_page', 'name' => _('Title Page'), 'report_file' => 'os_reports/Common/titlepage.php'), 'alarm' => array('id' => 'alarm', 'name' => _('Alarm'), 'report_file' => 'os_reports/Tickets/Alarm.php'), 'event' => array('id' => 'event', 'name' => _('Event'), 'report_file' => 'os_reports/Tickets/Event.php'), 'anomaly' => array('id' => 'anomaly', 'name' => _('Anomaly'), 'report_file' => 'os_reports/Tickets/Anomaly.php'), 'vulnerability' => array('id' => 'vulnerability', 'name' => _('Vulnerability'), 'report_file' => 'os_reports/Tickets/Vulnerability.php')), 'parameters' => array(array('name' => _('Date Range'), 'date_from_id' => 'tr_date_from', 'date_to_id' => 'tr_date_to', 'type' => 'date_range', 'default_value' => array('date_from' => $y . '-' . $m . '-' . $d, 'date_to' => date('Y') . '-' . date('m') . '-' . date('d'))), array('name' => _('Status'), 'id' => 'tr_status', 'type' => 'select', 'values' => $status_values), array('name' => _('Type'), 'id' => 'tr_type', 'type' => 'select', 'values' => $types_values), array('name' => _('Priority'), 'id' => 'tr_priority', 'type' => 'checkbox', 'values' => $priority_values)), 'access' => Session::menu_perms('analysis-menu', 'IncidentsIncidents'), 'send_by_email' => 1);
    $reports['alarm_report'] = array('report_name' => _('Alarms Report'), 'report_id' => 'alarm_report', 'type' => 'pdf', 'subreports' => array('title_page' => array('id' => 'title_page', 'name' => _('Title Page'), 'report_file' => 'os_reports/Common/titlepage.php'), 'top_attacker_host' => array('id' => 'top_attacker_host', 'name' => _('Top 10 Attacker Host'), 'report_file' => 'os_reports/Alarms/AttackerHosts.php'), 'top_attacked_host' => array('id' => 'top_attacked_host', 'name' => _('Top 10 Attacked Host'), 'report_file' => 'os_reports/Alarms/AttackedHosts.php'), 'used_port' => array('id' => 'used_port', 'name' => _('Top 10 Used Ports'), 'report_file' => 'os_reports/Alarms/UsedPorts.php'), 'top_events' => array('id' => 'top_events', 'name' => _('Top 15 Alarms'), 'report_file' => 'os_reports/Alarms/TopAlarms.php'), 'events_by_risk' => array('id' => 'events_by_risk', 'name' => _('Top 15 Alarms by Risk'), 'report_file' => 'os_reports/Alarms/TopAlarmsByRisk.php')), 'parameters' => array(array('name' => _('Date Range'), 'date_from_id' => 'ar_date_from', 'date_to_id' => 'ar_date_to', 'type' => 'date_range', 'default_value' => array('date_from' => $y . '-' . $m . '-' . $d, 'date_to' => date('Y') . '-' . date('m') . '-' . date('d')))), 'access' => Session::menu_perms('analysis-menu', 'ControlPanelAlarms'), 'send_by_email' => 1);
    $reports['bc_pci_report'] = array('report_name' => _('Business & Compliance ISO PCI Report'), 'report_id' => 'bc_pci_report', 'type' => 'pdf', 'subreports' => array('title_page' => array('id' => 'title_page', 'name' => _('Title Page'), 'report_file' => 'os_reports/Common/titlepage.php'), 'threat_overview' => array('id' => 'threat_overview', 'name' => _('Threat overview'), 'report_file' => 'os_reports/BusinessAndComplianceISOPCI/ThreatOverview.php'), 'bri_risks' => array('id' => 'bri_risks', 'name' => _('Business real impact risks'), 'report_file' => 'os_reports/BusinessAndComplianceISOPCI/BusinessPotentialImpactsRisks.php'), 'ciap_impact' => array('id' => 'ciap_impact', 'name' => _('C.I.A Potential impact'), 'report_file' => 'os_reports/BusinessAndComplianceISOPCI/CIAPotentialImpactsRisks.php'), 'pci_dss' => array('id' => 'pci_dss', 'name' => _('PCI-DSS 2.0'), 'report_file' => 'os_reports/BusinessAndComplianceISOPCI/PCI-DSS.php'), 'pci_dss3' => array('id' => 'pci_dss3', 'name' => _('PCI-DSS 3.0'), 'report_file' => 'os_reports/BusinessAndComplianceISOPCI/PCI-DSS3.php'), 'trends' => array('id' => 'trends', 'name' => _('Trends'), 'report_file' => 'os_reports/BusinessAndComplianceISOPCI/Trends.php'), 'iso27002_p_impact' => array('id' => 'iso27002_p_impact', 'name' => _('ISO27002 Potential impact'), 'report_file' => 'os_reports/BusinessAndComplianceISOPCI/ISO27002PotentialImpact.php'), 'iso27001' => array('id' => 'iso27001', 'name' => _('ISO27001'), 'report_file' => 'os_reports/BusinessAndComplianceISOPCI/ISO27001.php')), 'parameters' => array(array('name' => _('Date Range'), 'date_from_id' => 'bc_pci_date_from', 'date_to_id' => 'bc_pci_date_to', 'type' => 'date_range', 'default_value' => array('date_from' => $y . '-' . $m . '-' . $d, 'date_to' => date('Y') . '-' . date('m') . '-' . date('d')))), 'access' => Session::menu_perms('report-menu', 'ReportsReportServer'), 'send_by_email' => 1);
    $reports['siem_report'] = array('report_name' => _('SIEM Events'), 'report_id' => 'siem_report', 'type' => 'pdf', 'subreports' => array('title_page' => array('id' => 'title_page', 'name' => _('Title Page'), 'report_file' => 'os_reports/Common/titlepage.php'), 'top_attacker_host' => array('id' => 'top_attacker_host', 'name' => _('Top 10 Attacker Host'), 'report_file' => 'os_reports/Siem/AttackerHosts.php'), 'top_attacked_host' => array('id' => 'top_attacked_host', 'name' => _('Top 10 Attacked Host'), 'report_file' => 'os_reports/Siem/AttackedHosts.php'), 'used_port' => array('id' => 'used_port', 'name' => _('Top 10 Used Ports'), 'report_file' => 'os_reports/Siem/UsedPorts.php'), 'top_events' => array('id' => 'top_events', 'name' => _('Top 15 Events'), 'report_file' => 'os_reports/Siem/TopEvents.php'), 'events_by_risk' => array('id' => 'events_by_risk', 'name' => _('Top 15 Events by Risk'), 'report_file' => 'os_reports/Siem/TopEventsByRisk.php')), 'parameters' => array(array('name' => _('Date Range'), 'date_from_id' => 'sr_date_from', 'date_to_id' => 'sr_date_to', 'type' => 'date_range', 'default_value' => array('date_from' => $y . '-' . $m . '-' . $d, 'date_to' => date('Y') . '-' . date('m') . '-' . date('d')))), 'access' => Session::menu_perms('analysis-menu', 'EventsForensics'), 'send_by_email' => 1);
    $reports['vulnerabilities_report'] = array('report_name' => _('Vulnerabilities Report'), 'report_id' => 'vulnerabilities_report', 'type' => 'external', 'target' => '_blank', 'link_id' => 'link_vr', 'link' => Menu::get_menu_url('../vulnmeter/lr_respdf.php?ipl=all&scantype=M', 'environment', 'vulnerabilities', 'overview'), 'access' => Session::menu_perms('analysis-menu', 'EventsVulnerabilities'), 'send_by_email' => 0);
    $reports['th_vuln_db'] = array('report_name' => _('Threats & Vulnerabilities Database'), 'report_id' => 'th_vuln_db', 'type' => 'external', 'link_id' => 'link_tvd', 'link' => Menu::get_menu_url('../vulnmeter/threats-db.php', 'environment', 'vulnerabilities', 'threat_database'), 'access' => Session::menu_perms('analysis-menu', 'EventsVulnerabilities'), 'send_by_email' => 0);
    $reports['ticket_status'] = array('report_name' => _('Tickets Status'), 'report_id' => 'ticket_status', 'type' => 'external', 'link_id' => 'link_tr', 'link' => Menu::get_menu_url('../report/incidentreport.php', 'analysis', 'tickets', 'tickets'), 'access' => Session::menu_perms('analysis-menu', 'IncidentsIncidents'), 'send_by_email' => 0);
    $db = new ossim_db();
    $conn = $db->connect();
    $user = Session::get_session_user();
    $session_list = Session::get_list($conn, 'ORDER BY login');
    if (preg_match('/pro|demo/', $conf->get_conf('ossim_server_version')) && !Session::am_i_admin()) {
        $myusers = Acl::get_my_users($conn, Session::get_session_user());
        if (count($myusers) > 0) {
            $is_pro_admin = 1;
        }
    }
    // User Log lists
    if (Session::am_i_admin()) {
        $user_values[''] = array('text' => _('All'));
        if ($session_list) {
            foreach ($session_list as $session) {
                $login = $session->get_login();
                $user_values[$login] = $login == $user ? array('text' => $login, 'selected' => TRUE) : array('text' => $login);
            }
        }
    } elseif ($is_pro_admin) {
        foreach ($myusers as $myuser) {
            $user_values[$myuser['login']] = array('text' => $myuser['login']);
            $user_values[$user] = array('text' => $user, 'selected' => TRUE);
        }
    } else {
        $user_values[$user] = array('text' => $user);
    }
    $code_list = Log_config::get_list($conn, 'ORDER BY descr');
    $action_values[''] = array('text' => _('All'));
    if ($code_list) {
        foreach ($code_list as $code_log) {
            $code_aux = $code_log->get_code();
            $action_values[$code_aux] = array('text' => '[' . sprintf("%02d", $code_aux) . '] ' . _(preg_replace('|%.*?%|', " ", $code_log->get_descr())));
        }
    }
    $reports['user_activity'] = array('report_name' => _('User Activity Report'), 'report_id' => 'user_activity', 'type' => 'external', 'link_id' => 'link_ua', 'link' => Menu::get_menu_url('../userlog/user_action_log.php', 'settings', 'settings', 'user_activity'), 'parameters' => array(array('name' => _('User'), 'id' => 'ua_user', 'type' => 'select', 'values' => $user_values), array('name' => _('Action'), 'id' => 'ua_action', 'type' => 'select', 'values' => $action_values)), 'access' => Session::menu_perms('settings-menu', 'ToolsUserLog'), 'send_by_email' => 0);
    $reports['geographic_report'] = array('report_name' => _('Geographic Report'), 'report_id' => 'geographic_report', 'type' => 'pdf', 'subreports' => array('title_page' => array('id' => 'title_page', 'name' => _('Title Page'), 'report_file' => 'os_reports/Common/titlepage.php'), 'geographic_report' => array('id' => 'geographic_report', 'name' => _('Geographic Report'), 'report_file' => 'os_reports/Various/Geographic.php')), 'parameters' => array(array('name' => _('Date Range'), 'date_from_id' => 'gr_date_from', 'date_to_id' => 'gr_date_to', 'type' => 'date_range', 'default_value' => array('date_from' => $y . '-' . $m . '-' . $d, 'date_to' => date('Y') . '-' . date('m') . '-' . date('d')))), 'access' => Session::menu_perms('analysis-menu', 'EventsForensics'), 'send_by_email' => 1);
    //Sensor list
    $sensor_values[''] = array('text' => ' -- ' . _('Sensors no found') . ' -- ');
    $filters = array('order_by' => 'name');
    $sensor_list = Av_sensor::get_basic_list($conn, $filters);
    $filters = array('order_by' => 'priority desc');
    list($sensor_list, $sensor_total) = Av_sensor::get_list($conn, $filters);
    if ($sensor_total > 0) {
        $sensor_values = array();
        foreach ($sensor_list as $s) {
            $properties = $s['properties'];
            if ($properties['has_nagios']) {
                $sensor_values[$s['ip']] = array('text' => $s['name']);
            }
        }
    }
    /* Nagios link */
    $nagios_link = $conf->get_conf('nagios_link');
    $scheme = empty($_SERVER['HTTPS']) ? 'http://' : 'https://';
    $path = !empty($nagios_link) ? $nagios_link : '/nagios3/';
    $port = !empty($_SERVER['SERVER_PORT']) ? ':' . $_SERVER['SERVER_PORT'] : "";
    $nagios = $port . $path;
    $section_values = array(urlencode($nagios . 'cgi-bin/trends.cgi') => array('text' => _('Trends')), urlencode($nagios . 'cgi-bin/avail.cgi') => array('text' => _('Availability')), urlencode($nagios . 'cgi-bin/histogram.cgi') => array('text' => _('Event Histogram')), urlencode($nagios . 'cgi-bin/history.cgi?host=all') => array('text' => _('Event History')), urlencode($nagios . 'cgi-bin/summary.cgi') => array('text' => _('Event Summary')), urlencode($nagios . 'cgi-bin/notifications.cgi') => array('text' => _('Notifications')), urlencode($nagios . 'cgi-bin/showlog.cgi') => array('text' => _('Performance Info')));
    $reports['availability_report'] = array('report_name' => _('Availability Report'), 'report_id' => 'availability_report', 'type' => 'external', 'link_id' => 'link_avr', 'click' => "nagios_link('avr_nagios_link', 'avr_sensor', 'avr_section');", 'parameters' => array(array('name' => _('Sensor'), 'id' => 'avr_sensor', 'type' => 'select', 'values' => $sensor_values), array('name' => 'Nagioslink', 'id' => 'avr_nagios_link', 'type' => 'hidden', 'default_value' => urlencode($scheme)), array('name' => _('Section'), 'id' => 'avr_section', 'type' => 'select', 'values' => $section_values)), 'access' => Session::menu_perms('environment-menu', 'MonitorsAvailability'), 'send_by_email' => 0);
    $db->close();
    if ($id == NULL) {
        ksort($reports);
        return $reports;
    } else {
        return !empty($reports[$id]) ? $reports[$id] : array();
    }
}
开发者ID:jackpf,项目名称:ossim-arc,代码行数:86,代码来源:os_report_common.php

示例6: _

                echo _('Enable');
                ?>
 </a></td>
										<?php 
            }
            ?>
								<td>
									<table class="noborder">
										<tr>
											<td class="small nobborder" nowrap='nowrap'><i><?php 
            echo $event["timestamp"];
            ?>
</i>&nbsp;</td>
											<td class="small nobborder">											 
                                                <?php 
            $f_url = Menu::get_menu_url($acid_main_link . "&plugin=" . urlencode($sensor_plugin["plugin_id"]), 'analysis', 'security_events', 'security_events');
            ?>
                                                
                                                <a href="<?php 
            echo $f_url;
            ?>
"><strong><?php 
            echo $event["sig_name"];
            ?>
</strong></a>
											 </td>
										</tr>
									</table>
								</td>
							</tr>
							
开发者ID:alienfault,项目名称:ossim,代码行数:30,代码来源:get_sensor_info.php

示例7: _

                <img src='../pixmaps/risk_home.png' alt='<?php 
echo _('Home');
?>
' title='<?php 
echo _("Go to default map");
?>
'/>
            </a>
        </div>

        <div class='rb_right btn_info'>
            <?php 
if (!empty($_SESSION['path_riskmaps'][$map]) && $_SESSION['path_riskmaps'][$map] != $map && preg_match('/view\\.php/', $_SERVER['HTTP_REFERER'])) {
    ?>
                <a href='<?php 
    echo Menu::get_menu_url('view.php?back_map=' . $_SESSION['path_riskmaps'][$map], 'dashboard', 'riskmaps', 'overview');
    ?>
'>
                    <img src='../pixmaps/risk_back.png' alt='<?php 
    echo _('Previous');
    ?>
' title='<?php 
    echo _('Previous map');
    ?>
'/>
                </a>
                <?php 
} else {
    ?>
                <img src='../pixmaps/risk_back.png' class='bt_opacity' alt='<?php 
    echo _('Previous');
开发者ID:AntBean,项目名称:alienvault-ossim,代码行数:31,代码来源:view.php

示例8: array

                $url .= $msg != NULL ? '&' : '?';
                $url .= "action=expire_session&user_id={$exp_user}&token=" . Token::generate('tk_f_users');
            }
        }
        ?>
            <script type='text/javascript'>document.location.href="<?php 
        echo $url;
        ?>
"</script>
            <?php 
    }
} else {
    $db->close();
    if ($greybox) {
        $config_nt = array('content' => _('Invalid action - Operation cannot be completed'), 'options' => array('type' => 'nf_error', 'cancel_button' => FALSE), 'style' => 'width: 80%; margin: 20px auto; text-align: left;');
        $nt = new Notification('nt_1', $config_nt);
        $nt->show();
    } else {
        $url = Menu::get_menu_url('users.php?msg=unknown_error', 'configuration', 'administration', 'users');
        ?>
            <script type='text/javascript'>document.location.href="<?php 
        echo $url;
        ?>
";</script>
            <?php 
    }
}
?>
    </body>
</html>
开发者ID:alienfault,项目名称:ossim,代码行数:30,代码来源:users_edit.php

示例9: foreach

foreach ($groups_engine as $group) {
    $refresh .= "\$('#flextable_eng_{$j}').flexReload();\n";
    ?>
			<tr>
				<td valign="top" class='flex_eng'>
					<table id="flextable_eng_<?php 
    echo $j;
    ?>
" style="display:none"></table>
					<br>
				</td>
			</tr>
			<?php 
    $j++;
}
$url = Menu::get_menu_url('/ossim/conf/index.php', 'configuration', 'administration', 'main');
$url .= "&section=metrics#end";
?>
	</table>

	<div style='width:98%;padding-bottom:20px;margin:0 auto;'>
		<div style='float:left;'>
			<a href="<?php 
echo $url;
?>
" style="color:gray">
				<?php 
echo _("Security Events process priority threshold");
?>
: <b><?php 
echo $server_logger_if_priority;
开发者ID:AntBean,项目名称:alienvault-ossim,代码行数:31,代码来源:policy.php

示例10: urlencode

    ?>
</b>&nbsp;
            </td>

            <td class="small nobborder center">
                <?php 
    echo $event['event_date'];
    ?>
&nbsp;&nbsp;(<?php 
    echo $ago;
    ?>
)
            </td>

            <td class="small nobborder">
                <a href="<?php 
    echo Menu::get_menu_url($acid_main_link . "&plugin=" . urlencode($plugin_id), 'analysis', 'security_events', 'security_events');
    ?>
"><b><?php 
    echo $event['sig_name'] != '' ? $event['sig_name'] : '-';
    ?>
</b></a>
            </td>
        </tr>
        <?php 
}
?>
</table>

<?php 
$db->close();
开发者ID:jackpf,项目名称:ossim-arc,代码行数:31,代码来源:get_sensor_leads.php

示例11: unset

    $h_opt = $_SESSION['ri']['h_opt'];
    unset($_SESSION['ri']);
    $av_menu->set_menu_option($m_opt, $sm_opt);
    $av_menu->set_hmenu_option($h_opt);
    $_SESSION['av_menu'] = serialize($av_menu);
    ?>
        var url = "<?php 
    echo $url;
    ?>
";
        <?php 
} else {
    $url = $av_menu->get_current_url();
    ?>
        var url = "<?php 
    echo Menu::get_menu_url($url, $av_menu->get_m_option(), $av_menu->get_sm_option(), $av_menu->get_h_option());
    ?>
";
        <?php 
}
?>


    var b_url = av_menu.get_bookmark_url();

    if(b_url != '')
    {
        url = b_url;
    }
    else
    {
开发者ID:jackpf,项目名称:ossim-arc,代码行数:31,代码来源:home.js.php

示例12: _

    echo $v_profile_id;
    ?>
' <?php 
    echo $profile_data['selected'];
    ?>
 ><?php 
    echo $profile_data['name&description'];
    ?>
</option>
                        <?php 
}
?>
                    </select>
                 
                 &nbsp;&nbsp;<a href="<?php 
echo Menu::get_menu_url('settings.php', 'environment', 'vulnerabilities', 'scan_jobs');
?>
">[ <?php 
echo _("EDIT PROFILES");
?>
 ]</a>
                </td>
            </tr>
    	
            <tr>
                <td class='job_option' style='vertical-align: top;'><div><?php 
echo _('Schedule Method:');
?>
</div></td>
    		    <td style='text-align:left'>
        		    <select name='schedule_type' id='scheduleM'>
开发者ID:alienfault,项目名称:ossim,代码行数:31,代码来源:sched.php

示例13: _

    				<label for='service'><?php 
echo _('Service') . required();
?>
</label>
    			</th>
    			<td class="left">
    				<input type="text" class='vfield' name="service" id='service' value="<?php 
echo $service;
?>
"/>
    			</td>
    		</tr>
    		
    		<?php 
if (Session::show_entities()) {
    $e_url = Menu::get_menu_url('../acl/entities.php', 'environment', 'assets', 'structure');
    ?>
    			<tr>
    				<th> 
    					<label for='ctx'><?php 
    echo _('Context') . required();
    ?>
</label><br/>
    					<span><a href="<?php 
    echo $e_url;
    ?>
"><?php 
    echo _("Insert new");
    ?>
?</a></span>
    				</th>
开发者ID:AntBean,项目名称:alienvault-ossim,代码行数:31,代码来源:newportform.php

示例14: _

        $geoloc->close();
        break;
        // Honeypot VoIP - Last Week
    // Honeypot VoIP - Last Week
    case "honeypot_voip":
        $nodata_text .= _(" for <i>Honeypot</i>");
        $sqlgraph = "select count(*) as num_events,x.userdata1 as name FROM alienvault_siem.acid_event a, alienvault_siem.extra_data x, alienvault.plugin_sid p WHERE p.plugin_id=a.plugin_id AND p.sid=a.plugin_sid AND p.category_id=19 AND a.id=x.event_id AND a.timestamp BETWEEN '" . gmdate("Y-m-d H:i:s", gmdate("U") - $range) . "' AND '" . gmdate("Y-m-d H:i:s") . "' {$sensor_where} group by x.userdata1 order by num_events desc limit 10";
        //echo $sqlgraph;
        if (!($rg = $conn->Execute($sqlgraph))) {
            print $conn->ErrorMsg();
        } else {
            while (!$rg->EOF) {
                if ($rg->fields['name'] == '') {
                    $rg->fields['name'] = _("Unknown plugin");
                }
                $url = Menu::get_menu_url($f_url . "&category%5B0%5D=19&userdata%5B0%5D=userdata1&userdata%5B1%5D=%3D&userdata%5B2%5D=" . $rg->fields['name'], 'analysis', 'security_events', 'security_events');
                $data .= "['<a class=\"no_text_decoration\" href=\"{$url}\">" . str_replace('_', ' ', $rg->fields['name']) . "</a>'," . $rg->fields['num_events'] . "],";
                $urls .= "'{$url}',";
                $rg->MoveNext();
            }
        }
        $colors = '"#FFFBCF","#EEE8AA","#F0E68C","#FFD700","#FF8C00","#DAA520","#D2691E","#B8860B","#7F631F"';
        break;
    default:
        // ['Sony',7], ['Samsumg',13.3], ['LG',14.7], ['Vizio',5.2], ['Insignia', 1.2]
        $data = "['" . _('Unknown Type') . "', 100]";
}
$data = preg_replace("/,\$/", '', $data);
$urls = preg_replace("/,\$/", '', $urls);
$db->close();
?>
开发者ID:jackpf,项目名称:ossim-arc,代码行数:31,代码来源:pie_graph.php

示例15: ExportHTTPVar

    }
    //
    // pcap
    //
    if (!empty($binary)) {
        include "base_payload_pcap.php";
    }
}
ExportHTTPVar("caller", $caller);
echo "</FORM>\n\n";
if (array_key_exists("minimal_view", $_GET)) {
    echo "</FORM>\n\n";
    ?>
    </div><br/><div class="center">
        <button class="button" id="view_more" data-url="<?php 
    echo Menu::get_menu_url(AV_MAIN_PATH . "/forensics/base_qry_alert.php?noheader=true&pag={$pag}&submit=" . rawurlencode($submit), 'analysis', 'security_events', 'security_events');
    ?>
"><?php 
    echo _('View More');
    ?>
</button>
    </div><br/>
<?php 
}
?>

    <link rel="stylesheet" type="text/css" href="/ossim/style/tipTip.css"/>
    <link rel="stylesheet" type="text/css" href="/ossim/style/jquery.dataTables.css"/>
    <script type="text/javascript" src="/ossim/js/jquery.tipTip-ajax.js"></script>
    <script type="text/javascript" src="/ossim/js/jquery.dataTables.js"></script>
开发者ID:alienfault,项目名称:ossim,代码行数:30,代码来源:base_qry_alert.php


注:本文中的Menu::get_menu_url方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。