
<script>
    var resizefunc = [];
</script>


<script src="<?php echo base_url("assets");?>/assets/libs/jquery/jquery.min.js"></script>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="<?php echo base_url("assets");?>/assets/libs/bootstrap/js/bootstrap.min.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/jqueryui/jquery-ui-1.10.4.custom.min.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/jquery-ui-touch/jquery.ui.touch-punch.min.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/jquery-detectmobile/detect.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/jquery-animate-numbers/jquery.animateNumbers.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/ios7-switch/ios7.switch.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/fastclick/fastclick.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/jquery-blockui/jquery.blockUI.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/bootstrap-bootbox/bootbox.min.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/jquery-slimscroll/jquery.slimscroll.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/jquery-sparkline/jquery-sparkline.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/nifty-modal/js/classie.js"></script>

<script src="<?php echo base_url("assets");?>/assets/libs/sortable/sortable.min.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/bootstrap-fileinput/bootstrap.file-input.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/bootstrap-select/bootstrap-select.min.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/bootstrap-select2/select2.min.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/magnific-popup/jquery.magnific-popup.min.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/pace/pace.min.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
<script src="<?php echo base_url("assets");?>/assets/libs/jquery-icheck/icheck.min.js"></script>

<script src="<?php echo base_url("assets"); ?>/assets/js/iziToast.min.js"></script>

<!-- Demo Specific JS Libraries -->
<script src="<?php echo base_url("assets");?>/assets/libs/prettify/prettify.js"></script>

<script src="<?php echo base_url("assets");?>/assets/js/init.js"></script>

<script src="<?php echo base_url("assets"); ?>/assets/js/sweetalert2.all.js"></script>


<!-- Page Specific JS Libraries -->
<script src="<?php echo base_url("assets"); ?>/assets/libs/bootstrap-select/bootstrap-select.min.js"></script>
<script src="<?php echo base_url("assets"); ?>/assets/libs/bootstrap-inputmask/inputmask.js"></script>
<script src="<?php echo base_url("assets"); ?>/assets/libs/bootstrap-xeditable/js/bootstrap-editable.min.js"></script>
<script src="<?php echo base_url("assets"); ?>/assets/libs/bootstrap-xeditable/demo/jquery.mockjax.js"></script>
<script src="<?php echo base_url("assets"); ?>/assets/libs/bootstrap-xeditable/demo/demo-mock.js"></script>
<script src="<?php echo base_url("assets"); ?>/assets/libs/bootstrap-select2/select2.min.js"></script>
<script src="<?php echo base_url("assets"); ?>/assets/libs/jquery-clndr/moment-2.5.1.js"></script>
<script src="<?php echo base_url("assets"); ?>/assets/libs/bootstrap-typeahead/bootstrap3-typeahead.min.js"></script>
<script src="<?php echo base_url("assets"); ?>/assets/libs/ckeditor/ckeditor.js"></script>
<script src="<?php echo base_url("assets"); ?>/assets/libs/ckeditor/adapters/jquery.js"></script>
<script src="<?php echo base_url("assets"); ?>/assets/js/pages/advanced-forms.js"></script>




<script src="<?php echo base_url("assets"); ?>/assets/js/custom.js"></script>


<?php
$alert      = $this->session->userdata("alert");
if ($alert)
{
    if ($alert["type"] == "success")
    { ?>
        <script>
            iziToast.success({
                title: 'Başarılı',
                message: '<?php echo $alert["text"];?>',
                position: 'center'
            });
        </script>
        <?php
    } else {?>
        <script>
            iziToast.error({
                title: 'Başarısız',
                message: '<?php echo $alert["text"];?>',
                position: 'center'
            });
        </script>
        <?php
    }
}
?>