$title="NC DENR - DWR - Ecological Flows";
#include_once('dwr.header-20130730.php');
$thisdir=str_replace($_SERVER["DOCUMENT_ROOT"],'',dirname(__FILE__)).'/';
echo '
Ecological Flows
';
/* echo '
Ecological Flows |
|
';
#include_once('dwr.nav.php');
#include_once ('tab_control.php');
#include('intro.php');
// Define tab variables
// eflows tab variables
*/
ob_start();
include($_SERVER["DOCUMENT_ROOT"].'/Data_and_Modeling/eflows/eflows_index.php');
$eflows = ob_get_contents();
ob_end_clean();
// Science Advisory Board variables
$sabmeetingintro = file_get_contents($_SERVER["DOCUMENT_ROOT"].'/Data_and_Modeling/eflows/sab/sabmeetingintro.inc');
$sabschedule = file_get_contents($_SERVER["DOCUMENT_ROOT"].'/Data_and_Modeling/eflows/sab/sabschedule.inc');
ob_start();
include($_SERVER["DOCUMENT_ROOT"].'/Data_and_Modeling/eflows/sab/agendas/index.php');
$sabagendas = ob_get_contents();
ob_end_clean();
ob_start();
include($_SERVER["DOCUMENT_ROOT"].'/Data_and_Modeling/eflows/sab/summaries/index.php');
$sabsummaries = ob_get_contents();
ob_end_clean();
ob_start();
include($_SERVER["DOCUMENT_ROOT"].'/Data_and_Modeling/eflows/sab/presentations/index.php');
$sabpresentations = ob_get_contents();
ob_end_clean();
ob_start();
include($_SERVER["DOCUMENT_ROOT"].'/Data_and_Modeling/eflows/sab/recordings/index.php');
$sabrecordings = ob_get_contents();
ob_end_clean();
ob_start();
include($_SERVER["DOCUMENT_ROOT"].'/Data_and_Modeling/eflows/sab/documents/index.php');
$sabdocuments = ob_get_contents();
ob_end_clean();
ob_start();
include($_SERVER["DOCUMENT_ROOT"].'/Data_and_Modeling/eflows/sab/about.php');
$sababout = ob_get_contents();
ob_end_clean();
ob_start();
include($_SERVER["DOCUMENT_ROOT"].'/Data_and_Modeling/eflows/sab/analyses/index.php');
$sabanalyses = ob_get_contents();
ob_end_clean();
//Other websites
/*ob_start();
include($_SERVER["DOCUMENT_ROOT"].'/Permits_and_Registration/EMCWACNotices/index.php');
$wacnotices = ob_get_contents();
ob_end_clean();
*/
// Sub tab for Scientific Advisory Board
$tab = new tab_control('ltr');
$tab->add_tab(0,'index.php?tabid='.$_GET[tabid].'&subtabid=0','Meetings/Agendas',$sabschedule.$sabagendas);
$tab->add_tab(1,'index.php?tabid='.$_GET[tabid].'&subtabid=1','Meeting Summaries',$sabsummaries);
$tab->add_tab(2,'index.php?tabid='.$_GET[tabid].'&subtabid=2','Presentations',$sabpresentations);
$tab->add_tab(3,'index.php?tabid='.$_GET[tabid].'&subtabid=3','Documents',$sabdocuments);
$tab->add_tab(4,'index.php?tabid='.$_GET[tabid].'&subtabid=4','Recordings',$sabrecordings);
$tab->add_tab(5,'index.php?tabid='.$_GET[tabid].'&subtabid=5','Public Education',$sababout);
$tab->add_tab(6,'index.php?tabid='.$_GET[tabid].'&subtabid=6','Analyses',$sabanalyses);
$tab->set_current($_GET[subtabid]);
$tabssab = $tab->get_out();
// First level tabs
$tab = new tab_control('ltr');
$tab->set_current($_GET[tabid]);
$tab->add_tab(0,'index.php?tabid=0','Ecological Flows',$eflows);
$tab->add_tab(1,'index.php?tabid=1','Science Advisory Board',$sabmeetingintro.$tabssab);
echo $tab->get_out();
//echo $tab->get_out('Welcome');
$thistab= $_GET[tabid];
$thissubtab = $thistab.$_GET[subtabid];
//display workaround for Grandfathered IBT's & worksheets (tab & sub-tab specific/dependent)
/*if ($thissubtab=="15") {
include ($_SERVER["DOCUMENT_ROOT"].dirname($_SERVER[PHP_SELF]).'/grandshowpub.php');
}*/
#include('dwr.footer.php');
?>