<!DOCTYPE html>

<html lang="en">

  <head>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <!-- Meta, title, CSS, favicons, etc. -->

    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1">



    <title>Fix Your Credit</title>



    <!-- Bootstrap -->

    <link href="<?php echo url('/'); ?>/accets/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Font Awesome -->

    <link href="<?php echo url('/'); ?>/accets/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">

    <!-- NProgress -->

    <!-- <link href="<?php echo url('/'); ?>/accets/vendors/nprogress/nprogress.css" rel="stylesheet"> -->

    <!-- iCheck -->

    <!-- <link href="<?php echo url('/'); ?>/accets/vendors/iCheck/skins/flat/green.css" rel="stylesheet"> -->

    <!-- bootstrap-progressbar -->

    <!-- <link href="<?php echo url('/'); ?>/accets/vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet"> -->

    <!-- JQVMap -->

    <!-- <link href="<?php echo url('/'); ?>/accets/vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/> -->

    <!-- bootstrap-daterangepicker -->

    <link href="<?php echo url('/'); ?>/accets/vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">

    <!-- Select2 -->

    <link href="<?php echo url('/'); ?>/accets/vendors/select2/dist/css/select2.min.css" rel="stylesheet">



    <!-- Custom Theme Style -->

    <link href="<?php echo url('/'); ?>/accets/build/css/custom.min.css" rel="stylesheet">



    <!-- Datepicker -->

    <link href="<?php echo url('/'); ?>/accets/vendors/bootstrap-datepicker/css/bootstrap-datepicker.css" rel="stylesheet">



    <!-- Datetimepicker -->

    <link href="<?php echo url('/'); ?>/accets/vendors/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet">

      

  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.13/css/bootstrap-multiselect.css" />

    <!-- Chosen -->

    <!-- <link href="<?php echo url('/'); ?>/accets/vendors/chosen/chosen.css" rel="stylesheet"> -->

    <script src="<?php echo url('/'); ?>/accets/vendors/jquery/dist/jquery.min.js"></script>

    <?php

    $contr = Request::segment(1);

    $action = Request::segment(2);

    $contrnew = $contr . '/' . $action;

    ?>

  </head>

  <style type="text/css"> #loading { position: fixed; top:0; left: 0; width: 100%; height: 100%; background:#eeeeee4d; text-align:center; z-index: 9999999999999999;} #loading img { margin-top:10%; width:250px; } .btn-group{width: 100%}

 .multiselect.dropdown-toggle{width: 100%}

 .multiselect-container.dropdown-menu{

  overflow-y: scroll;

    max-height: 100px;

    width: 100%;} </style>  

  <div id="loading">

   <div class="container">

    <img src="<?php echo url('/'); ?>/adminlte/img/loader.gif" class="loader_img">

  </div>

