<!--<div class="col-sm-2 menu">
	<img class="logo" src="<?php echo base_url();?>assets/img/logo.svg" alt="IEC Tech - Logo" title="Electrical Equipment and Control Systems">

<ul>
	<li><a href="<?php echo base_url();?>admin">Home</a></li>
	<?php 
		if($this->session->userdata('profile') == 'admin')
			{
				?>
					<li><a href="<?php echo base_url();?>admin/users">Users</a></li>
				<?php
			};
	?>
	<li><a href="<?php echo base_url();?>admin/profile">My Profile</a></li>
	<li><a href="<?php echo base_url();?>admin/changepassword">Change Password</a></li>
	<li><a href="<?php echo base_url();?>admin/contact-info">Contact Information</a></li>
	<li><a href="<?php echo base_url();?>admin/general-info">General Information</a></li>
	<li><a href="<?php echo base_url();?>admin/home-slider">Principal Slider</a></li>
	<li><a href="<?php echo base_url();?>admin/secondary-slider">Secondary Slider</a></li>
	<li><a href="<?php echo base_url();?>admin/services">Services</a></li>
	<li><a href="<?php echo base_url();?>admin/benefits">Benefits</a></li>
</ul>

</div>
<div class="col-sm-10 col-md-offset-2 dashboard">-->

