Пример #1
0
    }
}

// Check if Plan has been created.
$result = $resource->exist_resource_plan($conn_db, RESOURCE_PLAN);
if ($result == FALSE) {
    echo "<div id='flag_resource_plan_required' style='display:none;'>TRUE</div>\n";
}

// Check if Plan has been enabled.
$result = $resource->status_resource_plan($conn_db, RESOURCE_PLAN);
if ($result == 'DISABLED') {
    echo "<div id='flag_resource_plan_disabled' style='display:none;'>TRUE</div>\n";
}

// Check if Undo Retention has been configured.
$result = $snapshot->fetch_retention($conn_db);
if ($result != SNAPSHOT_RETENTION) {
    echo "<div id='flag_snapshot_retention_dirty' style='display:none;'>TRUE</div>\n";
}

$drive = new Drive();
$storage = $drive->fetch_dg_detail($conn_asm, DEFAULT_DG);

start_html:

$error->check(FALSE, 'html');
require_once 'html/index.php';
?>