?> <html> <head> <title>Virtual server management</title> </head> <body> <?php require 'header.php'; $spaces = ' '; $uri = $lv->get_uri(); $tmp = $lv->get_domain_count(); if ($action == 'storage-pools') { $msg = ''; if ($subaction == 'volume-delete') { if (array_key_exists('confirm', $_GET) && $_GET['confirm'] == 'yes') { $msg = $lv->storagevolume_delete(base64_decode($_GET['path'])) ? 'Volume has been deleted successfully' : 'Cannot delete volume'; } else { $msg = '<table> <tr> <td colspan="2"> <b>Do you really want to delete volume <i>' . base64_decode($_GET['path']) . '</i> ?</b><br /> </td> </tr> <tr align="center"> <td> <a href="' . $_SERVER['REQUEST_URI'] . '&confirm=yes">Yes, delete it</a> </td> <td> <a href="?action=' . $action . '">No, go back</a> </td> </tr>';