<?php if (!defined('STORE_ROOT')) { http_response_code(403); exit; } if ($co_userCredit > 0): ?> <div class="co-section co-credit-section"> <label class="co-credit-row"> <input type="checkbox" id="co-use-credit" data-amt="<?= $co_userCredit ?>"> <span><?= $L('co_apply_credit', '') ?>: <strong>$<?= number_format($co_userCredit, 2) ?></strong></span> </label> </div> <?php endif; ?> <div class="co-section co-agree-section"> <label class="co-agree-row"> <input type="checkbox" id="co-agree1"> <span><?= $L('co_agree1', '') ?></span> </label> <label class="co-agree-row"> <input type="checkbox" id="co-agree2"> <span><?= $L('co_agree2', '') ?></span> </label> </div> <div id="co-error" class="co-error" style="display:none"></div> <button id="co-submit" class="co-submit-btn" data-lbl="<?= $L('co_submit', '') ?>" data-proc="<?= $L('co_processing', '') ?>" data-err-agree="<?= $L('co_err_agree', '') ?>" data-err-empty="<?= $L('co_err_empty', '') ?>" data-err-ship="<?= $L('co_err_ship', '') ?>" data-err-conn="<?= $L('co_err_conn', '') ?>" data-err-fail="<?= $L('co_err_fail', '') ?>" data-cart-empty="<?= $L('co_cart_empty', '') ?>"> <span id="co-submit-lbl"><?= $L('co_submit', '') ?></span> </button>
