<div class="table-responsive">
	<table class="table table-bordered table-head-bg-info table-bordered-bd-info table-striped">
		<thead>
		    <tr>
				<!--<th>ID</th>-->
				<th>Tipo Proveedor</th>
				<!--<th>Id Condominio</th>-->
				<th>Nombre</th>
				<th>Descripcion</th>
				<!--<th>Direccion</th>-->
				<th>Rfc</th>
				<th>Telefono1</th>
				<th>Telefono</th>
				<th>Sitioweb</th>
				<!--<th>Contador</th>-->
				<!--<th>Id Autor</th>-->
				<!--<th>Fecha Registro</th>-->
				<!--<th>Fecha Modificacion</th>-->
				<!--<th>Estado</th>-->
				<!--<th>Interno</th>-->
				<th>Pais</th>
				<th>Ciudad</th>
				<th>Calle</th>
				<th>Numero Exterior</th>
				<th>Codigo Postal</th>
				<th>Email</th>
				<th class="text-center">Logo</th>
				<!--<th>Propietario</th>-->
				<!--<th>Id Propiedad</th>-->
				<th class="text-center">Actions</th>
		    </tr>
		</thead>
		<tbody>
			<?php foreach($proveedores as $p){ ?>
		    <tr>
				<!--<td><?php echo $p['id']; ?></td>-->
				<td><?php echo $p['tipo_proveedor']; ?></td>
				<!--<td><?php echo $p['id_condominio']; ?></td>-->
				<td><?php echo $p['nombre']; ?></td>
				<td><?php echo $p['descripcion']; ?></td>
				<!--<td><?php echo $p['direccion']; ?></td>-->
				<td><?php echo $p['rfc']; ?></td>
				<td><?php echo $p['telefono1']; ?></td>
				<td><?php echo $p['telefono']; ?></td>
				<td><?php echo $p['sitioweb']; ?></td>
				<!--<td><?php echo $p['contador']; ?></td>-->
				<!--<td><?php echo $p['id_autor']; ?></td>-->
				<!--<td><?php echo $p['fecha_registro']; ?></td>-->
				<!--<td><?php echo $p['fecha_modificacion']; ?></td>-->
				<!--<td><?php echo $p['estado']; ?></td>-->
				<!--<td><?php echo $p['interno']; ?></td>-->
				<td><?php echo $p['pais']; ?></td>
				<td><?php echo $p['ciudad']; ?></td>
				<td><?php echo $p['calle']; ?></td>
				<td><?php echo $p['numero_exterior']; ?></td>
				<td><?php echo $p['codigo_postal']; ?></td>
				<td><?php echo $p['email']; ?></td>
				<td class="text-center">
					<?php 
						if (isset($p['logo']) && !is_null($p['logo']))  {
							?>
								<div class="avatar">
									<img src="<?php echo $p['logo']; ?>" alt="..." class="avatar-img rounded">
								</div>
							<?php
						}
					?>
				</td>
				<!--<td><?php echo $p['propietario']; ?></td>-->
				<!--<td><?php echo $p['id_propiedad']; ?></td>-->
				<td class="text-center">
		            <button class="btn btn-sm btn-primary btn-border btn-round"><a href="<?php echo site_url('proveedor/edit/'.$p['id']); ?>">Editar</a></button>
		            <button class="btn btn-sm btn-primary btn-border btn-round"><a href="<?php echo site_url('proveedor/remove/'.$p['id']); ?>">Eliminar</a></button>
		        </td>
		    </tr>
			<?php } ?>
		</tbody>
	</table>
</div>
<div class="pull-right">
    <?php echo $this->pagination->create_links(); ?>    
</div>
