<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>xvp Pool Status</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Imagetoolbar" content="no" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="Cache-Control" content="no-cache" /> <meta name="description" content="xvp Pool Status" /> <meta name="copyright" content="(C) Colin Dean" /> <meta name="author" content="Colin Dean" /> <meta name="robots" content="noindex,nofollow,noarchive" /> <link rel="apple-touch-icon" href="images/touch-icon.png" /> <link rel="stylesheet" type="text/css" href="css/styles.css" /> <link rel="stylesheet" type="text/css" href="css/jquery.contextMenu.css" /> <?php echo ios_css(); ?> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.contextMenu.js"></script> <script type="text/javascript" src="js/busy.js"></script> <script type="text/javascript" src="js/click.js"></script> <script type="text/javascript" src="js/requester.js"></script> </head> <body> <h1 id="banner">Xen Pool Status</h1> <div id="timestamp">Update pending</div> <div id="reloads">updates automatically - do not use refresh button</div>
*/ if (isset($_POST['hostname'])) { $stage = 2; $poolname = stripslashes($_POST['poolname']); $hostname = stripslashes($_POST['hostname']); $jsvmname = $_POST['vmname']; $vmname = stripslashes($jsvmname); $recovery = $_POST['recovery'] == "on"; } else { $stage = 1; $poolname = stripslashes(urldecode($_GET['poolname'])); $vmname = stripslashes(urldecode($_GET['vmname'])); } $fullname = xvp_make_fullname($poolname, $vmname); $booted = "false"; $ioscss = ios_css(); $viewport = ios_viewport(); main(); echo <<<EOF <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>xvp VM Boot - {$htvmname}</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Imagetoolbar" content="no" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="Cache-Control" content="no-cache" /> <meta name="description" content="xvp VM Boot - {$htvmname}" /> <meta name="copyright" content="(C) Colin Dean" /> <meta name="author" content="Colin Dean" /> <meta name="robots" content="noindex,nofollow,noarchive" /> {$viewport}