McGansWebsite/admin/application/views/includes/msg.php
dotwingssoftware d5a0e0987c 10012023
20230110
2023-01-10 15:11:20 +05:30

11 lines
821 B
PHP

<?php if($this->session->userdata('suc')) { ?>
<div class="alert alert-success alert-dismissible" role="alert" id="msg">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<strong><span class="glyphicon glyphicon-ok"></span></strong><?php echo $this->session->userdata('suc'); echo $this->session->unset_userdata('suc'); ?>
</div>
<?php } if($this->session->userdata('err')) { ?>
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<strong><span class="glyphicon glyphicon-remove"></span></strong> <?php echo $this->session->userdata('err'); echo $this->session->unset_userdata('err'); ?>
</div>
<?php } ?>