<?php 
$sess_id = $this->session->userdata('id');
?>
<!DOCTYPE html>
<html>
<head><meta charset="gb18030">
  
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>APP WEB | 3+1R</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" href="<?=base_url()?>/favicon.png" type="image/gif">
  <!-- Bootstrap 4 -->
  <link rel="stylesheet" href="<?php echo base_url() ?>assets/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="<?php echo base_url() ?>assets/css/fontawesome-free/css/all.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="<?php echo base_url() ?>assets/css/adminlte.min.css">
<?php 
/* Si la sesión no existe no cargar estilos del backend*/
  if(!empty($sess_id))
  {
?>
  <!-- Customs css backend-->
  <link rel="stylesheet" href="<?php echo base_url() ?>assets/css/custom.css">
  <script type="text/javascript">
      var base_url = "<?php echo base_url(); ?>";
    </script>
<?php
  }
  else{
?>
  <!-- Customs css login-->
  <link rel="stylesheet" href="<?php echo base_url() ?>assets/css/login.css">
<?php
  }
?>
  <!-- Google Font: Source Sans Pro -->
  <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
