<?php if ($this->session->has_userdata('success')) { ?>
    <div class="alert alert-primary alert-dismissible fade show" role="alert ">
        <?= $this->session->flashdata('success'); ?>
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
    </div>
<?php } ?>

<?php if ($this->session->has_userdata('proses')) { ?>
    <div class="alert alert-primary alert-dismissible fade show" role="alert ">
        <?= $this->session->flashdata('proses'); ?>
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
    </div>
<?php } ?>