<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
?>
<div class="generic_layout_container layout_middle">
  <div class="generic_layout_container layout_core_content">
    <form method="post" action="<?php echo $this->escape($this->url()) ?>?package_id=<?php echo $this->package->package_id ?>"
          class="global_form payment_subscription_plans" enctype="application/x-www-form-urlencoded">
      <div>
        <div>
          <h3>
            <?php echo $this->translate('Confirm Subscription') ?>
          </h3>
          <div class="plan_details">
            <p><span><?php echo $this->translate('You are about to subscribe to the plan: ' . '%1$s', '</span><span><strong>' . $this->translate($this->package->title) . '</strong></span>') ?></p>
            <p><span><?php echo $this->translate('Are you sure you want to do this? You ' . 'will be charged: %1$s',
                '</span><span><strong>' . $this->package->getPackageDescription() . '</strong></span>') ?>
          </p>
        </div>
          <p>
            <?php echo $this->translate('If yes, click the button below and you ' .
                'will be taken to a payment page. When you have completed your ' .
                'payment, please remember to click the button that takes you back ' .
                'to our site.') ?>
          </p>
          <p>
            <?php echo $this->translate('Please note that no refund will be ' .
                'provided for any unused portion of your current plan.') ?>
          </p>
          <div class="form-elements">
            <div class="form-wrapper" id="execute-wrapper">
              <div class="form-element" id="execute-element">
                <button type="submit" id="execute" name="execute"><?php echo $this->translate('Subscribe') ?></button>
                <p class="text-center mt-2"><?php echo $this->htmlLink(array('action' => 'index', 'package_id' => null), $this->translate('cancel')) ?>
              </div>
            </div>
          </div>
        </div>
      </div>
      <input type="hidden" name="gateway_id" id="gateway_id" value="" />
    </form>
  </div>
</div>