<!-- Sidebar -->
		<div class="sidebar sidebar-style-2">
			<div class="sidebar-wrapper scrollbar scrollbar-inner">
				<div class="sidebar-content">
					<div class="user">
						<div class="avatar-sm float-left mr-2">
							<img src="<?php echo $this->session->userdata('avatar')?>" alt="..." class="avatar-img rounded-circle">
						</div>
						<div class="info">
							<a data-toggle="collapse" href="#collapseExample" aria-expanded="true">
								<span>
									<?php echo $this->session->userdata('name')?>
									<span class="user-level">Administrador</span>
									<span class="caret"></span>
								</span>
							</a>
							<div class="clearfix"></div>

							<div class="collapse in" id="collapseExample">
								<ul class="nav">
									<li>
										<a href="#profile">
											<span class="link-collapse">Mi Perfil</span>
										</a>
									</li>
									<!--<li>
										<a href="#edit">
											<span class="link-collapse">Edit Profile</span>
										</a>
									</li>
									<li>
										<a href="#settings">
											<span class="link-collapse">Settings</span>
										</a>
									</li>-->
								</ul>
							</div>
						</div>
					</div>
					<ul class="nav nav-primary">
						<li class="nav-item active">
							<a href="<?php echo site_url()?>">
								<i class="fas fa-home"></i>
								<p>Inicio</p>
							</a>
						</li>
						<!--<li class="nav-section">
							<span class="sidebar-mini-icon">
								<i class="fa fa-ellipsis-h"></i>
							</span>
							<h4 class="text-section">Components</h4>
						</li>-->
						<li class="nav-item">
							<a data-toggle="collapse" href="#base">
								<i class="fas fa-building"></i>
								<p>Instalaciones</p>
								<span class="caret"></span>
							</a>
							<div class="collapse" id="base">
								<ul class="nav nav-collapse">
									<li>
										<a href="<?php echo site_url('condominio')?>">
											<span class="sub-item">Condominios</span>
										</a>
									</li>
									<li>
										<a href="<?php echo site_url('amenidad')?>">
											<span class="sub-item">Amenidades</span>
										</a>
									</li>
									<li>
										<a href="<?php echo site_url('caseta')?>">
											<span class="sub-item">Casetas de Vigilancia</span>
										</a>
									</li>
									<li>
										<a href="<?php echo site_url('propiedad')?>">
											<span class="sub-item">Propiedades</span>
										</a>
									</li>
								</ul>
							</div>
						</li>
						<li class="nav-item">
							<a data-toggle="collapse" href="#sidebarLayouts">
								<i class="fas fa-clipboard-check"></i>
								<p>Gestión</p>
								<span class="caret"></span>
							</a>
							<div class="collapse" id="sidebarLayouts">
								<ul class="nav nav-collapse">
									<li>
										<a href="<?php echo site_url('aviso')?>">
											<span class="sub-item">Avisos</span>
										</a>
									</li>
									<li>
										<a href="<?php echo site_url('incidente')?>">
											<span class="sub-item">Incidentes</span>
										</a>
									</li>
									<li>
										<a href="<?php echo site_url('reserva')?>">
											<span class="sub-item">Reservas</span>
										</a>
									</li>
									<li>
										<a href="<?php echo site_url('visita')?>">
											<span class="sub-item">Visita</span>
										</a>
									</li>
									<li>
										<a href="<?php echo site_url('queja')?>">
											<span class="sub-item">Quejas</span>
										</a>
									</li>
									<li>
										<a href="<?php echo site_url('evento')?>">
											<span class="sub-item">Eventos</span>
										</a>
									</li>
								</ul>
							</div>
						</li>
						<li class="nav-item">
							<a data-toggle="collapse" href="#forms">
								<i class="fas fa-shopping-cart"></i>
								<p>Proveduría</p>
								<span class="caret"></span>
							</a>
							<div class="collapse" id="forms">
								<ul class="nav nav-collapse">
									<li>
										<a href="<?php echo site_url('categoriaproveedor')?>">
											<span class="sub-item">Categorías de Proveedor</span>
										</a>
									</li>
									<li>
										<a href="<?php echo site_url('proveedor')?>">
											<span class="sub-item">Proveedores</span>
										</a>
									</li>
								</ul>
							</div>
						</li>
						<li class="nav-item">
							<a data-toggle="collapse" href="#tables">
								<i class="fas fa-user-friends"></i>
								<p>Personas</p>
								<span class="caret"></span>
							</a>
							<div class="collapse" id="tables">
								<ul class="nav nav-collapse">
									<li>
										<a href="<?php echo site_url('inquilino')?>">
											<span class="sub-item">Inquilinos</span>
										</a>
									</li>
									<!--<li>
										<a href="tables/datatables.html">
											<span class="sub-item">Datatables</span>
										</a>
									</li>-->
								</ul>
							</div>
						</li>
						<!--<li class="nav-item">
						<li class="nav-item">
							<a data-toggle="collapse" href="#maps">
								<i class="fas fa-map-marker-alt"></i>
								<p>Maps</p>
								<span class="caret"></span>
							</a>
							<div class="collapse" id="maps">
								<ul class="nav nav-collapse">
									<li>
										<a href="maps/jqvmap.html">
											<span class="sub-item">JQVMap</span>
										</a>
									</li>
								</ul>
							</div>
						</li>
						<li class="nav-item">
							<a data-toggle="collapse" href="#charts">
								<i class="far fa-chart-bar"></i>
								<p>Charts</p>
								<span class="caret"></span>
							</a>
							<div class="collapse" id="charts">
								<ul class="nav nav-collapse">
									<li>
										<a href="charts/charts.html">
											<span class="sub-item">Chart Js</span>
										</a>
									</li>
									<li>
										<a href="charts/sparkline.html">
											<span class="sub-item">Sparkline</span>
										</a>
									</li>
								</ul>
							</div>
						</li>
						<li class="nav-item">
							<a href="widgets.html">
								<i class="fas fa-desktop"></i>
								<p>Widgets</p>
								<span class="badge badge-success">4</span>
							</a>
						</li>
						<li class="nav-item">
							<a data-toggle="collapse" href="#submenu">
								<i class="fas fa-bars"></i>
								<p>Menu Levels</p>
								<span class="caret"></span>
							</a>
							<div class="collapse" id="submenu">
								<ul class="nav nav-collapse">
									<li>
										<a data-toggle="collapse" href="#subnav1">
											<span class="sub-item">Level 1</span>
											<span class="caret"></span>
										</a>
										<div class="collapse" id="subnav1">
											<ul class="nav nav-collapse subnav">
												<li>
													<a href="#">
														<span class="sub-item">Level 2</span>
													</a>
												</li>
												<li>
													<a href="#">
														<span class="sub-item">Level 2</span>
													</a>
												</li>
											</ul>
										</div>
									</li>
									<li>
										<a data-toggle="collapse" href="#subnav2">
											<span class="sub-item">Level 1</span>
											<span class="caret"></span>
										</a>
										<div class="collapse" id="subnav2">
											<ul class="nav nav-collapse subnav">
												<li>
													<a href="#">
														<span class="sub-item">Level 2</span>
													</a>
												</li>
											</ul>
										</div>
									</li>
									<li>
										<a href="#">
											<span class="sub-item">Level 1</span>
										</a>
									</li>
								</ul>
							</div>
						</li> -->
					</ul>
				</div>
			</div>
		</div>
		<!-- End Sidebar -->	