McGansWebsite/application/views/includes/msg.php
Sasikala a79011514c 20230105
initial update
2023-01-05 17:49:39 +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 } ?>