<?php
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
?>
<?php if ($this->addonPlans): ?>
<?php foreach ($this->addonPlans as $planName): ?>
+ <?php echo $this->escape($planName); ?><br/>
<?php endforeach; ?>
<hr/>
<?php endif; ?>

<b><?php echo $this->subscriptionName; ?></b>
<hr/>

<table cellspacing="0" class="popup-data-table">
    <?php foreach ($this->resourceLimits as $limitId => $limit): /** @var Limits_Limit_Interface $limit **/?>
        <tr>
            <th><?php echo $this->escape($limit['title']); ?></th>
            <td>
              <div <?php echo ($limit['isOverused'] ? 'class="status-overused"' : ''); ?>>
                <?php if (in_array($limitId, array('max_traffic', 'disk_space'))): ?>
                    <?php $v = $this->partial('partials/gauge.phtml', array('limitDetails' => $limit)); ?>
                    <?php echo $v; ?>
                <?php else: ?>
                    <?php echo $this->escape($limit['usageString']); ?>
                <?php endif; ?>
              </div>
            </td>
        </tr>
    <?php endforeach; ?>
</table>