<?php
$days = array(7, 30, 90, 180, 365);
?>
<div class="row pricing-table">
    <?php foreach ($days AS $k => $day): ?>
        <div class="col-md-5ths col-xs-6">
            <div class="panel panel-success">
                <div class="panel-heading">
                    <h3 class="text-center"><strong><?php echo $day; ?> <?php echo UCWords(t('days', 'days')); ?></strong><br/><?php echo UCWords(t('premium', 'premium')); ?></h3>
                </div>
                <div class="panel-body text-center">
                    <p class="lead total-price" style="font-size:20px"><strong><?php echo number_format(str_replace(",", "", constant('SITE_CONFIG_COST_FOR_' . $day . '_DAYS_PREMIUM')), 0); ?> <?php echo SITE_CONFIG_COST_CURRENCY_SYMBOL; ?></strong></p>
                    <p class="lead price-per-day" style="font-size:14px"><?php echo number_format(str_replace(",", "", constant('SITE_CONFIG_COST_FOR_' . $day . '_DAYS_PREMIUM')) / $day, 0); ?><?php echo SITE_CONFIG_COST_CURRENCY_SYMBOL; ?> <?php echo UCWords(t('upgrade_boxes_per_day', 'per day')); ?></p>
                </div>
                <ul class="list-group list-group-flush text-center">
                    <li class="list-group-item"><i class="fa fa-lock"></i> <?php echo UCWords(t('secure_payment', 'secure payment')); ?></li>
                    <li class="list-group-item"><i class="fa fa-eye-slash"></i> <?php echo UCWords(t('safe_and_anonymous', '100% Safe & Anonymous')); ?></li>
                    <li class="list-group-item payment-method"><?php echo UCWords(t('select_payment_method', 'Select Payment Method:')); ?></li>
                </ul>
                <div class="panel-footer">
                    <?php
                    pluginHelper::outputPaymentLinks($day);
                    ?>
                </div>
            </div>
        </div>
    <?php endforeach; ?>
</div>