
<link rel="stylesheet" type="text/css" href="js/menu-v2/menu.css" />

 
<?php
 
$query = "select encodingmode from setup;";
 
$res = mysql_query($query,$connection);
$row = mysql_fetch_row($res);
$encodingmode = $row[0];
if($encodingmode == '') $encodingmode = "windows-1256";
$_SESSION['encodingmode'] = $encodingmode; 


$queryIsactive = "select if( user_expirydate <= now(), 1 , 0), user_Account,user_expirydate  from ".$_SESSION['dbLabel'].".users where   User_account='".$_SESSION['useraccount']."'";
		$result=mysql_query($queryIsactive, $connection) or die(mysql_error());
		$rows=mysql_fetch_array($result);
if($rows[0] == 1){
	
	echo "<script> 
				var qstr = window.location.href; 
				if(qstr.includes('change_password') == false)
						{
							window.location.replace('change_password.php');
						}
		</script>";
}	

$querydate = " Select Date_Format(StartFinancialDate,'%Y%m%d') As StartFinancialDate, Date_Format(EndFinancialDate,'%Y%m%d') As EndFinancialDate ".
			 " From ".$_SESSION['dbLabel'].".Directories ". 
			 " Where Upper(Concat(CompanyName, '_', DirYear)) = Upper('".$_SESSION['dbName']."') ";
$resultdate=mysql_query($querydate,$connection) or die(mysql_error());
$rowdate=mysql_fetch_row($resultdate);

$_SESSION['StartFinancial_Date']=$rowdate[0];
$_SESSION['EndFinancial_Date']=$rowdate[1];

$querylog=" SELECT Budget As Budget,FI_RENTINVOICE ,RA_AccountReconciliation As RA_AccountReconciliation ,FI_PurchaseRequestItemTR,accounting, Inventory, Reports, Utilities, FA_Receipt, FI_Transfer, FI_SalesOrder, FI_Sales, FI_ReturnSales,RA_StatementofAccount, ".
		  " RA_Aging,RI_ListTransaction,RI_Inventory,RA_Trialbalance,RI_SalesReports, FI_Purchases, FI_Delivery, Clients,FI_Suppliers,FI_Salesmen,FI_Grouping,FI_SubGrouping,FI_Warehouse, FI_Area, FA_Project, ".
		  " FA_CostCenter, FI_ClientGrp, FI_SupplierGrp, FA_AccountType, Currency, FI_Category, FA_DailyReport, FA_Ledger,RA_TransactionJV, FA_Journal, FA_Payment, FA_Contra, RA_FinancialAccounts, RetailInvoice, ".
		  " FC_CashRegister ,FI_Items, FI_Grn, FI_RmGrn, FI_PurchaseOrder, FI_Production, FI_PorderPurRequest, FC_RetailReport, RI_ListofProduction, RI_SatementofItems, FI_Adjustment , FI_IN, FI_OUT, FI_ReturnDelivery, ".
		  " FI_ReturnSales, RI_YearlySales , FI_RmTransfer, FI_ReturnGrn, RI_Aging, RA_StatementofProject, RA_StatmentofCostcenter, RI_GrnReports, RA_AgingOfSupplierInvoices, RA_AgingOfClientInvoices, RA_StatisticsReport, ".
		  " RI_InvComparisonReport, RI_TargetRebateReport, RI_SalesOrderReport, RI_PorderReport, FA_PurchaseJV, FA_SalesJV, RA_SalesJV, RA_PurchasesJV, RI_PurchaseReports, RA_GeneralLedger, FI_ProductionTemp, FI_Charges, FI_ProductionReq,".
		  " FA_Charging, FI_ReturnPurchase, FA_PaymentRqst, FA_DebitNote, FA_CreditNote, Logistics, FA_Banks, FA_InvoicesAllocation,FI_SalesmenCommission, FI_VehcileLoad,CRM ,FI_PurchaseRequest,FA_FixedAssets, FA_Invoicing , ".
		  " FI_PurchaseRequestItems,FA_FIPAddress,FI_TransferRequest ,FI_AdjustmentRequest,RA_ListofCheckBills,Rep_Accounting,Rep_Inventory, FA_TransferFunds, RI_TopClientsSuppliers, Fi_POS,PayRoll, FI_CalculateRMReport, ".
		  " ifNull(Access,0) As Access,ifNull(RI_Statistics,0) As RI_Statistics,ifNull(RA_Statistics,0) As RA_Statistics, FC_Tracking,FI_vehicle,FI_VehicleCharges,FI_Place,FI_VehicleMovement,FI_Employee,Fi_vehicleservice, ".
		  " Fi_vehiclefueltype,Fi_VehicleMovementReport as FI_VehicleMovementReport, Fi_vehicletype, FA_FixedAssetsApp, Login_Mobile, FM_Visits, RM_DailyVisits, FM_Mobiles, FU_DataTransfer, U_RePostTransaction, FC_RetailStatistics, ".
		  " FC_SalesAnalysis, FI_DeliveryStatus, FA_ConfirmJV, FI_heatNo, FC_RetailViewer, RI_Adjustment, FI_SetDeliveryStatus, FI_itemtransfer, ifnull(FA_PurchaseOrderJV,0) as FA_PurchaseOrderJV, ifnull(RI_Procurement,0) as RI_Procurement,".
		  " FI_Visit as FI_Visit, RI_Visit as RI_Visit, FI_ArchiveReports, FI_ReportsOptions, ifnull(FC_SalesStatistic,0) as FC_SalesStatistic, ifnull(FI_ItemAuction,0) as FI_ItemAuction,ifnull(FI_FactoryProduction,0) as FI_FactoryProduction, ".
		  " ifnull(FI_Rma,0) as FI_Rma, ifnull(FI_ReturnRMA,0) as FI_ReturnRMA,  ifnull(FI_SupplierItemAuction,0) as FI_SupplierItemAuction, ifnull(FI_ItemAuctionHall,0) as FI_ItemAuctionHall, FI_RMAPendingItems as FI_RMAPendingItems1, ".
		  " FI_RMALocations as FI_RMALocations1, FI_ReturnRMAPendingItems as FI_ReturnRMAPendingItems1, FI_ReturnRMALocations as FI_ReturnRMALocations1, FI_ReturnRMAReception as FI_ReturnRMAReception1, FI_RMAReport as FI_RMAReport1, ".
		  " ifnull(FI_PreReceipt,0) as FI_PreReceipt, ifnull(FI_MaterialRequisition,0) as FI_MaterialRequisition, manifest as manifest,archiving as archiving, ifnull(FA_PrePayment,0) as FA_PrePayment, ifnull(FI_QtyBudget,0) as FI_QtyBudget, ".
		  " ifnull(RI_Transfer,0) as RI_Transfer, ifnull(FA_SourceFunds,0) as FA_SourceFunds, ifnull(FI_Tender,0) as FI_Tender, ifnull(RI_Tender,0) as RI_Tender, ifnull(FI_SendNotification,0) as FI_SendNotification, ifnull(FI_Paymentmode,0) as FI_Paymentmode, FA_JournalType, RI_TrackingRMA ".
		  " , ifnull(RI_expirydate,0) as RI_expirydate, ifnull(FS_UserSupportApp,0) as FS_UserSupportApp, ifnull(FS_TicketProblemApp,0) as FS_TicketProblemApp, ifnull(FS_TicketSupportApp,0) as FS_TicketSupportApp,  ".
		  " ifnull(FS_TicketVisitApp,0) as FS_TicketVisitApp, ifnull(FS_LocationSetupApp,0) as FS_LocationSetupApp, ifnull(FS_TypeSetupApp,0) as FS_TypeSetupApp, ifnull(FL_OperationLogisticApp,0) as FL_OperationLogisticApp, ifnull(FL_Logistic,0) as FL_Logistic, ".
		  " ifnull(FL_OperationLogisticSetupApp,0) as FL_OperationLogisticSetupApp, ifnull(FL_TransporterLogisticsApp,0) as FL_TransporterLogisticsApp, ifnull(FL_WaybillLogisticsApp,0) as FL_WaybillLogisticsApp, ifnull(FL_ClosingFileLogisticsApp,0) as FL_ClosingFileLogisticsApp, ".
		  " ifnull(Login_FLClientTracking,0) as Login_FLClientTracking, ifnull(FA_SalesOrderJv,0) as FA_SalesOrderJv, ifnull(FS_TicketReport,0) as FS_TicketReport, ifnull(FU_Reminder,0) as FU_Reminder, ifnull(FI_ChangingTyre,0) as FI_ChangingTyre, ".
		  " ifnull(RI_RentInvoice,0) as RI_RentInvoice  , ifNull(FI_itemlocation, 0) as FI_itemlocation ".
		  " FROM ".$_SESSION['dbLabel'].".login where user_account='".$_SESSION['useraccount']."' AND Upper(Login_Schema) = Upper('".$_SESSION['dbName']."')	";
 //echo $querylog;

$resultlog=mysql_query($querylog) or die(mysql_error());
while($rows=mysql_fetch_array($resultlog)){
	extract($rows);
}

