<?php

//is stands for info success
//info stands for passing info 
//error stands for error on queries or codes
//collect the message to be passed
if(isset($_GET['info']))
{
	$msg = $_GET['info'];
	
	echo '<div class="notification alert alert-info in">
			 <button class="close" data-dismiss="alert" type="button">
			 	X

    		 </button>				
			 <i class="glyphicon glyphicon-info-sign"></i>&nbsp;&nbsp;'.$msg.
			'
		</div>';
	
	
}


if(isset($_GET['is']))
{
	$msg = $_GET['is'];
	
	echo '<div class="notification alert alert-success in "  id="">
			 <button class="close" data-dismiss="alert" type="button">
			 	X

    		 </button>
				<i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;'.$msg.'
		  </div>
		 ';
}


if(isset($_GET['error']))
{
	$msg = $_GET['error'];
	echo '<div class="notification alert alert-danger in">
			 <button class="close" data-dismiss="alert" type="button">
			 	X

    		 </button>
				<i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;'.$msg.
			'
		</div>';
}

// call the function to display the messages



?>

<!--
<div class="alert alert-info in" style="display: none;">

    <button class="close" data-dismiss="alert" type="button">

        ×

    </button>


                        This is a dismissable alert..…

</div>-->