	

	<div class="row th">
		<div class="col-lg-1 col-md-1 col-sm-1">
		</div>
		<div class="col-lg-4 col-md-4 col-sm-4">
			<p>Username</p>
		</div>
		<div class="col-lg-3 col-md-3 col-sm-3">
			<p>Profile</p>
		</div>
		<div class="col-lg-2 col-md-2 col-sm-2 center-text">
			<p>Status</p>
		</div>
		<div class="col-lg-2 col-md-2 col-sm-2 center-text">
			<p>Actions</p>
		</div>
	</div>
	<?php
		foreach ($users as $item) {
			?>
			<div class="row tr">
				<div class="col-lg-1 col-md-1 col-sm-1">
					<img class="img-responsive" src="<?php echo (base_url() . "assets/img/" . $item->image);?>">
				</div>
				<div class="col-lg-4 col-md-4 col-sm-4">
					<p><?php echo $item->username;?></p>
				</div>
				<div class="col-lg-3 col-md-3 col-sm-3">
					<p><?php echo $item->profile;?></p>
				</div>
				<div class="col-lg-2 col-md-2 col-sm-2 center-text">
					<p><?php   
						if ($item->active == 1) {
							echo anchor(base_url().'admin/'.$controlador.'/deactivate/'.$item->id, " ", array('class' => 'status active', 'title' => 'Active'));
						} else {
							echo anchor(base_url().'admin/'.$controlador.'/activate/'.$item->id, " ", array('class' => 'status inactive', 'title' => 'Active'));
						}

					 ?></p>

				</div>
				<div class="col-lg-2 col-md-2 col-sm-2 actions center-text">
					<div class="button">
						<?php echo anchor(base_url().'admin/'.$controlador.'/edit/'.$item->id, "<img src='".base_url()."assets/img/edit.svg'><br><label>EDIT</label>");?> 
					</div>
				</div>

			</div>
			<?php
		}
			?>

					<div class="row tf">
			<?php


	?>
		</div>

	<div class="row" style="height:50px;border:1px;">
	</div>