$queryListDir = " select ifnull(FU_ProjectManagement,0) as FU_ProjectManagement, ifnull(FI_StockTake,0) as FI_StockTake, ifnull(FU_DocumentTypes,0) as FU_DocumentTypes ,ifnull(FI_bulkitemminmaxAdjust,0) as FI_bulkitemminmaxAdjust,".
                " ifnull(FI_Slippass,0) as FI_Slippass".
				" from  ".$_SESSION['dbLabel'].".ListUserDir ".
				" where Usercode = '".$_SESSION['useraccount']."' and upper(concat(CompanyName,'_',Diryear)) = Upper('".$_SESSION['dbName']."') ";
				
				//echo $queryListDir;
$resultListDir=mysql_query($queryListDir) or die(mysql_error());
while($rows=mysql_fetch_array($resultListDir)){
	extract($rows);
}				
//echo $RI_expirydate;
//Read From Module Table
$querymodule=" Select ifNull(Module_Delivery,0) As Module_Delivery, ifNull(Module_CashBankRV,0) As Module_CashBankRV, ifNull(Module_CashBankPV,0) As Module_CashBankPV,ifNull(Module_PurchaseJv,0) As Module_PurchaseJv,  ".
			 " ifNull(Module_SalesJV,0) As Module_SalesJV, ifNull(Module_Grn,0) As Module_Grn, ifNull(Module_LedgerGrp,0) As Module_LedgerGrp, ifNull(Module_IPAddress,0) As Module_IPAddress, ifNull(Module_FixedAssets,0) As Module_FixedAssets, ".
			 " ifNull(Module_Production,0) As Module_Production ,ifnull(Module_NewProduction,0) As Module_NewProduction, ifnull(Module_RepostTransaction,0) As Module_RepostTransaction, ifnull(Module_ConfirmJV,0) As Module_ConfirmJV, ".
			 " ifnull(Module_Heatno,0) As Module_Heatno, ifNull(Module_FixedAssets,0) As module_visit, ifnull(Module_Project, 0) As Module_Project, ifNull(module_projectdt,0) as module_projectdt , ifnull(Module_Costcenter, 0) as Module_Costcenter, ".
			 " ifnull(module_costcenterdt,0) as  module_costcenterdt ,  ifnull(module_referencebycostcenter,0) as  module_referencebycostcenter , ifnull(Module_Production, 0) as Module_Production,  ".
			 "  ifNull(module_invoicegrid,0) As module_invoicegridAll, ifNull(Module_Archive,0) As Module_Archive, ifNull(module_transactionweight,0) As module_transactionweight, Module_RMA, ifnull(Module_TicketSupport,0) as Module_TicketSupport,  ".
			 " ifnull(Module_SalesOrderJv,0) as Module_SalesOrderJv , ifnull(module_bulkitemminmaxAdjust,0) as module_bulkitemminmaxAdjust , ifnull(Module_charging,0) as Module_charging".
             " From Module";
		//  echo $querymodule; exit;
$resultmodule=mysql_query($querymodule,$connection) or die(mysql_error());
while($rowmodule=mysql_fetch_array($resultmodule)){
	extract($rowmodule);
}

 
//Read from User Table
$queryuser=" Select ifnull(Access,0) as access_user, ifnull(access_usermanager,0) as Access_Usermanager ".
             " From ".$config['dbName_log'].".users where user_account='".$_SESSION['useraccount']."'";
			 
$resultuser=mysql_query($queryuser,$connection) or die(mysql_error());
while($rowuser=mysql_fetch_array($resultuser)){
	extract($rowuser);
}

?>

<script type="text/javascript" language="javascript">
function openlogistics()
{
 win = window.open('Form_DirectLoginV2.php', 'Logistic', 'toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=775,height=550,top=100,left=100');		
	win.creator = self;
	win.focus();
}


function opencrm()
{
 win = window.open('./../../crm/index.php', 'crm', 'toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=900,height=550,top=100,left=100');		
	win.creator = self;
	win.focus();
}

function openpos()
{
 win = window.open('./../../pos/index.php', 'pos', 'toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=900,height=550,top=100,left=100');		
	win.creator = self;
	win.focus();
}

function openpayroll()
{
 win = window.open('./../../payroll/index.php', 'payroll', 'toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=900,height=550,top=100,left=100');		
	win.creator = self;
	win.focus();
}


function SelectCashUser()
{
	win = window.open('Form_Retail_CashUsers.php?MainMenu=1', 'Form_Retail_CashUsers', 'toolbar=no,location=no,status=no,directories=no,menubar=no,scrollbars=yes,resizable=yes,width=350,height=350,top=100,left=200');		
	win.creator = self;
	win.focus();
}

