示例#1
0
文件: list.php 项目: jackpf/ossim-arc
*
*
* On Debian GNU/Linux systems, the complete text of the GNU General
* Public License can be found in `/usr/share/common-licenses/GPL-2'.
*
* Otherwise you can read it here: http://www.gnu.org/licenses/gpl-2.0.txt
*
*/
require_once 'av_init.php';
if (!Session::am_i_admin()) {
    $config_nt = array('content' => _("You do not have permission to see this section"), 'options' => array('type' => 'nf_error', 'cancel_button' => false), 'style' => 'width: 60%; margin: 30px auto; text-align:center;');
    $nt = new Notification('nt_1', $config_nt);
    $nt->show();
    die;
}
$_system_list_data = Av_center::get_avc_list_from_api(TRUE);
$default_system_id = strtolower(Util::get_default_uuid());
if ($_system_list_data['status'] != 'success') {
    // Exception
}
$system_list = $_system_list_data['data'];
$checking_msg = _('Checking for backups in progress');
?>

<!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 _('AlienVault ' . (Session::is_pro() ? 'USM' : 'OSSIM'));
?>
</title>