<?php include('lib/config.php');?>
<?php 
//============ User Login Security Check =============
include("session.php");
//============ Modules Access ========================
$userAccessModules = array();
$selQry_user_access_info = "SELECT * FROM ".TBL_GROUPS_PERMISSIONS." WHERE group_id = '".$_SESSION['userGroupID']."'";//
$userAccessInfo =  $con->getMultiRow($selQry_user_access_info, __FILE__,__LINE__);
$totUsersAccessListings = count($userAccessInfo);
if($totUsersAccessListings>0)
{
	for($ua=0;$ua<$totUsersAccessListings;$ua++)
	{
		$userAccessModules[] = $userAccessInfo[$ua]['module_id'];
	}	
}
//============ Departments Access ========================
$userDeptAccess = 0;
$selQry_user_dept_access_info = "SELECT * FROM ".TBL_USERS_DEPARTMENTS_PERMISSIONS." WHERE user_id = '".$_SESSION['userID']."'";//
$userDeptAccessInfo =  $con->getMultiRow($selQry_user_dept_access_info, __FILE__,__LINE__);
$totUsersDeptsAccessListings = count($userDeptAccessInfo);
if($totUsersDeptsAccessListings>0)
{
	for($uda=0;$uda<$totUsersDeptsAccessListings;$uda++)
	{
		if($uda==0)
		{
			$userDeptAccess .= $userDeptAccessInfo[$uda]['dept_id'];
		}
		else
		{
			$userDeptAccess .= ",".$userDeptAccessInfo[$uda]['dept_id'];
		}
		
	}	
}
//--------------- Organisation Info ----------------							  								  
$selQry_orgs = "SELECT * FROM ".TBL_ORGANIZATIONS." WHERE organization_id ='1' LIMIT 1";
$orgsInfo =  $con->getSingleRow($selQry_orgs, __FILE__,__LINE__);
$totOrgsListings = count($orgsInfo);
//====================================================
?>
<!doctype html>
<html class="no-js" lang="en">

<head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>Rehabinitiative - Stakeholders Mappings</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- favicon
		============================================ -->
    <link rel="shortcut icon" type="image/x-icon" href="img/logo/logo-ri.png">
    <!-- Google Fonts
		============================================ -->
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i,800" rel="stylesheet">
    <!-- Bootstrap CSS
		============================================ -->
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <!-- Bootstrap CSS
		============================================ -->
    <link rel="stylesheet" href="css/font-awesome.min.css">
    <!-- adminpro icon CSS
		============================================ -->
    <link rel="stylesheet" href="css/adminpro-custon-icon.css">
    <!-- forms CSS
		============================================ -->
    <link rel="stylesheet" href="css/form/all-type-forms.css">
    <!-- forms CSS
		============================================ -->
    <link rel="stylesheet" href="css/form/themesaller-forms.css">
    <!-- meanmenu icon CSS
		============================================ -->
    <link rel="stylesheet" href="css/meanmenu.min.css">
    <!-- mCustomScrollbar CSS
		============================================ -->
    <link rel="stylesheet" href="css/jquery.mCustomScrollbar.min.css">
    <!-- animate CSS
		============================================ -->
    <link rel="stylesheet" href="css/animate.css">
    <!-- data-table CSS
		============================================ -->
    <link rel="stylesheet" href="css/data-table/bootstrap-table.css">
    <link rel="stylesheet" href="css/data-table/bootstrap-editable.css">
    <!-- normalize CSS
		============================================ -->
    <link rel="stylesheet" href="css/normalize.css">
    <!-- ionRangeSlider CSS
		============================================ -->
    <link rel="stylesheet" href="css/ionRangeSlider/ion.rangeSlider.css">
    <link rel="stylesheet" href="css/ionRangeSlider/ion.rangeSlider.skinFlat.css">
    <!-- charts C3 CSS
		============================================ -->
    <link rel="stylesheet" href="css/c3.min.css">
    
    <!-- colorpicker CSS
		============================================ -->
    <link rel="stylesheet" href="css/colorpicker/colorpicker.css">
    <!-- switcher CSS
		============================================ -->
    <link rel="stylesheet" href="css/switcher/color-switcher.css">
    <!-- style CSS
		============================================ -->
    <link rel="stylesheet" href="style.css">
    <!-- responsive CSS
		============================================ -->
    <link rel="stylesheet" href="css/responsive.css">
    <!-- tree viewer CSS
		============================================ -->
    <!-- touchspin CSS
		============================================ -->
    <link rel="stylesheet" href="css/touchspin/jquery.bootstrap-touchspin.min.css">
    <link rel="stylesheet" href="css/tree-viewer/tree-viewer.css">
    <!-- notifications CSS
		============================================ -->
    <link rel="stylesheet" href="css/Lobibox.min.css">
    <link rel="stylesheet" href="css/notifications.css">
    <!-- colorpicker CSS
		============================================ -->
    <link rel="stylesheet" href="css/colorpicker/colorpicker.css">
    <!-- summernote CSS
		============================================ -->
    <link rel="stylesheet" href="css/summernote.css">
		<!--============================================ -->
    <script src="js/vendor/modernizr-2.8.3.min.js"></script>
    <!-- CK Editor -->
    <script src="scripts/ckeditor/ckeditor.js"></script>
    
</head>