예제 #1
0
<link href="<?php 
echo site_url();
?>
assets/css/responsive.css" rel="stylesheet" type="text/css"/>
<link href="<?php 
echo site_url();
?>
assets/css/custom-icon-set.css" rel="stylesheet" type="text/css"/>
<!-- END CSS TEMPLATE -->
<?php 
//$country['default'] = 'Country...';
//echo form_dropdown('country', $country, 'default', 'id="remote" style="width:100%"');
?>

			<?php 
echo show_notification();
?>
              <span style="<?php 
echo $displayData;
?>
" >
              <?php 
echo show_valnotif();
?>
              </span>

<div class="row">
        <div class="col-md-12">
          <!-- <div class="grid simple "> -->
            <!-- <div class="grid-title"> -->
            <?php 
예제 #2
0
*
*/
require_once 'av_init.php';
require_once 'repository_common.php';
Session::logcheck("configuration-menu", "Osvdb");
$id_document = GET('id_document') != "" ? GET('id_document') : (POST('id_document') != "" ? POST('id_document') : "");
$go_back = intval(REQUEST("go_back"));
$link_type = "host";
ossim_valid($id_document, OSS_DIGIT, 'illegal:' . _("id_document"));
if (ossim_error()) {
    die(ossim_error());
}
$link_types = array("directive" => "Directive", "host" => "Host", "host_group" => "Host Group", "incident" => "Ticket", "net" => "Net", "net_group" => "Net Group", "plugin_sid" => "Plugin sid", "taxonomy" => "Taxonomy");
if (empty($link_types[$link_type])) {
    $msg = _('Invalid link type');
    show_notification($msg);
    exit;
}
$conf = $GLOBALS["CONF"];
$db = new ossim_db();
$conn = $db->connect();
$user = Session::get_session_user();
$rel_list = Repository::get_relationships($conn, $id_document);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title> <?php 
echo gettext("OSSIM Framework");
?>