
<?php
include("../include/session.php");
if( !$session->isAdmin()){
	?>
	<script language="javascript" type="text/javascript">
        <!--
		  window.location="denied.php";
        -->
   </script>
   
	   <?php 
}else{
     
    
	$_SESSION['reg_no'] = ""; 
	$_SESSION['VehicleMake'] = "";
	$_SESSION['VehicleModel'] = "";
    $_SESSION['year'] ="";
	$_SESSION['fuel'] = "";
    $_SESSION['chassis_no'] = "";
    $_SESSION['CompanyNo'] = "";
	$_SESSION['CompanyName'] = "";
    $_SESSION['DriverNo'] = "";
	$_SESSION['DriverName'] = "";
    $_SESSION['License'] = "";
    $_SESSION['PurchaseDate'] = date('Y-m-d');
    $_SESSION['Notes'] = "";
	 $_SESSION['p'] = 1;
	 $_SESSION['error']=0;
	 

?>


<script language="javascript" type="text/javascript">
        <!--
		  window.location="vehicleWizbase.php?error=0&p=1&s=0";
        -->
       </script>
       <?php } ?>