</div>

  @include('partials.sidebar')





      <div class = "container">

        @yield('content')

      </div>









        <!-- footer content -->

        <footer>

          <div class="pull-right">

            Admin Template by <a href="http://togglebytes.com/">Togglebytes Technologies</a>

          </div>

          <div class="clearfix"></div>

        </footer>

        <!-- /footer content -->

      </div>

    </div>



    <!-- jQuery -->

    

    <!-- Bootstrap -->

    <script src="<?php echo url('/'); ?>/accets/vendors/bootstrap/dist/js/bootstrap.min.js"></script>

    <!-- FastClick -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/fastclick/lib/fastclick.js"></script> -->

    <!-- Select2 -->

    <script src="<?php echo url('/'); ?>/accets/vendors/select2/dist/js/select2.full.min.js"></script>

    <script type="text/javascript">

      $(document).ready(function(){

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

        setTimeout(function(){$(".alert").fadeOut(200);},3000);

        $('#con_industries').select2({

          maximumSelectionLength: 5

        });

      });

    </script>

    <!-- NProgress -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/nprogress/nprogress.js"></script> -->

    <!-- Chart.js -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/Chart.js/dist/Chart.min.js"></script> -->

    <!-- bootstrap-progressbar -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script> -->

    <!-- iCheck -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/iCheck/icheck.min.js"></script> -->

    <!-- Skycons -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/skycons/skycons.js"></script> -->

    <!-- Flot -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/Flot/jquery.flot.js"></script> -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/Flot/jquery.flot.pie.js"></script> -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/Flot/jquery.flot.time.js"></script> -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/Flot/jquery.flot.stack.js"></script> -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/Flot/jquery.flot.resize.js"></script> -->

    <!-- Flot plugins -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script> -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/flot-spline/js/jquery.flot.spline.min.js"></script> -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/flot.curvedlines/curvedLines.js"></script> -->

    <!-- DateJS -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/DateJS/build/date.js"></script> -->

    <!-- JQVMap -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/jqvmap/dist/jquery.vmap.js"></script> -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/jqvmap/dist/maps/jquery.vmap.world.js"></script> -->

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/jqvmap/examples/js/jquery.vmap.sampledata.js"></script> -->

    <!-- bootstrap-daterangepicker -->

    <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.27.0/moment.min.js"></script>

    <!-- <script src="<?php echo url('/'); ?>/accets/vendors/bootstrap-daterangepicker/daterangepicker.js"></script> -->

    <script src="<?php echo url('/'); ?>/accets/vendors/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>

    <script src="<?php echo url('/'); ?>/accets/vendors/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.13/js/bootstrap-multiselect.js"></script>

    <script src="<?php echo url('/'); ?>/accets/vendors/chosen/chosen.jquery.js"></script>

    <script type="text/javascript" src="<?php echo url('/')?>/adminlte/plugins/ckeditor/ckeditor.js"></script>  

    <!-- Custom Theme Scripts -->

    <script src="<?php echo url('/'); ?>/accets/build/js/custom.js"></script>

    <script type="text/javascript">

      $(".date").datepicker({

        format: 'dd-mm-yyyy'

      });



      $('.year').datepicker({

        format: " yyyy", // Notice the Extra space at the beginning

        viewMode: "years", 

        minViewMode: "years"

      });

      

      $('.month').datepicker({

        format: 'mm',

        viewMode: "months", 

        minViewMode: "months"

      });
      // $('.ckeditor').ckeditor();

      // $('.datetime').datetimepicker({

      //   format: 'YYYY-MM-DD HH:mm:ss'

      // });

      // $('.timepicker').datetimepicker({

      //   format: 'HH:mm:ss'

      // });

      $('.onoffswitch-checkbox').click(function(){



        if($(this).val() == 1)

        {

            $(this).val(0);



        }

        else

        {

            $(this).val(1);

        }

    });

      $(window).load(function(){

        $('#loading').hide();

      });



      $(document).ready(function() {

        $('.multiselect').multiselect({

          includeSelectAllOption: false,

        });



    });



      $('.multiselect').on('change',function(option, checked) {

                // Get selected options.

                var selectedOptions = $('.multiselect option:selected');

                // console.log(selectedOptions);

                if (selectedOptions.length >= 5) {

                    // Disable all other checkboxes.

                    var nonSelectedOptions = $('.multiselect option').filter(function() {

                        return !$(this).is(':selected');

                    });

 

                    nonSelectedOptions.each(function() {

                        var input = $('input[value="' + $(this).val() + '"]');

                        input.prop('disabled', true);

                        input.parent('li').addClass('disabled');

                    });

                }

                else {

                    // Enable all checkboxes.

                    $('.multiselect option').each(function() {

                        var input = $('input[value="' + $(this).val() + '"]');

                        input.prop('disabled', false);

                        input.parent('li').addClass('disabled');

                    });

                }

            }

        );

    </script>

    <script src="<?php echo url('/'); ?>/accets/recordDel.js"></script>

  </body>

</html>