<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<?php $this->load->view('template/head.php'); ?>
<?php $this->load->view('template/header_admin.php'); ?>
<section class="row contenedor-titulo">
	<h3 class="titulo"><?= $titulo ?></h3> 
</section>
<section class="row contenedor">
	<div class="col-lg-12 col-md-12">
	<?php if (isset($permisos['perfiles']['perfiles_crear'])): ?>
		<div class="grupo-botones-load">
			<a href="<?php echo base_url('tipo_usuarios/create') ?>" class="btn btn-success">Crear Perfil</a>
		</div>
<?php endif;  ?>
		<table id="listing" class="display compact nowrap">
			<thead>
				<tr>
					<th>Código</th>
					<th>Perfil</th>
					<th>Tipo</th>
					<th>Descripción</th>
					<th>Estado</th>
					<th>Acciones</th>
				</tr>
			</thead>
			<tfoot>
				<tr>
					<th>Código</th>
					<th>Perfil</th>
					<th>Tipo</th>
					<th>Descripción</th>
					<th>Estado</th>
					<th>Acciones</th>
				</tr>  
			</tfoot>
		</table>
	</div>    
</section>
<?php
$data_view['loajs'] = $load_js;
$this->load->view('template/footer.php', $data_view);
?>