Exemplo n.º 1
0
  <h1><?php 
echo OSCOM::getDef('heading_title');
?>
</h1>
</div>

<?php 
echo HTML::form('checkout_payment', OSCOM::link('checkout_confirmation.php'), 'post', 'class="form-horizontal" onsubmit="return check_form();"', ['tokenize' => true]);
?>

<div class="contentContainer">

<?php 
if (isset($_GET['payment_error']) && !empty($_GET['payment_error'])) {
    $pmsel = new payment($_GET['payment_error']);
    if ($error = $pmsel->get_error()) {
        ?>

  <div class="contentText">
    <?php 
        echo '<strong>' . HTML::outputProtected($error['title']) . '</strong>';
        ?>

    <p class="messageStackError"><?php 
        echo HTML::outputProtected($error['error']);
        ?>
</p>
  </div>

<?php 
    }