Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. <li>
  2. <div class="input-box" style="width: 100%!important">
  3. <div class="v-fix" style="width: 48%!important;float: left">
  4. <label for="<?php echo $_code ?>_cc_csc" class="required"><em>*</em><?php echo $this->__('CVV') ?></label><br>
  5. <input type="text" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Name on Card')) ?>" class="input-text required-entry" id="<?php echo $_code ?>_cc_csc" name="payment[cc_csc]" value="<?php echo $this->escapeHtml($this->getInfoData('cc_csc')) ?>" style="width:87%!important" />
  6. </div>
  7. <div class="v-fix" style="width: 48%!important">
  8. <?php $_ccCsc= $this->getInfoData('cc_csc') ?>
  9. <label for="<?php echo $_code ?>_parcelas" class="required"><em>*</em><?php echo $this->__('Núm. de parcelas') ?></label><br>
  10. <select id="<?php echo $_code ?>_cc_parcelas" name="payment[cc_parcelas]" class="required-entry" style="width: 100%!important">
  11. <?php for($t = 1; $t <= 10; $t++) { ?>
  12. <?php $arr = [1, 3, 6, 10]; ?>
  13. <?php if(in_array($t, $arr)) : ?>
  14. <option value="<?php echo $t ?>"<?php if($t == $_ccCsc): ?> selected="selected"<?php endif ?>><?php echo $t ?></option>
  15. <?php endif; ?>
  16. <?php } ?>
  17. </select>
  18. </div>
  19. </div>
  20. </li>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement