<?php
// Copyright 1999-2021. Plesk International GmbH. All rights reserved.
?>
<table cellspacing="0" class="popup-data-table">
    <?php foreach ($this->resourceLimits as $limitName => $limitDetails): ?>
        <tr>
            <th><?php echo $limitDetails['title']; ?></th>
            <td>
                <?php if (in_array($limitName, array('max_traffic', 'disk_space'))): ?>
                    <?php echo $this->partial('partials/gauge.phtml', array('limitDetails' => $limitDetails)); ?>
                <?php else: ?>
                    <?php echo $this->escape($limitDetails['usageString']); ?>
                <?php endif; ?>
            </td>
        </tr>
    <?php endforeach; ?>
</table>