sId}'"); $sContainerList = array(); foreach($result->data as $row) { $sContainer = new Container($row); $sContainerList[] = array( 'hostname' => $sContainer->sHostname, 'node' => $sContainer->sNode->sName, 'node-hostname' => $sContainer->sNode->sHostname, 'template' => $sContainer->sTemplate->sName, 'diskspace' => $sContainer->sDiskSpace, 'guaranteed-ram' => $sContainer->sGuaranteedRam, 'status' => $sContainer->sStatusText, 'virtualization-type' => $sContainer->sVirtualizationType ); } $sMainContents = Templater::InlineRender("list", $locale->strings, array( 'containers' => $sContainerList )); } else { throw new UnauthorizedException("You must be logged in to view this page."); } $sMainContents = ""; ?>