<?php
	//Switch Start
	switch($SESS_ACCESS_LEVEL_USER)
	#1) User
	{
		###########Case No:1
		#1) User
		case "User":
		#BEGIN Verifing Active Session
		#Secure Page
		 if(#MD5 Database Details
			!isset($_SESSION['SESS_ID_MD'])			    	|| (trim($_SESSION['SESS_ID_MD']) == '') 				  ||
			!isset($_SESSION['SESS_PROFILE_PIC_MD'])		|| (trim($_SESSION['SESS_PROFILE_PIC_MD']) == '') 		  ||
			!isset($_SESSION['SESS_FULLNAME_MD'])			|| (trim($_SESSION['SESS_FULLNAME_MD']) == '') 		      ||
			!isset($_SESSION['SESS_EMAIL_MD'])				|| (trim($_SESSION['SESS_EMAIL_MD']) == '') 			  ||
			!isset($_SESSION['SESS_PASSWORD_MD'])			|| (trim($_SESSION['SESS_PASSWORD_MD']) == '') 	 	      ||
			!isset($_SESSION['SESS_BITCOIN_WALLET_MD'])		|| (trim($_SESSION['SESS_BITCOIN_WALLET_MD']) == '')  	  ||
			!isset($_SESSION['SESS_BANK_NAME_MD'])	   		|| (trim($_SESSION['SESS_BANK_NAME_MD']) == '')  		  ||
			!isset($_SESSION['SESS_ACCOUNT_NAME_MD'])		|| (trim($_SESSION['SESS_ACCOUNT_NAME_MD']) == '')  	  ||
			!isset($_SESSION['SESS_ACCOUNT_NUMBER_MD'])		|| (trim($_SESSION['SESS_ACCOUNT_NUMBER_MD']) == '')  	  ||
			!isset($_SESSION['SESS_PHONE_MD'])		   	   	|| (trim($_SESSION['SESS_PHONE_MD']) == '')			 	  ||
			!isset($_SESSION['SESS_CLASS_MD'])		   	   	|| (trim($_SESSION['SESS_CLASS_MD']) == '')			 	  ||
			!isset($_SESSION['SESS_COUNTRY_MD'])		   	|| (trim($_SESSION['SESS_COUNTRY_MD']) == '')			  ||
			!isset($_SESSION['SESS_REGISTRATION_DATE_MD'])	|| (trim($_SESSION['SESS_REGISTRATION_DATE_MD']) == '')   ||
			!isset($_SESSION['SESS_ACCESS_LEVEL_MD'])		|| (trim($_SESSION['SESS_ACCESS_LEVEL_MD']) == '')		  ||
			!isset($_SESSION['SESS_HASH_MD'])		   	    || (trim($_SESSION['SESS_HASH_MD']) == '')			      ||
			!isset($_SESSION['SESS_EMAIL_VERIFIED_MD'])		|| (trim($_SESSION['SESS_EMAIL_VERIFIED_MD']) == '')  	  ||
			!isset($_SESSION['SESS_STATUS_MD'])		   	   	|| (trim($_SESSION['SESS_STATUS_MD']) == '')			  ||
			!isset($_SESSION['SESS_TOKEN_MD'])		   	    || (trim($_SESSION['SESS_TOKEN_MD']) == '')			      ||
					 
		 	#NORMAL Database Details
			!isset($_SESSION['SESS_ID'])			    	|| (trim($_SESSION['SESS_ID']) == '') 				  	  ||
			!isset($_SESSION['SESS_PROFILE_PIC'])			|| (trim($_SESSION['SESS_PROFILE_PIC']) == '') 		      ||
			!isset($_SESSION['SESS_FULLNAME'])				|| (trim($_SESSION['SESS_FULLNAME']) == '') 		      ||
			!isset($_SESSION['SESS_EMAIL'])					|| (trim($_SESSION['SESS_EMAIL']) == '') 			  	  ||
			!isset($_SESSION['SESS_PASSWORD'])				|| (trim($_SESSION['SESS_PASSWORD']) == '') 	 	      ||
			!isset($_SESSION['SESS_BITCOIN_WALLET'])		|| (trim($_SESSION['SESS_BITCOIN_WALLET']) == '')  	      ||
			!isset($_SESSION['SESS_BANK_NAME'])	   			|| (trim($_SESSION['SESS_BANK_NAME']) == '')  		      ||
			!isset($_SESSION['SESS_ACCOUNT_NAME'])			|| (trim($_SESSION['SESS_ACCOUNT_NAME']) == '')  	      ||
			!isset($_SESSION['SESS_ACCOUNT_NUMBER'])		|| (trim($_SESSION['SESS_ACCOUNT_NUMBER']) == '')  	      ||
			!isset($_SESSION['SESS_PHONE'])		   	   		|| (trim($_SESSION['SESS_PHONE']) == '')			 	  ||
			!isset($_SESSION['SESS_CLASS'])		   	   		|| (trim($_SESSION['SESS_CLASS']) == '')			 	  ||
			!isset($_SESSION['SESS_COUNTRY'])		   		|| (trim($_SESSION['SESS_COUNTRY']) == '')			      ||
			!isset($_SESSION['SESS_REGISTRATION_DATE'])		|| (trim($_SESSION['SESS_REGISTRATION_DATE']) == '')      ||
			!isset($_SESSION['SESS_ACCESS_LEVEL'])			|| (trim($_SESSION['SESS_ACCESS_LEVEL']) == '')		      ||
			!isset($_SESSION['SESS_HASH'])		   	    	|| (trim($_SESSION['SESS_HASH']) == '')			          ||
			!isset($_SESSION['SESS_EMAIL_VERIFIED'])		|| (trim($_SESSION['SESS_EMAIL_VERIFIED']) == '')  	      ||
			!isset($_SESSION['SESS_STATUS'])		   	   	|| (trim($_SESSION['SESS_STATUS']) == '')			      ||
			!isset($_SESSION['SESS_TOKEN'])		   	    	|| (trim($_SESSION['SESS_TOKEN']) == ''))
			{
				redirect('access_denied.php');
			}
		#Secure Page
		//BEGIN Verifing Active Session
		break;


		###########Default Case:
		default:
		#Redirect
			//redirect('access_denied.php');
		break;
	}
	//Switch Close
?>