<?php echo $header; ?>
<div class="ftr-container">
  <h3><?php echo $text_result; ?></h3>
  <p>
  <?php echo $text_success_1; ?> <b>#<?php echo $pedido['order_id'];?></b> <?php echo $text_success_2; ?>
  <br>
  <?php if ($status->num_rows>=1) { ?>
    <br>
    <?php echo $text_transaction_1; ?> <b><?php echo $status->row['tid'];?></b> <?php echo $text_transaction_2; ?> <b><?php echo $status_nomes[$status->row['status']];?></b> <?php echo $text_transaction_3; ?> <b><?php echo $tipos[$status->row['tipo']];?></b> <?php if($status->row['tipo']=='CC'){?> <b><?php echo $meios_cartao[$status->row['meio']];?></b> [<?php echo $status->row['bin'];?>] <?php echo $text_transaction_4; ?> <?php echo $status->row['parcelas'];?>x<?php } ?><?php if($status->row['tipo']=='BB' || $status->row['tipo']=='TO' || $status->row['tipo']=='CD'){?>&agrave; vista<?php } ?>.
  <?php } ?>
  <br><br>
  <?php echo $text_details_1; ?> <a href="<?php echo $link_pedido;?>" id="button-confirm"><?php echo $text_details_2; ?></a> <?php echo $text_details_3; ?> <a href="index.php?route=information/contact"><?php echo $text_details_4; ?></a> <?php echo $text_details_5; ?>
  </p>
</div>
<script>
  (function(){
      var i = document.createElement('iframe');
      i.style.display = 'none';
      i.onload = function() { i.parentNode.removeChild(i); };
      i.src = '<?php echo $iframe;?>';
      document.body.appendChild(i);
  })();
</script>
<?php echo $footer; ?>
