PageRenderTime 48ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/masportales/application/views/themes/default/account/empresa/upgrade_index.php

https://github.com/eloypineda/XHTMLized
PHP | 49 lines | 49 code | 0 blank | 0 comment | 4 complexity | 0e283102cfe3ee1133cec1a65081e573 MD5 | raw file
  1. <div id="ucompany" class="section user">
  2. <div class="header"><h4>Perfil de Empresa</h4></div>
  3. <div class="content ucompany">
  4. <p>Seleccione los servicios que desea contratar para su empresa y la forma de pago.</p>
  5. <div class="buttons-top"><a href="#" onclick="document.getElementById('companyupgradeform').submit();" class="btn-acc">Continuar</a></div>
  6. <?php echo validation_errors(); ?>
  7. <form action="<?php echo _reg('site_url'); ?>micuenta/empresa/upgrade/confirmation" method="post" id="companyupgradeform">
  8. <div>
  9. <h6>Servicios que va a contratar</h6>
  10. <?php if (!$this->registry->company('premium')): ?>
  11. <p><input type="checkbox" name="premium" <?php echo ($this->input->post('premium')) ? 'checked="checked"' : ''; ?> /> Contratar empresa oro.</p>
  12. <?php endif; ?>
  13. <?php if (!$this->registry->company('catalog')): ?>
  14. <p><input type="checkbox" name="catalog" <?php echo ($this->input->post('catalog')) ? 'checked="checked"' : ''; ?> /> Contratar catalogo.</p>
  15. <?php endif; ?>
  16. <?php if (!$this->registry->company('ecommerce')): ?>
  17. <p><input type="checkbox" name="ecommerce" <?php echo ($this->input->post('ecommerce')) ? 'checked="checked"' : ''; ?> /> Contratar tienda online.</p>
  18. <?php endif; ?>
  19. </div>
  20. <?php // Check if there are payment gateways ?>
  21. <?php if ($data['payment']): ?>
  22. <div>
  23. <h6>Forma de pago</h6>
  24. <ul>
  25. <?php foreach ($data['payment'] as $payment_gateway): ?>
  26. <li>
  27. <?php $pgid = $payment_gateway['payment_gateway_ID']; ?>
  28. <input type="radio" name="payment_gateway" value="<?php echo $pgid; ?>" <?php echo set_radio('payment', $pgid); ?> />
  29. <?php echo $payment_gateway['name']; ?>
  30. </li>
  31. <?php endforeach; ?>
  32. </ul>
  33. </div>
  34. <?php else: // !$data['payment'] ?>
  35. <div class="content">
  36. <h6>Forma de pago</h6>
  37. <p class="message">No se puede recuperar la informaci贸n de las formas de pago disponibles en este momento. Vuelva a intentarlo m谩s tarde.</p>
  38. <input type="hidden" name="payment_gateway" value="0" />
  39. </div>
  40. <?php endif; // end ($data['payment']) ?>
  41. </form>
  42. <div class="buttons-bottom"><a href="#" onclick="document.getElementById('companyupgradeform').submit();" class="btn-acc">Continuar</a></div>
  43. </div><!-- .content -->
  44. </div><!-- #ucompany .section .user -->
  45. <?php
  46. echo '<pre>';
  47. print_r($this->_ci_cached_vars);
  48. echo '</pre>';
  49. ?>