<h4><?php 
echo BootstrapNoAccount::login_text();
?>
</h4>


<?php 
echo BootstrapCheckout::render_checkout_progress(1, true);
?>

<?php 
echo zen_draw_form('no_account', zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL'), 'post', 'onsubmit="return check_form(no_account);" class="form-horizontal"');
echo zen_draw_hidden_field('action', 'process');
echo zen_draw_hidden_field('email_pref_html', 'email_format');
require $template->get_template_dir('tpl_modules_no_account.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_no_account.php';
echo BootstrapCheckout::render_continue_checkout();
?>

</form>
</div>

<?php 
/* Utiltiy Functions for this template */
class BootstrapNoAccount
{
    /* Return text with a link allowing the user to login instead */
    public static function login_text()
    {
        return sprintf(TEXT_ORIGIN_LOGIN, zen_href_link(FILENAME_LOGIN, zen_get_all_get_params(array('action')), 'SSL'));
    }
}
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: J_Schilz for Integrated COWOA - 14 April 2007
 */
echo $payment_modules->javascript_validation();
?>

<div class="centerColumn" id="checkoutPayment">

<div class='page-header'>
  <h1 id="checkoutPaymentHeading"><?php 
echo NAVBAR_TITLE_2;
?>
</h1>
</div><?php 
echo zen_draw_form('checkout_payment', zen_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'), 'post', $flagOnSubmit ? 'class="form-horizontal" onsubmit="return check_form();"' : '');
echo BootstrapCheckout::render_checkout_progress($COWOA ? 3 : 2, $COWOA);
if ($messageStack->size('redemptions') > 0) {
    echo $messageStack->output('redemptions');
}
if ($messageStack->size('checkout') > 0) {
    echo $messageStack->output('checkout');
}
if ($messageStack->size('checkout_payment') > 0) {
    echo $messageStack->output('checkout_payment');
}
if (DISPLAY_CONDITIONS_ON_CHECKOUT == 'true') {
    ?>
  <fieldset>
    <legend><?php 
    echo TABLE_HEADING_CONDITIONS;
    ?>
 * }<br />
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_main_page.php 6564 2007-07-05 20:35:51Z drbyte $
 */
if (!isset($flag_disable_left)) {
    $flag_disable_left = false;
}
if (!isset($flag_disable_right)) {
    $flag_disable_right = false;
}
// global disable of column_left
if (COLUMN_LEFT_STATUS == 0 or BootstrapCheckout::user_in_checkout()) {
    $flag_disable_left = true;
}
if ($flag_disable_left) {
    $main_content_class = 'col-sm-offset-1 col-sm-10';
} else {
    $main_content_class = 'col-sm-push-3 col-sm-9 col-lg-push-2 col-lg-10';
}
$header_template = 'tpl_header.php';
$footer_template = 'tpl_footer.php';
$left_column_file = 'column_left.php';
$right_column_file = 'column_right.php';
// Not Used
$body_id = $this_is_home_page ? 'indexHome' : str_replace('_', '', $_GET['main_page']);
?>
<body id="<?php 
  <h2 id="checkoutPayAddressDefaultAddress"><?php 
echo TITLE_PAYMENT_ADDRESS;
?>
</h2><?php 
echo BootstrapUtils::render_address($_SESSION['customer_id'], $_SESSION['billto']);
?>
  <p class="text-info"><?php 
echo TEXT_SELECTED_PAYMENT_DESTINATION;
?>
</p><?php 
if ($addresses_count < MAX_ADDRESS_BOOK_ENTRIES) {
    /* require template to collect address details */
    require $template->get_template_dir('tpl_modules_checkout_new_address.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/' . 'tpl_modules_checkout_new_address.php';
}
if ($addresses_count > 1) {
    ?>
    <fieldset>
      <legend><?php 
    echo TABLE_HEADING_NEW_PAYMENT_ADDRESS;
    ?>
</legend><?php 
    require $template->get_template_dir('tpl_modules_checkout_address_book.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/' . 'tpl_modules_checkout_address_book.php';
    ?>
    </fieldset><?php 
}
echo zen_draw_hidden_field('action', 'submit');
echo BootstrapCheckout::render_continue_checkout($process ? zen_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') : false, true);
?>
</form>
</div>