<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>PRUfutureteam</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="SHORTCUT ICON" href="<?php echo base_url()?>dist/logo.png">
    <!-- Bootstrap 3.3.5 -->
    <link rel="stylesheet" href="<?php echo base_url()?>bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="<?php echo base_url()?>plugins/font-awesome/css/font-awesome.min.css">
   
    <!-- Ionicons -->
    <!-- <link rel="stylesheet" href="<?php echo base_url()?>plugins/ionicons/css/ionicons.min.css"> -->
    <!-- DataTables -->
    <link rel="stylesheet" href="<?php echo base_url()?>plugins/datatables/dataTables.bootstrap.css">
    <link rel="stylesheet" href="<?php echo base_url()?>plugins/datatables/extensions/Buttons/css/buttons.dataTables.min.css">
    
    <!-- Theme style -->
    <link rel="stylesheet" href="<?php echo base_url()?>dist/css/AdminLTE.min.css">
   
     <!-- Date Picker -->
    <link rel="stylesheet" href="<?php echo base_url()?>assets/bootstrap-datepicker/css/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="<?php echo base_url()?>plugins/timepicker/bootstrap-timepicker.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="<?php echo base_url()?>dist/css/skins/_all-skins.min.css">
     
    <!-- jQuery 2.1.4 -->
    <script src="<?php echo base_url()?>plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <!-- Bootstrap 3.3.5 -->
    <script src="<?php echo base_url()?>bootstrap/js/bootstrap.min.js"></script>
    <!-- DataTables -->
    <script src="<?php echo base_url()?>plugins/datatables/jquery.dataTables.min.js"></script>
    <script src="<?php echo base_url()?>plugins/datatables/dataTables.bootstrap.min.js"></script>
 
     <script src="<?php echo base_url()?>plugins/datatables/jszip.min.js"></script>
       <script src="<?php echo base_url()?>plugins/datatables/pdfmake.min.js"></script>
        <script src="<?php echo base_url()?>plugins/datatables/vfs_fonts.js"></script>

    <script src="<?php echo base_url()?>plugins/datatables/extensions/Buttons/js/dataTables.buttons.min.js"></script>
     <script src="<?php echo base_url()?>plugins/datatables/extensions/Buttons/js/buttons.html5.min.js"></script>
    <script src="<?php echo base_url()?>plugins/datatables/extensions/Buttons/js/buttons.print.min.js"></script>
   
     
    <!-- TimePicker -->
    <script src="<?php echo base_url()?>plugins/timepicker/bootstrap-timepicker.min.js"></script>
   
    <!-- AdminLTE App -->
    <script src="<?php echo base_url()?>dist/js/app.min.js"></script>
    <!-- AdminLTE for demo purposes -->
    <script src="<?php echo base_url()?>dist/js/demo.js"></script>
     <!-- Date Picker -->
    <script src="<?php echo base_url()?>assets/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
   
    <!-- page script -->

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body class="hold-transition skin-green-light sidebar-fixed sidebar-mini">
    <div class="wrapper">

     <header class="main-header">
  
  <!-- Logo -->
        <a href="#" class="logo">
          <!-- mini logo for sidebar mini 50x50 pixels -->
          <span class="logo-mini"><b>MTM</b></span>
          <!-- logo for regular state and mobile devices -->
          <span class="logo-lg"><b>PRUfutureteam </b>Pro</span>
        </a>
 <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
          <!-- Sidebar toggle button-->
          <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
          </a>
    <!-- Navbar Right Menu -->
    <div class="navbar-custom-menu">
      <ul class="nav navbar-nav">
        <!-- Messages: style can be found in dropdown.less-->
        
        <!-- User Account: style can be found in dropdown.less -->
        <li class="dropdown user user-menu">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <?php if($this->session->userdata('JK')=='wanita'){?>
        <img src="<?php echo base_url()?>dist/img/usercewek.jpg" class="user-image" alt="User Image"><?php } else {?>
        <img src="<?php echo base_url()?>dist/img/usercowok.jpg" class="user-image" alt="User Image"><?php } ?>
            
            <span class="hidden-xs"><?php echo $this->session->userdata('NAMA'); ?> </span>
          </a>
          <ul class="dropdown-menu">
            <!-- User image -->
            <li class="user-header">
               <?php if($this->session->userdata('JK')=='perempuan'){?>
        <img src="<?php echo base_url()?>dist/img/usercewek.jpg" class="img-circle" alt="User Image"><?php } else {?>
        <img src="<?php echo base_url()?>dist/img/usercowok.jpg" class="img-circle" alt="User Image"><?php } ?>
              <p>
                <?php echo $this->session->userdata('NAMA'); ?>  - <?php echo $this->session->userdata('BAGIAN'); ?> 
               
              </p>
            </li>
            <!-- Menu Body -->
            <li class="user-body">
              
              <div class="col-xs-4 text-center">
                <a href="#"><?php echo $this->session->userdata('ID_AKUN'); ?></a>
              </div>
              <div class="col-xs-4 text-center">
                <a href="#"><?php echo $this->session->userdata('USERNAME'); ?></a>
              </div>
            </li>
            <!-- Menu Footer-->
            <li class="user-footer">
              <div class="pull-left">
                
              </div>
              <div class="pull-right">
                <a href="<?php echo base_url() ?>beranda/logout" class="btn btn-default btn-flat">Sign out</a>
              </div>
            </li>
          </ul>
        </li>
      </ul>
    </div>
  </nav>
