<?php 
defined('BASEPATH') OR exit('No direct script access allowed');

?>

<div class="content-wrapper">
	<section class="content-header">
		<?php echo $pagetitle; ?>
		<?php echo $breadcrumb; ?>
	</section>

	<section class="content">
		<div class="row">
			<div class="col-md-12">
			 <div class="box">
				<div class="box box-primary">
					<!-- Primer bloque -->
					<div class="box-body">
						<?php 
						if ($message) {
							echo '<pre>';
							echo '<h4><b>Mensaje:</b></h4>';
							echo '<h5>' . $message . '</h5>';
							echo '</pre>';
						} 
						?>


<?php<--
/*
	id
	ip_address 
	username
	email
	active
	first_name
	last_name
	company
    phone 
    nick 
    dependencia 
    user_jefe_id 
    genero 

*/
?>
						<?php echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'form-create_user'));?>
							<div class="form-group">

								<div class="col-sm-2">
									<label for="id"> <?php echo lang('users_id')?></label>
									<?php echo form_input($id) ?>
								</div>

								<div class="col-sm-1" style="vertical-align: top">
									<label for="ip_address"> <?php echo lang('users_ip_address')?></label>
									<?php echo form_input($ip_address) ?>
								</div>
								<div class="col-sm-2">
									<label for="username"><?php echo lang('users_username')?></label>
									<?php  
									echo form_input($username); ?>
								</div>																
								<div class="col-sm-2">
									<label for="email"><?php echo lang('users_email')?></label>
									<?php  	
									echo form_input($email); ?>
								</div>
								<div class="col-sm-2">
									<label for="active"><?php echo lang('users_active')?></label>
									<?php echo form_input($active) ?>
								</div>								
								<div class="col-sm-2">
									<label for="first_name"><?php echo lang('users_first_name')?></label>
									<?php echo form_input($first_name) ?>
								</div>		
															
								<!--<div class="col-sm-2">
									<label for="user_id_geomatica">ID Geo.</label>
									<?php echo form_input($user_id_geomatica) ?>

								</div>-->
							</div> 
							<div class="form-group">
								</div>								
								<div class="col-sm-2">
									<label for="last_name"><?php echo lang('users_last_name')?></label>
									<?php echo form_input($last_name) ?>
								</div>									
								<div class="col-sm-2">
									<label for="company"><?php echo lang('users_company')?></label>
									<?php echo form_input($company) ?>
								</div>
								<div class="col-sm-2">
									<label for="phone"><?php echo lang('users_phone')?></label>
									<?php echo form_input($phone) ?>
								</div>								
								<div class="col-sm-2">
									<label for="nick"><?php echo lang('users_nick')?></label>
									<?php echo form_input($nick) ?>
								</div>
								<div class="col-sm-2">
									<label for="dependencia"><?php echo lang('users_dependencia')?></label>
									<?php echo form_input($dependencia) ?>
								</div>
								<div class="col-sm-2">
									<label for="user_jefe_id"><?php echo lang('users_user_jefe_id')?></label>
									<?php echo form_input($user_jefe_id) ?>
								</div>
								<div class="col-sm-2">
									<label for="genero"><?php echo lang('users_genero')?></label>
									<?php echo form_input($genero) ?>
								</div>

							</div>
							
								
							
							
							
																
								<!--
								<div class="col-sm-2" style="vertical-align: top">
									<label for="expe_fproceso_geo">Fecha Proc.</label>
									<div class="input-group date" data-provide="datepicker" data-date-format="dd/mm/yyyy">
                                        <div class="input-group-addon">
                                            <i class="fa fa-calendar"></i>
                                        </div>
                                        <?php echo form_input($expe_fproceso_geo);?>
                                    </div>
								</div>
								<div class="col-sm-2" style="vertical-align: top">
									<label for="expe_fecha_licencia">Fecha Lic.</label>
									<div class="input-group date" data-provide="datepicker" data-date-format="dd/mm/yyyy">
                                        <div class="input-group-addon">
                                            <i class="fa fa-calendar"></i>
                                        </div>
                                        <?php //echo form_input($expe_fecha_licencia);?>
                                    </div>
								</div>
								<div class="col-sm-1" style="vertical-align: top">
									<label for="expe_nro_licencia">Nro. Lic.</label>
									<?php //echo form_input($expe_nro_licencia) ?>
								</div>
								<div class="col-sm-2">
									<label for="expe_usuario">Usu. Ult. Modif.</label>
									<?php //echo form_input($expe_usuario) ?>
								</div>
								<div class="col-sm-2" style="vertical-align: top">
									<label for="expe_nro_archivo">Nro. Archivo</label>
									<?php// echo form_input($expe_nro_archivo) ?>
								</div>								
								<div class="col-sm-2" style="vertical-align: top">
									<label for="expe_fecha_cierre">Fecha Cierre</label>
									<div class="input-group date" data-provide="datepicker" data-date-format="dd/mm/yyyy">
                                        <div class="input-group-addon">
                                            <i class="fa fa-calendar"></i>
                                        </div>
                                        <?php //echo form_input($expe_fecha_cierre);?>
                                    </div>
								</div>
								-->								
							</div>
							<hr></hr>
							<!-- Sección botones -->
							<div class="form-group">
								<div <div class="col-sm-offset-0 col-sm-12" align="center">
									<div class="">
										<?php echo form_button(array('name' => 'accion','type' => 'submit','value' => '1','class'
										=> 'btn btn-primary btn-flat', 'content' =>  'GRABAR CAMBIOS')); ?>
										<?php echo '&nbsp;';?>
										<?php echo '&nbsp;';?>

										<?php echo anchor('users/users/', 'VOLVER', array('class' => 'btn btn-danger btn-flat', 'content' => 'VOLVER')); ?>
									</div>
								</div>
							</div>
							<hr></hr>
							<!-- Fin sección botones -->
														
							</div>							
						<?php echo form_close();?>
					</div>
					<!-- Fin primer bloque -->
				</div>
			</div>
		</div>
	</div>
</section>
</div>
