<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')); } }
<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>