<?php
if($this->session->flashdata('error')!=""){
	echo "
		</br> 
		<div class='alert alert-light-danger alert-dismissible fade show border-0 mb-4' role='alert'> <button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'> <svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x close' data-bs-dismiss='alert'><line x1='18' y1='6' x2='6' y2='18'></line><line x1='6' y1='6' x2='18' y2='18'></line></svg></button>".$this->session->flashdata('error').". </div>
	";
	$this->session->unset_userdata('error');
}
if($this->session->flashdata('success')!=""){
	echo "
		</br> 
		<div class='alert alert-light-success alert-dismissible fade show border-0 mb-4' role='alert'> <button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'> <svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x close' data-bs-dismiss='alert'><line x1='18' y1='6' x2='6' y2='18'></line><line x1='6' y1='6' x2='18' y2='18'></line></svg></button>".$this->session->flashdata('success').". </div>
	";
	$this->session->unset_userdata('success');
}
?>