// close layer when click-out
//document.onclick = mclose; 
// -->
</script>


			
<?php
if ($prints != "yes"){
?>
<ul id="menu">
	
	<li><a href="menu.php" class="drop">&nbsp; Home</a><!-- Begin Home Item -->
	 <div class="dropdown_2columns"><!-- Begin 2 columns container -->
    
            <div class="col_2">
                <h2>Welcome !</h2>
            </div>
    
            <div class="col_2">
                <p>Welcome to E-Datacom</p>             
            </div>
    
            <div class="col_2" style='text-align:center;'>
                
                
				<img src="js/menu-v2/menuimg/datacomlogo.jpg" width="150" height="70" class="img_left imgshadow" alt="" />
            </div>
            
            <div class="col_1">
                
            </div>
            
            <div class="col_1">
                <p></p>
            </div>
          
        </div><!-- End 2 columns container -->
		 </li><!-- End Home Item -->
		 <?php
		 /*
		 print <<< HERE
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
HERE;
*/
//echo $_SESSION['dbNamelog']; exit;
		 //mysql_query("SET NAMES 'utf8';"); 
        //mysql_query("SET CHARACTER SET 'utf8';"); 
		 $query_language  = "select user_account, Language from ".$_SESSION['dbLabel'].".login  where user_account = '".$_SESSION['useraccount']."'";
		 $result_language = mysql_query($query_language, $connection); 
		 $row_language    = mysql_fetch_array($result_language);
		 extract($row_language);
		 
		 $query_field1  = "SELECT Language, Ledger as Ledger1, Currency as Currency1, Clients as Clients1, Salesmen as Salesmen1, Suppliers as Suppliers1, Project as Project1, Costcenter as Costcenter1, Area as Area1, Accounttype as Accounttype1, Banks as Banks1, FinancialAccounts as FinancialAccounts1,
		                   Journal as Journal1, PaymentRequest as PaymentRequest1, Payment as Payment1, Receipt as Receipt1, Debitnote as Debitnote1, Creditnote as Creditnote1, ChecksCollection as ChecksCollection1, Reconcilation as Reconcilation1, InvoicesAllocation as InvoicesAllocation1, FixedAssets as FixedAssets1,
						   Contra as Contra1, PurchaseJV as PurchaseJV1, SalesJV as SalesJV1, StatementOfAccount, FinancialReport, DailyReport, Aging, ListOfReports, Archive, Transaction, StatisticsReports, Accounting as Accounting1, ListOfTransaction as ListOfTransactionX
                           FROM ".$_SESSION['dbLabel'].".mainform_label
                           where Language = '".$Language."'";
		 $result_field1 = mysql_query($query_field1, $connection);
		 
		// echo $query_field1;
		 
		 $row_field1    = mysql_fetch_array($result_field1);
		 //mysql_query("set names 'utf8'");
		 extract($row_field1);
		 
		 $query_field2  = "select Language, ReportsOptions, GeneralReports, Tab1 as TransactionJV, Tab2 as ListOfTransaction, ListOfSalesJV, ListOfPurchaseJV, Tab7 as ListOfLedger
                          From ".$_SESSION['dbLabel'].".reportoptionsacc_label
                          where Language = '".$Language."'";
		 //echo $query_field2; exit;
		 $result_field2 = mysql_query($query_field2, $connection);
		 //echo $result_field2; exit;
		 $row_field2    = mysql_fetch_array($result_field2);
		 extract($row_field2);
		 ?>
	<?php if($accounting=="1"){ ?>
		 
	  <li><a href="#" class="drop"><?php echo $Accounting1; ?> </a><!-- Begin 5 columns Item -->
    
			<div class="dropdown_5columns"><!-- Begin 5 columns container -->
			
            
            <div class="col_1">
            
                <h3><?php echo $Archive; ?></h3>
                <ul>	
				   <?php if($FA_Ledger=="1"){ ?>
					<li><a href="Form_Ledger.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $Ledger1; ?></a></li>
					<?php } ?>
					  <?php  if($Currency=="1"){?>
					<li><a href="Form_Currency.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $Currency1; ?></a></li>
					<?php } ?>
					<?php  if($Clients=="1"){?>
						<li>	<a href="Form_Clients.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $Clients1; ?></a></li>
							<?php } ?>
							
							<?php  if($FI_Salesmen=="1"){?>
						<li>	<a href="Form_Salesmen.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $Salesmen1; ?></a></li>
							<?php } ?>
						  
							<?php  if($FI_Suppliers=="1"){?>
						<li>	<a href="Form_Suppliers.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $Suppliers1; ?></a></li>
							<?php } ?>
					
                 
												
					<?php if($FA_Project=="1" && ( $Module_Project = 1  || $module_projectdt ==1)){?>
					<li><a href="Form_Project.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $Project1; ?></a></li>
					<?php } ?>
							<!-- by rodolphe // module_referencebycostcenter  module_costcenterdt --> 
					<?php  if($FA_CostCenter=="1" && ( $Module_Costcenter == 1 ||$module_referencebycostcenter==1 ||$module_costcenterdt==1)  ){?>
					<li><a href="Form_CostCenter.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $Costcenter1; ?></a></li>
					<?php } ?>
					<?php  if($FI_Area=="1"){?>
					<li><a href="Form_Area.php"  ><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $Area1; ?></a></li>
					<?php } ?>
							
					<?php  if($FA_AccountType=="1"){?>
					<li><a href="Form_AccType.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $Accounttype1; ?></a></li>
					<?php } ?>
							
					<?php  if($FA_Banks=="1"){?>
					<li><a href="Form_Banks.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $Banks1; ?></a></li>
					<?php } ?>
					
					<?php  if($FA_SourceFunds=="1"){?>
					<li><a href="Form_SourceFunds.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Source Funds"; ?></a></li>
					<?php } ?>					
					
					
							
					<?php if($RA_FinancialAccounts=="1"){ ?>		
					<li><a href="Form_FinancialAccounts.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo $FinancialAccounts1; ?></a></li>
					<?php } ?>
							
					<?php  if($FA_FIPAddress=="1" && $Module_IPAddress == 1){?>
					<li><a href="Form_IP_Address.php"><img src='toolbar/archive.png' width='7px' height='7px'> IP Address</a></li>
					<?php } ?>	
					<?php  if($access_user=="1" && $Access_Usermanager == 1){?>
					<li><a href="Form_LockedPeriod.php"><img src='toolbar/archive.png' width='7px' height='7px'> Locked Period</a></li>
					<?php } ?>	
					
					<?php  if($FI_QtyBudget=="1"){?>
					<li><a href="Form_BudgetQuantityTemplate.php"><img src='toolbar/archive.png' width='7px' height='7px'> Budget Items Template</a></li>
					<?php } ?>
					
					<?php  if($FA_JournalType=="1"){?>
					<li><a href="Form_JournalType.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Journal Type"; ?></a></li>
					<?php } ?>	

					<li><a href="Form_ShipmentSetup.php"><img src='toolbar/archive.png' width='7px' height='7px'> Shipment Setup</a></li>
                   
                </ul>   
                 
            </div>
			<div class="col_1">
            
			
                 
            </div>
			
			<div class="col_1">
            
                <h3><?php echo $Transaction; ?></h3>
                <ul>
							
							
							<?php  if($FA_Journal=="1"){?>
							<li><a href="Form_Journal.php"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $Journal1; ?></a></li>
							<?php } ?>
							<?php  if($FA_ConfirmJV=="1" && $Module_ConfirmJV == 1){?>
							<li><a href="Form_JournalSearchUnPosted.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Confirm Jv</a></li>
							<?php } ?>
							
							<?php  if($FA_PaymentRqst=="1"){?>
							<li><a href="Form_PaymentRqst.php"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $PaymentRequest1; ?></a></li>
							<?php } ?>
							<?php  if($FA_Payment=="1"){?>
							<li><a href="Form_Trans.php?TransType=PV"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $Payment1; ?></a></li>
							<?php } ?>
			
			                <?php  if($FA_Receipt=="1"){?>
							<?php  	  if($Module_CashBankRV=="1"){?>
							<li><a href="Form_Trans.php?TransType=RV&CashBank=1"><img src='toolbar/transaction.png' width='7px' height='7px'> Cash Receipt</a></li>
							<?php 	  } else { ?>
							<li><a href="Form_Trans.php?TransType=RV"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $Receipt1; ?></a></li>
							<?php 	  } ?>
							<?php } ?>
		
			               <?php  if($FA_Receipt=="1"){?>
							<?php  	  if($Module_CashBankRV=="1"){?>
							<li><a href="Form_Trans.php?TransType=RV&CashBank=2"><img src='toolbar/transaction.png' width='7px' height='7px'> Bank Receipt</a></li>
							<?php 	  } ?>
							<?php } ?>
		
				          <?php  if($FA_DebitNote=="1"){?>
							<li><a href="Form_Trans.php?TransType=DV"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $Debitnote1; ?></a></li>
							<?php } ?>
							
							<?php  if($FA_CreditNote=="1"){?>
							<li><a href="Form_Trans.php?TransType=CV"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $Creditnote1; ?></a></li>
							<?php } ?>
							<?php  if($FI_PreReceipt=="1"){?>
							<li><a href="Form_PreTrans.php?TransType=RV"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo "Pre-Receipt"; ?></a></li>
							<?php } ?>
							<?php  if($FA_PrePayment=="1"){?>
								<li><a href="Form_PreTrans.php?TransType=PV"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo "Pre-Payment"; ?></a></li>					
		                  <?php } ?>
						  <?php  if ($RA_ListofCheckBills=="1"){?>
							 <li><a href="Form_ChecksCollection.php"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $ChecksCollection1; ?></a></li>
							 <?php } ?>
						     
							
								
							<?php  if($RA_AccountReconciliation=="1" ){?>
							<li><a href="reconcilation.php"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $Reconcilation1; ?></a></li>
							<?php } ?>
							
							<?php  if($FA_Contra=="1"){?>
							<li><a href="Form_Trans.php?TransType=CT"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $Contra1; ?></a></li>
							<?php } ?>
							
				
							<?php  if($FA_PurchaseOrderJV=="1" && $Module_PurchaseOrderJV==1){?>
							<li><a href="Form_PurchasesOrderJV.php"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo "Purchase Order JV"; ?></a></li>
							<?php } ?>
							
							<?php  if($FA_PurchaseJV=="1" && $Module_PurchaseJv==1){?>
							<li><a href="Form_PurchasesJv.php"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $PurchaseJV1; ?></a></li>
							<?php } ?>
							
							<?php  if($FA_SalesOrderJv=="1" && $Module_SalesOrderJv==1){?>
							<li><a href="Form_SalesOrderJV.php"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo "Sales Order Jv"; ?></a></li>
							<?php } ?>
							
							<?php  if($FA_SalesJV=="1" && $Module_SalesJV==1){?>
							<li><a href="Form_SalesJv.php"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $SalesJV1; ?></a></li>
							<?php } ?>
							
							<?php  if($FA_InvoicesAllocation=="1"){?>
							<li><a href="Form_AdvancedPaymentAllocation1.php"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $InvoicesAllocation1; ?></a></li>
							<?php } ?>	
							
							<?php  if($FA_Invoicing=="1"){?>
							<li><a href="Form_Invoicing.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Generate Invoices</a></li>
							<?php } ?>
							
							
							
							<?php  if($FA_TransferFunds=="1"){?>
							<li><a href="Form_TransferFunds.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Transfer Funds</a></li>
							<?php } ?>
							
							<?php  if($module_invoicegridAll=="2"){?>
							<li><a href="Form_AdvancedPaymentAllocation1.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Advanced Payments Allocation</a></li>
							<?php } ?>
													
							
							
							<li><h3 ></h3></li>
							<?php  if($FA_Charging=="1" && $Module_charging==1){?>
							<li><a href="Form_Prepayment.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Charging</a></li>
							<?php } ?>
							
							<?php  if($Budget=="1"){?>
							<li><a href="form_budget.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Budget</a></li>
							<?php } ?>
							
							<?php  if($FI_QtyBudget=="1"){?>
							<li><a href="Form_BudgetQuantity.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Quantity Budget</a></li>
							<?php } ?>
							
							<?php  if($FA_FixedAssets=="1" && $Module_FixedAssets == 1){?>
							<li><a href="Form_Amortization.php"><img src='toolbar/transaction.png' width='7px' height='7px'> <?php echo $FixedAssets1; ?></a></li>
							<?php } ?>
							
							<?php  if(1 == 1){?>
							<li><a href="form_shipmentClosing1.php"><img src='toolbar/transaction.png' width='7px' height='7px'>Closing Shipment</a></li>
							<?php } ?>
							
							
							
							
							
                </ul>   
                 
            </div>
			
			
			
			<?php if($Rep_Accounting=="1"){ ?>
				<div class="col_1">
            
                <h3><?php echo $ListOfReports; ?></h3>
                <ul>
				            <?php
							if($FI_ReportsOptions == 1){
							?>
							<li><a href="Form_ReportsOptions.php"><img src='toolbar/report.png' width='7px' height='7px'> <?php echo $ReportsOptions; ?></a> </li>
							<?php
							}
							?>
							 <?php
							if(1 == 1){
							?>
							<li><a href="Form_ExportToExcel.php"><img src='toolbar/report.png' width='7px' height='7px'> <?php echo "Export To Excel"; ?></a> </li>
							<li><h3 ></h3></li>
							<?php
							}
							?>
							
							
							
							<?php if($RA_TransactionJV=="1"){ ?>
							<li>  <a href="Form_TransactionJV.php"><img src='toolbar/report.png' width='7px' height='7px'> <?php echo $TransactionJV; ?></a></li>
							<?php } ?>
							
							<?php if($RA_TransactionJV=="1"){ ?>							
							<li><a href="Form_ListOfReceipt.php"><img src='toolbar/report.png' width='7px' height='7px'> <?php echo $ListOfTransactionX ?></a></li>
							<?php } ?>
				
							<?php if($RA_SalesJV=="1"){ ?>
							 <li> <a href="Form_ListofSalesJV.php"><img src='toolbar/report.png' width='7px' height='7px'> List of Sales JV</a></li>
							<?php } ?>
							
							<?php if($RA_PurchasesJV=="1"){ ?>
							<li>  <a href="Form_ListofPurchasesJV.php"><img src='toolbar/report.png' width='7px' height='7px'> List of Purchases JV</a></li>
							<?php } ?>
							
							<?php if($RA_GeneralLedger=="1"){ ?>
							<li><a href="Form_GeneralLedger.php"><img src='toolbar/report.png' width='7px' height='7px'> <?php echo $ListOfLedger; ?></a></li>
							<?php } ?>
							<li><h3 ></h3></li>
						
					</ul>
					</div>		
				<?php } ?>
			
       
		
			  <?php if($Rep_Accounting=="1"){ ?>
					<div class="col_1">
					<?php if($RA_Statistics==1) { ?>
						<h3><?php echo $StatisticsReports ?></h3>
						<ul>
							<?php if($RA_StatementofAccount=="1"){ ?>
							 <li> <a href="Form_StatementofAccount.php"><img src='toolbar/statistic.png' width='7px' height='7px'> <?php echo $StatementOfAccount; ?></a></li>
							<?php } ?>
							
							<?php if($RA_Trialbalance=="1"){ ?>
							<li><a href="Form_TrialBalance.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Trial Balance</a></li>
							<?php } ?>
							
							<?php if($RA_StatementofProject=="1" && ($Module_Project == 1  || $module_projectdt ==1)){ ?>
							<li><a href="Form_ReportProject.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Report of Shipment Ref</a></li>
							<?php } ?>
								<!-- by rodolphe // module_referencebycostcenter  module_costcenterdt --> 
							<?php if($RA_StatmentofCostcenter=="1" && ($Module_Costcenter == 1) ||$module_referencebycostcenter==1 ||$module_costcenterdt==1  ){ ?>
							<li><a href="Form_ReportCostCenter.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Report of Costcenter</a></li>
							<?php } ?>
							
							<?php if($RA_Aging=="1"){ ?>
							<li>  <a href="Form_Aging.php"><img src='toolbar/statistic.png' width='7px' height='7px'> <?php echo $Aging; ?></a></li>
							<?php } ?>
							
							<?php if($RA_AgingOfSupplierInvoices=="1"){ ?>
							<!-- <li style='width:140px'> <a href="Form_AgingSupplierInvoices.php" ><img src='toolbar/statistic.png' width='7px' height='7px'> Aging Supplier Invoices</a></li>-->
							 <li style='width:140px'> <a href="Form_NewAgingSup.php" ><img src='toolbar/statistic.png' width='7px' height='7px'> Aging Supplier Invoices</a></li>
							<?php } ?>
							
							<?php if($RA_AgingOfClientInvoices=="1"){ ?>
							 <!--<li> <a href="Form_AgingClientInvoices.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Aging Client Invoices</a></li>-->
							 <li> <a href="Form_NewAgingClient.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Aging Client Invoices</a></li>
							<?php } ?>
							
							<?php if($RA_FinancialAccounts=="1"){ ?>
							<li><a href="Form_FinancialReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> <?php echo $FinancialReport; ?></a></li>
							<?php } ?>
							
							<?php if($FA_DailyReport=="1") { ?>
							<li><a href="Form_DailyReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> <?php echo $DailyReport; ?></a></li>
							<?php } ?>
							
							<?php if($RA_StatisticsReport=="1"){ ?>
							 <li> <a href="Form_StatisticsReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Statistics Report</a></li>
							<?php } ?>
					        <li> <a href="Form_ListOfChecks.php"><img src='toolbar/statistic.png' width='7px' height='7px'> List of Checks</a></li>
					        <li><a href="Form_AgingOfInvoicingReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Aging of Invoicing</a></li>
						</ul>
						<?php } ?>
					</div>	
				<?php } ?>
        </div><!-- End 5 columns container -->
    
    </li><!-- End 5 columns Item -->
	
	<?php }	?>	
			
	<?php if($Inventory=="1"){ ?>
	 <li><a href="#" class="drop">Inventory</a><!-- Begin 5 columns Item -->
    
		<div class="dropdown_6columns"><!-- Begin 5 columns container -->
				<div class="col_1">
				<h3>Archive</h3>
					<ul>
						 <?php  if($FI_Items=="1"){?>
							<li><a href="Form_Items.php"><img src='toolbar/archive.png' width='7px' height='7px'> Items </a></li>
							<?php } ?>
						  
							<?php  if($Clients=="1"){?>
							<li><a href="Form_Clients.php"><img src='toolbar/archive.png' width='7px' height='7px'> Clients</a></li>
							<?php } ?>
							
							<?php  if($FI_Salesmen=="1"){?>
							<li><a href="Form_Salesmen.php"><img src='toolbar/archive.png' width='7px' height='7px'> Salesman</a></li>
							<?php } ?>
						  
							<?php  if($FI_Suppliers=="1"){?>
							<li><a href="Form_Suppliers.php"><img src='toolbar/archive.png' width='7px' height='7px'> Suppliers</a></li>
							<?php } ?>
							  
							<?php  if($FI_Grouping=="1"){?>  
							<li><a href="Form_Grouping.php"><img src='toolbar/archive.png' width='7px' height='7px'> Grouping</a></li>
							<?php } ?>
    					   
							<?php  if($FI_Warehouse=="1"){?>
							<li><a href="Form_Warehouse.php"><img src='toolbar/archive.png' width='7px' height='7px'> Warehouse</a></li>
							<?php } ?>
						   
							<?php  if($FI_SubGrouping=="1"){?>
							<li><a href="Form_SubGroup.php"><img src='toolbar/archive.png' width='7px' height='7px'> SubGroup</a></li>
							<?php } ?>
						   
							<?php  if($FI_ClientGrp=="1" && $Module_LedgerGrp == 1){?>
							<li><a href="Form_LedgerGroup.php?LedgerType=1"><img src='toolbar/archive.png' width='7px' height='7px'> Client Group</a></li>
							<?php } ?>
						   
							<?php  if($FI_SupplierGrp=="1" && $Module_LedgerGrp == 1){?>
							<li><a href="Form_LedgerGroup.php?LedgerType=0"><img src='toolbar/archive.png' width='7px' height='7px'> Supplier Group</a></li>
							<?php } ?>
						   
                            <?php  if($FI_Category=="1"){?>
							<li><a href="Form_Category.php"><img src='toolbar/archive.png' width='7px' height='7px'> Category</a></li>
							<?php } ?>  
							
							<?php  if($FI_heatNo=="1" && $Module_Heatno=="1"){?>
							<li><a href="Form_HeatNo.php"><img src='toolbar/archive.png' width='7px' height='7px'> HeatNo</a></li>
							<?php } ?>  
							
							<?php  if($FI_VehcileLoad=="1"){?>
							<li><a href="Form_VehicleLoad.php"><img src='toolbar/archive.png' width='7px' height='7px'> Vehicle Load</a></li>
							<?php } ?>	
							<?php  if(1=="0"){?>
							<li><a href="Form_LegalType.php"><img src='toolbar/archive.png' width='7px' height='7px'> Legal Type</a></li>
							<?php } ?>	
							<?php  if(1==1){?>
							<li><a href="Form_SellingPrice.php"><img src='toolbar/archive.png' width='7px' height='7px'> Selling Price</a></li>
							<?php } ?>						
							<?php  if(1=="0"){?>
							<li><a href="Form_CustomerType.php"><img src='toolbar/archive.png' width='7px' height='7px'> Customer Type</a></li>
							<?php } ?>
							<?php if ($module_visit == 1 && $FI_Visit == 1) { ?>
							  <li><a href="Form_Visit.php"><img src='toolbar/archive.png' width='7px' height='7px'> Visit</a></li>
							<?php } ?>
							<?php  if($module_transactionweight == '1'){?>
							<li><a href="Form_MeasurmentSetup.php"><img src='toolbar/archive.png' width='7px' height='7px'> Measurment Setup</a></li>
							<?php } ?>	
							<?php  if($FI_Tender == '1'){?>
							<li><a href="Form_Tenders.php"><img src='toolbar/archive.png' width='7px' height='7px'> Tender</a></li>
							<?php } ?>	
							<?php  if($FI_Paymentmode == '1'){?>
							<li><a href="Form_Paymentmode.php"><img src='toolbar/archive.png' width='7px' height='7px'> Payment Mode</a></li>
							<?php } ?>	
							
							<?php  if($FI_itemlocation == '1'){?>
								<li><a href="Form_Item_locations.php"><img src='toolbar/archive.png' width='7px' height='7px'> Item location </a></li>
							<?php } ?>
							
							<?php  if($FI_bulkitemminmaxAdjust=="1" && $module_bulkitemminmaxAdjust == 1){?>
								<li><a href="Form_ItemsAdjust.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Items Min Max Adjust" ;?></a></li>
                           <?php } ?>

					</ul>
				</div>	

				<div class="col_1">
				<h3>Transaction</h3>
					<ul>
							<?php if($FI_SalesmenCommission=="1"){ ?>
							<li><a href="Form_SalesmenCommission.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Salesmen Commission</a></li>
							<?php } ?>
							
							<?php if($FI_PurchaseRequestItems=="1"){ ?>
							<li><a href="Form_PurchaseRequestItems.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Request Items</a></li>
							<?php } ?>
							<?php if($FI_PurchaseRequestItemTR=="1"){ ?>
							<li><a href="Form_PurchaseRequestItemsTR.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Approval Transfer</a></li>
							<?php } ?>
							
							<?php if($FI_TransferRequest=="1"){ ?>
							<li><a href="Form_TransferRequest.php?TransType=Tr"><img src='toolbar/transaction.png' width='7px' height='7px'> Transfer Request</a></li>
							<?php } ?>
							
							<?php if($FI_Transfer=="1"){ ?>
							<li><a href="Form_Transfer.php?TransType=Tr"><img src='toolbar/transaction.png' width='7px' height='7px'> Transfer</a></li>
							<?php } ?>
				
							<?php if($FI_RmTransfer=="1"){ ?>
							<li><a href="Form_Transfer.php?TransType=Rm"><img src='toolbar/transaction.png' width='7px' height='7px'> Rm Transfer</a></li>
							<?php } ?>
							
						  
							<?php if($FI_MaterialRequisition=="1"){ ?>
							<li><a href="Form_MaterialRequisition.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Material Requisition</a></li>
							<?php } ?>
							
							<?php if($FI_PurchaseRequest=="1"){ ?>
							<li><a href="Form_PurchaseRequest.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Purchase Request</a></li>
							<?php } ?>
								<?php if($FI_PurchaseOrder=="1"){ ?>
							<li><a href="Form_PurchaseOrder.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Purchase Order</a></li>
							<?php } ?>
							
							<?php if($FI_Grn=="1" && $Module_Grn=="1"){ ?>
							<li><a href="Form_GoodRecNote.php?PurType=GRN"><img src='toolbar/transaction.png' width='7px' height='7px'> Good Receive Note</a></li>
							<?php } ?>
							
							<?php if($FI_RmGrn=="1" && $Module_Grn=="1"){ ?>
							<li><a href="Form_GoodRecNote.php?PurType=RM"><img src='toolbar/transaction.png' width='7px' height='7px'> Good Receive Note RM</a></li>
							<?php } ?>
							
							<?php if($FI_ReturnGrn==" 1" && $Module_Grn=="1"){ ?>
							<li><a href="Form_RetGoodRecNote.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Return GRN</a></li>
							<?php } ?>
							  
							<?php if($FI_Purchases=="1"){ ?>
							<li><a href="Form_Purchase.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Purchases</a></li>
							<?php } ?>
							<?php if($FI_ReturnPurchase=="1"){ ?>
							<li><a href="Form_ReturnPurchase.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Return Purchase</a></li>
							<?php } ?>
							
							
							<?php if($FI_DeliveryStatus=="1"){ ?>
							<li><a href="Form_DeliveryStatus.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Delivery Status</a></li>
							<?php } ?>
							
							<?php if($FI_SetDeliveryStatus=="1"){ ?>
							<li><a href="Form_SetDeliveryStatus.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Set Delivery Status</a></li>
							<?php } ?>
							
							<?php if($FI_Charges=="1"){ ?>
							<li><a href="Form_Charges.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Charges </a></li>
							<?php } ?>
						 
					</ul>
				</div>	
				<div class="col_1">
				<h3>Transaction</h3>
					<ul>
						 
							<?php if($FI_SalesOrder=="1"){ ?>
							<li><a href="Form_SalesOrder.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Sales Order</a></li>
							<?php } ?>
			
						
							<?php if($Module_Delivery=="1"){ ?>
								<?php if($FI_Delivery=="1"){ ?>
								<li><a href="Form_Delivery.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Delivery </a></li>
								<?php } ?>
								
								<?php if($FI_ReturnDelivery=="1"){ ?>
								<li><a href="Form_ReturnDelivery.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Return Delivery </a></li>
								<?php } ?>
							  
								<?php if($FI_Sales=="1"){ ?>
								<li><a href="Form_Sales.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Sales </a></li>
								<?php } ?>
								
								<?php if($FI_ReturnSales=="1"){ ?>
								<li><a href="Form_ReturnSales.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Return Sales </a></li>
								<?php } ?>
							<?php } else { ?>	
							
								<?php if($FI_Delivery=="1"){ ?>
								<li><a href="Form_Delivery.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Sales </a></li>
								<?php } ?>
							<?php if (($FI_Delivery=="1") and (1==0)){ ?>
								<li><a href="Form_Delivery.php?delivery_export=1"><img src='toolbar/transaction.png' width='7px' height='7px'> Sales Export</a></li>
								<?php } ?>
								
								<?php if($FI_ReturnDelivery=="1"){ ?>
								<li><a href="Form_ReturnDelivery.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Return Sales </a></li>
								<?php } ?>
								
								<?php if($FI_RENTINVOICE == "1"){ ?>
								<li><a href="Form_rentinvoice.php?TransType=Tr"><img src='toolbar/transaction.png' width='7px' height='7px'> Rent Invoice </a></li>
								<?php } ?>
								
							<?php } ?>	
							
							<?php if($Module_RMA == 1){ ?>
							   <?php if($FI_Rma == 1){ ?>
						  <li><a href="Form_RMA.php"><img src='toolbar/transaction.png' width='7px' height='7px'> RMA </a></li>
							  <?php } ?>
							  <?php if($FI_RMAPendingItems1 == 1){ ?>
							  <li><a href="Form_ListRMAPendingItems.php"><img src='toolbar/transaction.png' width='7px' height='7px'> List of Pending Items (RMA) </a></li>
							 <?php } ?>
							 <?php if($FI_RMALocations1 == 1){ ?>
							 <li><a href="Form_ListRMALocation.php"><img src='toolbar/transaction.png' width='7px' height='7px'> RMA Locations </a></li>
							  <?php } ?>
							   <?php if($FI_ReturnRMA == 1){ ?>
						  <li><a href="Form_ReturnRMA.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Return RMA </a></li>
							<?php } ?>
							<?php if($FI_ReturnRMAPendingItems1 == 1){ ?>
							<li><a href="Form_ListReturnRMAPendingItems.php"><img src='toolbar/transaction.png' width='7px' height='7px'> List of Pending Items (Return RMA) </a></li>
							<?php } ?>
							<?php if($FI_ReturnRMALocations1 == 1){ ?>
							<li><a href="Form_ListReturnRMALocation.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Return RMA Locations </a></li>
							<?php } ?>
							<?php if($FI_ReturnRMAReception1 == 1){ ?>
							<li><a href="Form_ListReturnRMAReception.php"><img src='toolbar/transaction.png' width='7px' height='7px'> RMA Reception </a></li>
							<?php } ?>
							<?php } ?>
						  <li><hr style='width:130px;'></hr></li>
						  
							
							<?php if($FI_Production=="1" && $Module_Production == 1 && $Module_NewProduction==0){ ?>
							<li><a href="Form_Assemble.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Production </a></li>
							<?php } ?>
							<?php if($FI_FactoryProduction=="1"){ ?>
							<li><a href="Form_ProductionFactory.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Factory Production </a></li>
							<?php } ?>
							<?php if($FI_Production=="1" && $Module_Production == 1 && $Module_NewProduction==0){ ?>
							<li><a href="Form_PreAssemble.php"><img src='toolbar/transaction.png' width='7px' height='7px'> PreProduction </a></li>
							<?php } ?>
							
							<?php if($FI_ProductionTemp=="1" && $Module_Production == 1  && $Module_NewProduction==1){ ?>
							<li><a href="Form_ProductionTemplate.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Production Template</a></li>
							<?php } ?>
							
							<?php if($FI_ProductionReq=="1" && $Module_Production == 1  && $Module_NewProduction==1){ ?>
							<li><a href="Form_ProductionRequest.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Production Request</a></li>
							<?php } ?>
							
							<?php if($FI_Production=="1" && $Module_Production == 1  && $Module_NewProduction==1){ ?>
							<li><a href="Form_Production.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Production</a></li>
							<?php } ?>
							
							<?php if($FI_Production=="1" && $Module_Production == 1){ ?>
							<li><hr style='width:130px;'></hr></li>
							<?php } ?>
							
							<?php if($FI_AdjustmentRequest=="1"){ ?>
							<li><a href="Form_AdjustmentRequest.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Adjustment Request</a></li>
							<?php } ?>
							
							
							<?php if($FI_Adjustment=="1"){ ?>
							<li><a href="Form_Adjustment.php?AdjustType=A"><img src='toolbar/transaction.png' width='7px' height='7px'> Adjustment </a></li>
							<?php } ?>
							
							
							<?php if($FI_OUT=="1"){ ?>
							<li><a href="Form_Adjustment.php?AdjustType=O"><img src='toolbar/transaction.png' width='7px' height='7px'> Stock Out </a></li>
							<?php } ?>
							
						  	<?php if($FI_IN=="1"){ ?>
							<li><a href="Form_Adjustment.php?AdjustType=I"><img src='toolbar/transaction.png' width='7px' height='7px'> Stock In </a></li>
							<?php } ?>



							<?php if($FI_StockTake=="1"){ ?>
							<li><a href="Form_StockTake.php"><img src='toolbar/transaction.png' width='7px' height='7px'> stock taken </a></li>
							<?php } ?>	
						
							<?php if($FI_itemtransfer=="1"){ ?>
							<li><a href="Form_itemTransfer.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Item Transfer </a></li>
							<?php } ?>
							
					</ul>
				</div>	
				
				<?php if($Rep_Inventory=="1"){ ?>
					
					<div class="col_1">
				
					<h3>List Reports</h3>
					<ul>
							<li><a href="Form_ReportsOptions.php"><img src='toolbar/report.png' width='7px' height='7px'> Reports Options</a> </li>
							
							<li><hr style='width:130px;'></hr></li>
							<?php if($FI_ArchiveReports == 1){ ?>
							<li><a href="Form_Archive.php"><img src='toolbar/report.png' width='7px' height='7px'> Archive</a><li>
							<?php } ?>
							<?php if($RI_ListTransaction=="1"){ ?>
							 <li> <a href="Form_ListofTransaction.php"><img src='toolbar/report.png' width='7px' height='7px'> Transaction List</a> </li>
							<?php } ?>
							
							<?php if($RI_Inventory=="1"){ ?>
							 <li> <a href="Form_Inventory.php"><img src='toolbar/report.png' width='7px' height='7px'> Inventory</a> </li>
							<?php } ?>
							
							<?php if($RI_SatementofItems=="1"){ ?>
							<li><a href="Form_StatementofItems.php"><img src='toolbar/report.png' width='7px' height='7px'> Statement of Items</a></li>
							<?php } ?>
							
							<?php if($RI_ListofProduction==1 && $Module_Production == 1 ){ ?>
							<li><a href="Form_ListofProduction.php"><img src='toolbar/report.png' width='7px' height='7px'> List of Production</a></li>
							<?php } ?>
							<?php if($FI_CalculateRMReport==1 && $Module_Production == 1 ){ ?>
							<li><a href="Form_RM_Calculation.php"><img src='toolbar/report.png' width='7px' height='7px'> RM Items Summary Report</a></li>
							<?php } ?>
							<?php if($RI_TopClientsSuppliers=="1"){ ?>
							<li><a href="Form_TopClientsSuppliers.php"><img src='toolbar/report.png' width='7px' height='7px'> Top Clients/Suppliers</a></li>
							<?php } ?>	
							
							<?php if($RI_Adjustment=="1"){ ?>
							<li><a href="Form_AdjustmentOptions.php"><img src='toolbar/report.png' width='7px' height='7px'> List of Adjustment</a></li>
							<?php } ?>
							<?php if ($RI_Transfer == '1') { ?>
							<li><a href="Form_ListofTransfer.php"><img src='toolbar/report.png' width='7px' height='7px'> List of Transfer</a></li>
							<?php } ?>
							<?php if($module_visit == 1 && $RI_Visit == 1){ ?>
							<li><a href="Form_Visit_Reports.php"><img src='toolbar/report.png' width='7px' height='7px'> Visit Reports</a><li>
							<?php } ?>
							
							<?php if($RI_Procurement =="1") { ?>
							 <li> <a href="Form_procurement.php"><img src='toolbar/report.png' width='7px' height='7px'> Procurement</a> </li>
							<?php } ?>
							<?php if($FI_RMAReport1 == 1){ ?>
							<li><a href="Form_RMAReport.php"><img src='toolbar/report.png' width='7px' height='7px'> RMA Report</a></li>
							<?php } ?>
							
							<?php if ($RI_Tender == '1') { ?>
							<li><a href="Form_ListofTenders.php"><img src='toolbar/report.png' width='7px' height='7px'>List of Tenders</a></li>
							<?php } ?>
							
							<?php if($RI_RentInvoice == "1"){ ?>
							<li><a href="Form_RentInvoiceReports.php?TransType=Tr"><img src='toolbar/report.png' width='7px' height='7px'> List of Booked Items</a></li>
							<?php } ?>

					</ul>
					</div>	
					<div class="col_1">
					<?php if($RI_Statistics==1) { ?>
					<h3>Statistics Reports</h3>
					<ul>
							
						
							
						
							<?php if($RI_Aging=="1"){ ?>
							<li><a href="Form_ItemAging.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Item Aging</a></li>
							<?php } ?>
							
							
							
							
							<?php if($FI_PorderPurRequest=="1"){ ?>
							<li style='width:140px'><a href="Form_PorPurRequest.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Purchase Request</a></li>
							<?php } ?>
							
							<?php if($RI_PorderReport=="1"){ ?>
							<li><a href="Form_PorderReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> POrder Report</a></li>
							<?php } ?>
							
							
							
							<?php if($RI_PurchaseReports=="1"){ ?>
							<li><a href="Form_PurchaseReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Purchase Report</a></li>
							<?php } ?>
							
							<?php if($RI_SalesOrderReport=="1"){ ?>
							<li><a href="Form_SorderReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> SOrder Report</a></li>
							<?php } ?>
							
							<?php if($RI_SalesReports=="1"){ ?>
							<li><a href="Form_SalesReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Sales Report</a></li>
							<?php } ?>
							
							<?php if($RI_GrnReports=="1"){ ?>
							<li><a href="Form_GrnReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> GRN Report</a></li>
							<?php } ?>
							
							<?php if($RI_TargetRebateReport=="1"){ ?>
							<li><a href="Form_TargetRebateReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Target Rebate Report</a></li>
							<?php } ?>
								<li><hr style='width:130px;'></hr></li>
							<?php if($RI_SalesReports=="1"){ ?>
							<li><a href="Form_ClientSales.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Client Sales</a></li>
							<?php } ?>
							
							<?php if($RI_YearlySales=="1"){ ?>
							<li><a href="Form_YearlySales.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Yearly Sales</a></li>
							<?php } ?>
					
					        <?php 	
							if($RI_expirydate=="1"){ ?>
							<li><a href="Form_expirydate.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Expiry Date</a></li>
							<?php } ?>
							
							
							
							<?php if($RI_InvComparisonReport=="1"){ ?>
							<li><a href="Form_InvComparisonReport.php"><img src='toolbar/statistic.png' width='7px' height='7px'> Comparison Report</a></li>
							<?php } ?>
							
							<?php if($FC_SalesStatistic=="1"){ ?>
							<li><a href="Form_SalesStatViewer.php" ><img src='toolbar/additional.png' width='7px' height='7px'> Sales Statistics</a></li>
							<?php } ?>

							<?php if($RI_TrackingRMA=="1"){ ?>
							<li><a href="Form_RMATracking.php" ><img src='toolbar/additional.png' width='7px' height='7px'> Tracking Report</a></li>
							<?php } ?>
					
					</ul>
					
					<?php } ?>
					</div>
		
				<?php }	?>	
				<?php if($Login_Mobile=="1"){ ?>
				
							<div class="col_1">
				<h3>Mobile</h3>
					<ul>
						 <?php  if($FM_Visits=="1" && $module_visit == 1){?>
							<a href="Form_PreparingVisits.php"><img src='toolbar/additional.png' width='7px' height='7px'> Preparing Visits</a>
							<?php } ?>
						  
							<?php  if($RM_DailyVisits=="1" && $module_visit == 1){?>
							<a href="Form_DailyVisitsReport.php"><img src='toolbar/additional.png' width='7px' height='7px'> Daily Visits Report</a>
							<?php } ?>
							
							<?php  if($FM_Mobiles=="1"){?>
							<a href="Form_mobiles.php"><img src='toolbar/additional.png' width='7px' height='7px'> Mobiles</a>
							<?php } ?>
					
						
					</ul>
				</div>	
				
				
				<?php }	?>	
				
				
		</div><!-- End 5 columns container -->
    
    </li><!-- End 5 columns Item -->
	
	<?php }	?>
	
	<!-- Cash Register -->
	<?php if($Fi_POS=="1")   {     ?>
		<li><a href="#" class="drop">POS</a><!-- Begin 5 columns Item -->
    
			<div class="dropdown_5columns" style='width:350px;'><!-- Begin 5 columns container -->
				<?php 	if($RetailInvoice=="1"){ ?>
				<div class="col_1">
					<h3>Cash Register</h3>
					<ul>
							
						<?php  if($FC_CashRegister=="1"){?>
						 <li><a href="#" onClick="SelectCashUser()" ><img src='toolbar/additional.png' width='7px' height='7px'> Cash Register</a></li>
						<?php } ?>
						
						<?php if($FC_RetailReport=="1"){ ?>
						 <li><a href="Form_ListofRetail.php" ><img src='toolbar/additional.png' width='7px' height='7px'> List of Retail</a></li>
						<?php } ?>
						<?php if($FC_RetailStatistics=="1"){ ?>
						 <li><a href="Form_RetailStatistics.php" ><img src='toolbar/additional.png' width='7px' height='7px'> Statistical</a></li>
						<?php } ?>
						
						<?php if($FC_SalesAnalysis=="1"){ ?>
						 <li><a href="Form_SalesAnalysis.php" ><img src='toolbar/additional.png' width='7px' height='7px'> Sales Analysis</a></li>
						<?php } ?>
						
						<?php if($FC_RetailViewer=="1"){ ?>
						 <li><a href="Form_RetailViewer.php" ><img src='toolbar/additional.png' width='7px' height='7px'> Sales Viewer</a></li>
						<?php } ?>
						
						<?php if($FC_SalesStatistic=="1"){ ?>
						 <li><a href="Form_SalesStatViewer.php" ><img src='toolbar/additional.png' width='7px' height='7px'> Sales Statistics</a></li>
						<?php } ?>
						<?php if($FI_Slippass=="1"){ ?>
						 <li><a href="form_slipPass.php" ><img src='toolbar/additional.png' width='7px' height='7px'> Slip Check</a></li>
						 <li><a href="form_ReportslipPass.php" ><img src='toolbar/additional.png' width='7px' height='7px'> Slip Check report</a></li>
						<?php } ?>
					</ul>
				</div>	
				<?php } ?>
				
		<!--		<div class="col_1">
					<h3>Restaurant</h3>
					<ul>
						<li><a href="javascript:void(0);" onclick = 'openpos()' >Main Page</a></li>
					</ul> -->
				</div>	
			</div>	
		</li>
	<?php } ?>
	
	<!-- Utilities -->
	<?php if($Utilities=="1")   {     ?>
		<li><a href="#" class="drop">Utilities</a>
    		<div class="dropdown_1column align_left">
				<?php if("1"=="1"){ ?>
				<div class="col_1">
					<ul>
						<?php  if($U_RePostTransaction=="1" && $Module_RepostTransaction=="1"){?>
						 <li><a href="Form_RepostTransactions.php"><img src='toolbar/additional.png' width='7px' height='7px'> Repost Transactions</a></li>
						<?php } ?>
						<?php  if($FU_DataTransfer=="1"){?>
						 <li><a href="Form_DataTransfer.php"><img src='toolbar/additional.png' width='7px' height='7px'> Data Transfer</a></li>
						<?php } ?>
						 <li><a href="Form_utilities.php"><img src='toolbar/additional.png' width='7px' height='7px'> Setup</a></li>
						 <?php if ($FU_Reminder == 1) { ?>
						  <li><a href="Form_Reminder.php"><img src='toolbar/additional.png' width='7px' height='7px'> Reminder</a></li>
						 <?php } ?> 
						 <?php if ($FU_DocumentTypes == 1) { ?>
						  <li><a href="Form_DocumentTypes.php"><img src='toolbar/additional.png' width='7px' height='7px'> Document Types Setup</a></li>	
						 <?php } ?>
					</ul>
				</div>	
				<?php } ?>
	
			</div>	
		</li>
	<?php } ?>
	
	
	<!-- Payroll -->
	<?php if($PayRoll=="2")   {     ?>
		<li><a href="#" class="drop">HR</a><!-- Begin 5 columns Item -->		
			<div class="dropdown_1column align_left"><!-- Begin 5 columns container -->
				<ul class="simple">
					<li><a href="javascript:void(0);" onclick = 'openpayroll()' >Main Page</a></li>
				</ul>
			</div>	
		</li>
	<?php } ?>
	
	<?php if($FI_ItemAuction=="1" || $FI_SupplierItemAuction=="1" || $FI_ItemAuctionHall == '1')   {     ?>
		<li><a href="#" class="drop">Auction</a><!-- Begin 5 columns Item -->		
			<div class="dropdown_1column align_left"><!-- Begin 5 columns container -->
				<ul class="simple">
				
					<?php if($FI_ItemAuction=="1"){ ?>
					<li><a href="Form_ItemAuction.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Item Auction</a></li>
					<li><a href="Form_AuctionReports.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Item Auction Reports</a></li>
					<?php } ?>
					<?php if($FI_SupplierItemAuction=="1"){ ?>
					<li><a href="Form_SupplierItemAuction.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Supplier Bid</a></li>
					<?php } ?>
					<?php if($FI_ItemAuctionHall=="1"){ ?>
					<li><a href="Form_AuctionHall.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Auction Hall</a></li>
					<?php } ?>
				</ul>
			</div>	
		</li>
	<?php } ?>	
	
	<?php if ($Module_TicketSupport == 1) { ?>
		<li><a href="#" class="drop">Support</a>
			<div class="dropdown_1column align_left">
				<ul class="simple">
				<li><a href="Form_TicketColorSetup.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Ticket Report Colors Setup</a></li>
				<?php if ($FS_LocationSetupApp == 1){ ?>
					<li><a href="Form_LocationSetup.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Location Setup</a></li>
				<?php } ?>
				<?php if ($FS_TypeSetupApp == 1){ ?>
					<li><a href="Form_TypeSupportSetup.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Type Setup</a></li>
				<?php } ?>
					<li><a href="Form_Project.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Project</a></li>
				<?php if ($FS_UserSupportApp == 1){ ?>
					<li><a href="Form_UserSupport.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Support Users</a></li>
				<?php } ?>	
				<?php if ($FS_TicketProblemApp == 1){ ?>
					<li><a href="Form_TicketProblem.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Ticket Problem</a></li>
				<?php } ?>	
				<?php if ($FS_TicketSupportApp == 1){ ?>
					<li><a href="Form_TicketSupport.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Ticket Support</a></li>
				<?php } ?>	
				<?php if ($FS_TicketVisitApp == 1){ ?>
					<li><a href="Form_TicketVisit.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Visit</a></li>
				<?php } ?>	
				<?php if ($FS_TicketReport == 1){ ?>
					<li><a href="Form_ReportTicketing.php"><img src='toolbar/transaction.png' width='7px' height='7px'> Report For Ticketing</a></li>
				<?php } ?>	
				</ul>
			</div>	
		</li>
	<?php } ?>
	<?php if (($Module_Archive=="1") && ($archiving=="1"))   {     ?>
		<li><a href="#" class="drop">Archive</a><!-- Begin 5 columns Item -->		
			<div class="dropdown_1column align_left"><!-- Begin 5 columns container -->
				<ul class="simple">
					<li><a href="Form_Archives.php" >Archives</a></li>
					<li><a href="Form_OFFER.php" >Offer</a></li>
				</ul>
			</div>	
		</li>
	<?php } ?>	
				
	<!-- User Access -->			
	<?php if($Access=="1"){ ?>
	<li ><a href="#" class="drop">UserAccess</a>
		<div class="dropdown_1column align_left" ><!-- Begin 1 columns container -->
			<div class="col_1">
				<ul class="simple" >
					<?php 	 if($Access_Usermanager=="1"){ ?>
						<li><a href="Form_UserManager.php"><img src='toolbar/additional.png' width='7px' height='7px'> UserManager</a></li>
					<?php } ?>
					<?php 	 if($config['log_file'] == 1){ ?>
					<li><a href="Form_UserLog.php"><img src='toolbar/additional.png' width='7px' height='7px'> User Log</a></li>
					<?php } ?>
					<?php if ($FI_SendNotification == 1) { ?>
					<li><a href="Form_SendNotifications.php"><img src='toolbar/additional.png' width='7px' height='7px'>Send Notification</a></li>
					<?php } ?>
				</ul>
			</div>	
		</div>	
	</li>
	<?php } ?>
	
	
	<!-- CRM -->
	<?php if($CRM=="1"){ ?>
		<li class="top" onmouseover="">
			<a href="javascript:void(0);" onclick = 'opencrm()' class="top_link">CRM </a>
		</li>
	<?php } ?>
						
  <!-- shipping -->
	<?php if($manifest=="1")  { ?>
                <li ><a href="#" class="drop">Shipping</a>
		<div class="dropdown_1column align_left" ><!-- Begin 1 columns container -->
			<div class="col_1">
				<ul class="simple" >
					<li><a href="form_package.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Package"; ?></a></li>
					<li><a href="form_location.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Locations" ?></a></li> 
					<li><a href="Form_Agent.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Agent"; ?></a></li>
					<li><a href="Form_Container.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Container"; ?></a></li>
					<li><a href="Form_Port.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Port"; ?></a></li>
					<li><a href="Form_PortType.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Port Type"; ?></a></li>
					<li><a href="Form_ContainerType.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Container Type"; ?></a></li>
					<li><a href="Form_Phase.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Phase" ?></a></li>
					<li><a href="Form_Ship.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Ship" ?></a></li>
					<li><a href="Form_stamp.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Stamp" ?></a></li>
					<li><a href="Form_Vessel.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Vessel" ?></a></li>
					<li><a href="Form_operator.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Operator" ?></a></li>
					<li><a href="Form_Demarage.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Demarage Setup" ?></a></li>
					
					<li><?php echo "____________________"?></li>
					<li><a href="Form_manifest.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Manifest" ?></a></li>
					<li><a href="form_containertrace.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Container Trace" ?></a></li>
					<li><a href="Form_TraceContainer.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Trace Containers" ?></a></li>
					<li><a href="Form_CRFT.php?type=CRF"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "CRF" ?></a></li>
					<li><a href="Form_CRFT.php?type=CT"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "CT" ?></a></li>
					<li><a href="Form_ImpExp.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "import/export" ?></a></li>
					<li><a href="Form_AmountPerFeet.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Amount Per Feet" ?></a></li>
					<li><a href="Form_ManifestDeposit.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "Manifest Deposit" ?></a></li>
					<li><?php echo "____________________"?></li>
					<li><a href="Form_Manifest_Reports.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "List Manifest Report" ?></a></li>
					<li><a href="form_conatinerReports.php"><img src='toolbar/archive.png' width='7px' height='7px'> <?php echo "container Reports" ?></a></li>
					
					
                                       
		
		</li>
	<?php } ?>
		
			

	<!-- Tracking -->
	<?php if($FC_Tracking=="1"){ ?>
	<li ><a href="#" class="drop">Tracking</a>
		<div class="dropdown_1column align_left" ><!-- Begin 1 columns container -->
			<div class="col_1">
				<ul class="simple" >
					<?php 	 if($FI_Employee=="1"){ ?>
					    <li><a href="Form_Employee.php"><img src='toolbar/additional.png' width='7px' height='7px'> Employee</a></li>
					<?php } ?>
							
					<?php 	 if($FI_vehicle=="1"){ ?>
					    <li><a href="Form_Vehicle.php"><img src='toolbar/additional.png' width='7px' height='7px'> Vehicle</a></li>
					<?php } ?>
					<?php 	 if($FI_ChangingTyre=="1"){ ?>
					    <li><a href="Form_ChangingTyre.php"><img src='toolbar/additional.png' width='7px' height='7px'> Change Tyre</a></li>
					<?php } ?>	
					<?php  if($Fi_vehicleservice=="1"){?>
					    <li> <a href="Form_Services.php"><img src='toolbar/additional.png' width='7px' height='7px'> Services</a></li>
					<?php } ?>
					<?php  if($Fi_vehiclefueltype=="1"){?>
					    <li><a href="Form_TrackingFuel.php"><img src='toolbar/additional.png' width='7px' height='7px'> Fuel Type</a></li>
					<?php } ?>
					<?php  if($Fi_vehicletype=="1"){?>
					    <li><a href="Form_TrackingType.php"><img src='toolbar/additional.png' width='7px' height='7px'> Vehicle Type</a></li>
					<?php } ?>
					<?php  if($FI_VehicleCharges=="1"){?>
					    <li><a href="Form_TrackingCharges.php"><img src='toolbar/additional.png' width='7px' height='7px'> Charges</a></li>
					<?php } ?>						
					<?php  if($FI_Place=="1"){?>
					    <li><a href="Form_Place.php"><img src='toolbar/additional.png' width='7px' height='7px'> Place</a></li>
					<?php } ?> 

					<?php  if($FI_VehicleMovement=="1"){?>
					    <li><a href="Form_VehicleMovement.php"><img src='toolbar/additional.png' width='7px' height='7px'> Vehicle Movement</a></li>
					<?php } ?>
							      
					<?php  if($FI_VehicleMovementReport=="1"){?>
					    <li> <a href="Form_VehicleMovementReport.php"><img src='toolbar/additional.png' width='7px' height='7px'> Vehicle Mov. Report</a></li>
					<?php } ?>     
							
				</ul>
			</div>	
		</div>	
	</li>
	<?php } ?>

	<!-- Datacom Logistics -->
	<?php if($FL_Logistic=="1"){ ?>
	<li class="top" onmouseover="">
		<a href="#" class="drop">Logistics </a>
		<div class="dropdown_1column align_left" ><!-- Begin 1 columns container -->
			<div class="col_1">
				<ul class="simple" >
					<?php 	 if($FL_OperationLogisticSetupApp=="1"){ ?>
					    <li><a href="Form_OperationsLogistics_Setup.php"><img src='toolbar/additional.png' width='7px' height='7px'> Logistics Setup</a></li>
					<?php } ?>
					<?php 	 if($FL_OperationLogisticApp=="1"){ ?>
					    <li><a href="Form_OperationsLogistics.php"><img src='toolbar/additional.png' width='7px' height='7px'> Operations Logistics</a></li>
					<?php } ?>
					<?php 	 if($FL_TransporterLogisticsApp=="1"){ ?>
					    <li><a href="Form_TransporterLogistic.php"><img src='toolbar/additional.png' width='7px' height='7px'> Transporter</a></li>
					<?php } ?>
					<?php 	 if($FL_WaybillLogisticsApp=="1"){ ?>
					    <li><a href="Form_WaybillLogistics.php"><img src='toolbar/additional.png' width='7px' height='7px'> Waybill</a></li>
					<?php } ?>
					<?php 	 if($FL_ClosingFileLogisticsApp=="1"){ ?>
					    <li><a href="Form_ClosingFileLogistic.php"><img src='toolbar/additional.png' width='7px' height='7px'> Closing File</a></li>
					<?php } ?>
					<?php 	 if($Login_FLClientTracking=="1"){ ?>
					    <li><a href="Form_ClientTrackingLogistic.php"><img src='toolbar/additional.png' width='7px' height='7px'> Client Tracking</a></li>
					<?php } ?>
					<?php 	 if("1"=="1"){ ?>
					    <li><a href="Form_ReportsLogistic.php"><img src='toolbar/additional.png' width='7px' height='7px'> Reports</a></li>
					<?php } ?>
				</ul>
			</div>	
		</div>	
	</li>
	
	<?php } ?>
	
	<!-- Logistics -->
	<?php if($Logistics=="1"){ ?>
	<li class="top" onmouseover="">
		<a href="javascript:void(0);" onclick = 'openlogistics()' class="top_link">Logistics </a>
	</li>
	<?php } ?>
	

	<?php
	/*
	
	
	
			
						<?php if($Logistics=="1"){ ?>
						<li class="top" onmouseover="">
							<a href="javascript:void(0);" onclick = 'openlogistics()' class="top_link">&nbsp; Logistics &nbsp;</a>
						</li>
						<?php } ?>
						
						<?php if($CRM=="1"){ ?>
						<li class="top" onmouseover="">
							<a href="javascript:void(0);" onclick = 'opencrm()' class="top_link">CRM </a>
						</li>
						<?php } ?>
						
						<?php //if($POS=="1"){ ?>
						<li class="top" onmouseover="">
							<a href="javascript:void(0);" onclick = 'openpos()' class="top_link">POS</a>
						</li>
						<?php //} ?>
						
							<?php //if($payroll=="1"){ ?>
						<li class="top">
							<a href="javascript:void(0);" onclick = 'openpayroll()' class="top_link">Payroll</a>
						</li>
						<?php //} ?>
						
						<li class="top" onmouseover="">
						<?php if($Access=="1"){ 
						echo'<li class="top" onmouseover=""><a   class="top_link"><span class="down">UserAccess</span></a><ul class="sub" style="width:150px">';?>
						<?php  ?>
						
							<?php 	 if($Access_Usermanager=="1"){ ?>
							  <li><a href="Form_UserManager.php">UserManager</a></li>
							<?php } ?>
						</ul>  <?php } ?>
						</li>
						
						
						<li class="top" onmouseover=""><a href="change_password.php" class="top_link"><b style='font-size:11px; color:#FFFFFF;'>&nbsp;Change&nbsp;Password&nbsp;&nbsp;</b></a> </li>
						<li class="top" onmouseover=""><a href="javascript:top.window.location='../logout5.php'" class="top_link"><b style='font-size:11px; color:#FFFFFF;'>&nbsp;Log Out &nbsp;</b></a> </li>
	
*/
?>

</ul>
<?php
}
?>
	
