<?php
   /**
    * _checkout
    *
    * @package Wojo Framework
    * @author wojoscripts.com
    * @copyright 2023
    * @version 5.50: _checkout.tpl.php, v1.00 11/18/2023 12:22 PM Gewa Exp $
    *
    */
   if (!defined('_WOJO')) {
      die('Direct access to this location is not allowed.');
   }
?>
<?php if ($this->gateways): ?>
   <div class="wojo relaxed celled list" id="dGateways">
      <?php foreach ($this->gateways as $grow): ?>
         <div class="item align-middle">
            <div class="content">
               <div class="wojo checkbox radio fitted">
                  <input name="gateway" type="radio" value="<?php echo $grow->id; ?>" id="gate_<?php echo $grow->id; ?>">
                  <label for="gate_<?php echo $grow->id; ?>"><?php echo $grow->displayname; ?></label>
               </div>
            </div>
            <div class="content auto">
               <div class="wojo attached card padding-mini" id="card_<?php echo $grow->id; ?>">
                  <img src="<?php echo SITEURL; ?>/gateways/<?php echo $grow->dir; ?>/<?php echo $grow->dir; ?>_logo.svg" alt="" class="wojo small image">
               </div>
            </div>
         </div>
      <?php endforeach; ?>
   </div>
   <div id="dCheckout"></div>
<?php endif; ?>