2013-11-04 03:14:09 +08:00
|
|
|
<!-- Display Success -->
|
2013-11-03 22:44:02 +08:00
|
|
|
<?php if($this->session->flashdata('success') != '') { ?>
|
2020-11-04 00:06:35 +08:00
|
|
|
<div class="alert alert-success" role="alert">
|
2013-11-03 22:44:02 +08:00
|
|
|
<?php echo $this->session->flashdata('success'); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
2013-03-30 20:40:13 +08:00
|
|
|
<!-- Display Notices -->
|
|
|
|
|
<?php if($this->session->flashdata('notice') != '') { ?>
|
2020-11-04 00:06:35 +08:00
|
|
|
<div class="alert alert-info" role="alert">
|
2013-03-30 20:40:13 +08:00
|
|
|
<?php echo $this->session->flashdata('notice'); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<!-- Display Warnings -->
|
|
|
|
|
<?php if($this->session->flashdata('warning') != '') { ?>
|
2020-11-04 00:06:35 +08:00
|
|
|
<div class="alert alert-warning" role="alert">
|
2013-03-30 20:40:13 +08:00
|
|
|
<?php echo $this->session->flashdata('warning'); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<!-- Display Errors -->
|
|
|
|
|
<?php if($this->session->flashdata('error') != '') { ?>
|
2020-11-04 00:06:35 +08:00
|
|
|
<div class="alert alert-danger" role="alert">
|
2013-03-30 20:40:13 +08:00
|
|
|
<?php echo $this->session->flashdata('error'); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<!-- Display form validation errors -->
|
|
|
|
|
<?php if(validation_errors()) { ?>
|
2020-11-04 00:06:35 +08:00
|
|
|
<div class="alert alert-danger" role="alert">
|
2013-03-30 20:40:13 +08:00
|
|
|
<?php echo validation_errors(); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|