este es el formulario contactenos
Código PHP:
Ver original<!-- CONTACTENOS -->
<section id="contactenos" class="sec_hor">
<div id="baseurl" class="hide">{{ url:site }}</div>
<div id="json_markers" class="hide">{{ json_markers }}</div>
<div id="json_info_content" class="hide">{{ json_info_content }}</div>
<div class="container">
<h1 class="tit-gen">
Contáctenos
</h1>
<div class="row">
<div class="col s12 l5">
<div id="loading_contacts"></div>
<div class="s2"></div><?php echo form_open(site_url('contact_us/send'), 'class="crud form_contac_ajax"'); ?>
<div class="input-field">
<input id="nombre" type="text" class="validate name" name="name" value="<?php echo set_value('nombre') ?>">
<label for="nombre">Nombre</label>
</div>
<div class="input-field ">
<input id="email" type="text" class="validate email" name="email" value="<?php echo set_value('correo') ?>">
<label for="email">Correo Electrónico</label>
</div>
<div class="input-field ">
<input id="phone" type="text" class="validate phone" name="phone" value="<?php echo set_value('telefono') ?>">
<label for="phone">Teléfono</label>
</div>
<div class="input-field ">
<input id="cell" type="text" class="validate cell" name="cell" value="<?php echo set_value('cell') ?>">
<label for="cell">Celular</label>
</div>
<div class="input-field ">
<input id="company" type="text" class="validate company" name="company" value="<?php echo set_value('company') ?>">
<label for="company">Compañia</label>
</div>
<div class="input-field ">
<input id="city" type="text" class="validate city" name="city" value="<?php echo set_value('city') ?>">
<label for="city">Ciudad</label>
</div>
<div class="input-field hide">
<?php echo form_dropdown('id_email_area', $emails_area, set_value('id_email_area'), 'id="id_email_area" class="select_contact" style="display: block;"'); ?>
<br><label for="id_email_area">Areas</label>
</div>
<div class="input-field">
<textarea id="textarea1" name="message" class="materialize-textarea message"></textarea>
<label for="textarea1">Mensaje</label>
</div>
<div class="input-field">
<textarea id="textarea2" name="cotizacion" class="materialize-textarea message"></textarea>
<label for="textarea2">Solicitar cotización</label>
</div>
<input type="submit" class="waves-effect waves-light btn right" name="btnAction" value="Enviar">
<div class="clear"></div>
<?php echo form_close(); ?>
</div>
<div class="col s12 l7">
<div class="cont-select_maps">
<?php echo form_dropdown
('id_google_map', $selectGoogleMaps, (isset($id_google_map) ?
$id_google_map : set_value
('id_google_map')), 'id="changeGoogleMap"'); ?> </div>
<div id="map_loader"></div>
<div id="map_wrapper">
<div id="map_canvas" class="mapping"></div>
</div>
<div class="contact-data">
<h3 class="tit-gen-3">Datos de Contacto</h3>
<ul class="dat_contact">
<li><i class="fa fa-map-marker"></i>
<?php echo (isset($contact_us->adress) ?
$contact_us->adress : ''); ?></li>
<li><i class="fa fa-phone"></i>
<?php echo (isset($contact_us->phone) ?
$contact_us->phone : ''); ?></li>
<li><i class="fa fa-envelope"></i>
<?php echo (isset($contact_us->email) ?
$contact_us->email : ''); ?></li>
<div class="s2"></div>
</ul>
</div>
</div>
</div>
</div>
</section>