<?php echo $site->getTemplate('frame_header'); ?> <?php if (strlen($trans_num) == 16) { ?> <?php echo $site->getTemplate('booking_order'); ?> <?php $ga_add_transacton = "\n\t\t\tga('ecommerce:addTransaction', {\n\t\t\t\t'id': '{$trans_num}',\n\t\t\t\t'affiliation': '{$c}',\n\t\t\t\t'revenue': '{$cart_total}',\n\t\t\t\t'currency': '" . $site->getBookingCurrency() . "'\n\t\t\t});\n\t\t"; ?> <?php } else { ?> <?php echo $site->getTemplate('booking_complete'); ?> <?php } ?> <?php