</header>
      <!-- Left side column. contains the logo and sidebar -->
      <div class="main-sidebar">
  <!-- Inner sidebar -->
  <div class="sidebar">
    <!-- user panel (Optional) -->
    <div class="user-panel">
      <div class="pull-left image">
      <?php if($this->session->userdata('JK')=='wanita'){?>
        <img src="<?php echo base_url()?>dist/img/usercewek.jpg" class="img-circle" alt="User Image"><?php } else {?>
        <img src="<?php echo base_url()?>dist/img/usercowok.jpg" class="img-circle" alt="User Image"><?php } ?>
      
      </div>
      <div class="pull-left info">
        <p><?php echo $this->session->userdata('USERNAME'); ?> </p>

        <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
      </div>
    </div><!-- /.user-panel -->

    <!-- Search Form (Optional) -->
    
    <!-- /.sidebar-form -->

    <!-- Sidebar Menu -->
    <ul class="sidebar-menu">
      <li class="header">Menu</li>
      <!-- Optionally, you can add icons to the links -->
        
             
            <li class="treeview">
              <a href="#">
                <i class="fa fa-users"></i>
                <span>Karyawan</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li><a href="<?php echo base_url() ?>karyawan"><i class="fa fa-circle-o"></i> Kelola Karyawan</a></li>
              </ul>
            </li>
            <li class="treeview">
              <a href="#">
                <i class="fa fa-archive"></i>
                <span>Absensi</span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul class="treeview-menu">
                <li><a href="<?php echo base_url() ?>absen/Kelola"><i class="fa fa-circle-o"></i> Kelola Absensi</a></li>
              </ul>
            </li>
    </ul><!-- /.sidebar-menu -->

  </div><!-- /.sidebar -->
</div><!-- /.main-sidebar -->

      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>  <?php echo $judul; ?>
            <small>Version 2.0</small>
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i><?php echo $main; ?></a></li>
            <li class="active"><?php echo $judul; ?></li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <!-- Info boxes -->
                 <?php $this->load->view($view); ?>
        </section><!-- /.content -->
      </div><!-- /.content-wrapper -->

      <footer class="main-footer">
        <div class="pull-right hidden-xs">
          <b>Version</b> 2.3.0
        </div>
        <strong>Copyright &copy; 2016 <a href="http://prufutureteam.net">PRUfutureteam</a>.</strong> All rights reserved.
      </footer>

      <!-- Control Sidebar -->
      <aside class="control-sidebar control-sidebar-dark">
      
      </aside><!-- /.control-sidebar -->
      <!-- Add the sidebar's background. This div must be placed
           immediately after the control sidebar -->
      <div class="control-sidebar-bg"></div>

    </div><!-- ./wrapper -->

  
    
  </body>
</html>
