<?php

require "../private_php/print_private_area.php";
require_file();
$conn = connection_db();
session_control();
include '../private_php/getassicurazione.php';
$user = "******";
print_arHeader($user);
print_arMenu($user);
print_form_setAssicurazione($conn, $info);
print_arfooter();
print_close();
connection_db_close($conn);
    exit;
}
if (isset($argv[5])) {
    $profile = $argv[5];
} else {
    echo "[ERROR] Missing Profile.\n";
    exit;
}
if (isset($argv[6])) {
    $nivel = $argv[6];
} else {
    echo "[ERROR] Missing Global Profile.\n";
    exit;
}
if (isset($argv[7])) {
    $pass_policy = $argv[7];
} else {
    echo "[ERROR] Missing Password Policy.\n";
    exit;
}
$log_file = false;
if (isset($argv[8])) {
    $log_file = $argv[8];
}
if (isset($connection)) {
    connection_db($connection);
} else {
    echo "[ERROR] Error loading config file.\n";
    exit;
}
load_file($file, $assigned_by, $group, $profile, $nivel, $pass_policy, $log_file);