 <script src="<?php echo base_url()?>media/select2/select2.full.min.js"></script>
 <script src="<?php echo base_url()?>media/select2/i18n/id.js"></script>
 <link href="<?php echo base_url()?>media/select2/select2.min.css" rel="stylesheet" type="text/css">

 

 <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>media/admin/backend/base/jquery.ui.all.css">
 <script type="text/javascript" src="<?php echo base_url('media/admin/date_picker/jquery-ui.js'); ?>"></script>
 
<style type="text/css">
input{border:1px solid silver; padding:5px;}
.form-control{margin-bottom: 0px}
</style>
<div class="row" style="margin-top:2px">
  <div class="col-md-12">
    <ul class="nav nav-tabs" id="rxrTab">
      <li class="active"><a href="#identitas" data-toggle="tab"><?=strtoupper($tipe)?> ENTRY</a></li>
    </ul>

    <div class="tab-content">
      <div class="tab-pane in active" id="identitas">
        <br>

         

          <div class="form-group" style="margin-bottom:30px; margin-top: 0px; padding-bottom: 30px; border-radius:4px; background: linear-gradient(to right, #d14415,#d16b49, #fad2d2 ,transparent,transparent,transparent,transparent)">
            <div class="col-sm-12 col-md-12" style="text-align: left; color: #fff">

              
              <h2><strong>USER PANEL</strong></h2>
            </div>

            <br><br>
          </div>

          <div class="form-group">
          <br>

           
          </div>
            
          <?= form_open('setting/submit_userpanel', array('class'=>"form-horizontal")) ?>
          <?php 
          $id_re_staff = $this->M_general->get_value('bbmc_re_staff','id_staff',$id,'id_re_staff');
          $get = $this->M_general->get_value('global_user','id_user',$id_re_staff,'username');
          ?>
          <input type="hidden" name="id_sdm" value="<?=$id_re_staff?>">
          <div class="form-group">
              <label class="col-sm-2 col-md-2 control-label">Username</label>
              <div class="col-sm-10 col-md-10">
                  <input required class="form-control" name="username" value="<?=$get?>" type="text" style="width:100%; " placeholder="">
              </div>
          </div>
          <div class="form-group">
              <label class="col-sm-2 col-md-2 control-label">Password</label>
              <div class="col-sm-10 col-md-10">
                  <input required class="form-control" name="password" value="" type="password" style="width:100%; " placeholder="">
              </div>
          </div>
          <div class="form-group">
              <label class="col-sm-2 col-md-2 control-label">Confirm Password</label>
              <div class="col-sm-10 col-md-10">
                  <input required class="form-control" name="confirm_password" value="" type="password" style="width:100%; " placeholder="">
              </div>
          </div>
      
          <div class="form-group">
            <div class="col-sm-offset-3 col-sm-9 col-md-offset-2 col-md-10">
              <button type="submit" class="btn btn-success">SUBMIT</button>
            </div>
          </div>
          <br><br>
          <?= form_close() ?>

    </div>
  </div>

</div>


<script type="text/javascript">

$(".input_text").select2({
     placeholder: "",
     language: "id",
    });

$( "#date" ).datepicker({
    changeMonth: true,
    changeYear: true,
    yearRange: "-60:+0",
    dateFormat: 'yy-mm-dd'
});

$(".select2").select2({
     placeholder: "",
     language: "id",
    });

</script>




