<?php
	//header( "refresh: 10; url=?module=dataentry" );// for page refreshment
	$db = new bitDB();
	$dt = new bitDate();
	
	$listBox = new ListBox();
	$showFile = "report/test.html";
	
	$ajax = new bitAjax();
	$ajax->process();
	
	
          
	/*$_SESSION['SEARCH']['TABLEBORDERCOLOR'] = $cfg['TABLEBORDERCOLOR'];
	$_SESSION['SEARCH']['STRIPCOLOR'] = $cfg["STRIPCOLOR"][0];
	$_SESSION['SEARCH']['STRIPCOLOR1'] = $cfg["STRIPCOLOR"][1];
	$_SESSION['SEARCH']['MENUSTRIP'] = $cfg['MENUSTRIP'];
	$_SESSION['SEARCH']['BGMENU'] = $cfg['BGMENU'];
	$_SESSION['STRIPCOLOR'] = $cfg["STRIPCOLOR"];
	$_SESSION['SKINS'] = $GLOBALS['skins'];
	$_SESSION['JSDIR'] = $GLOBALS['javascript'];*/

	$labelValues = array(
		"AJAXCONTENT"=>$ajax->getJavaScript(false, true),
		"STARTNO"=>$currentpage,
		/*"DEPTOPTION"=>$deptOption,
		"USEROPTION"=>$userOption,
		"CLIENTOPTION"=>$clientOption,
		"TOTALPROJECTS"=>$totalprojects,
		"WITHOUTWORKCODE"=>$withoutworkcode,
		"POWWORKS"=>$powworks,
		"PCODE"=>$pcode,
		"NOZONE"=>$nozone,
		"HEADOFFZCOUNT"=>$headoffzcount,
		"ZONECOUNT"=>$zonecount,
		"ZONECOUNT1"=>$zonecount1,
		"USERCONTENTS"=>$usercontents,
		"RESETCONTENTS"=>$resetcontents,
		"WARDCOUNT"=>$wardcount,
		"WORKINPROGRESS"=>$workinprogress,
		"COMPLTETEDPROJECTS"=>$compltetedprojects,
		"YET2STARTPROJECTS"=>$yet2startprojects,
		"WITHOUTWORKCODE"=>$withoutworkcode,
		"EASTCOMPPROJECTS"=>$eastcompprojects,
        "COSTOVERRUNPROJECTS"=>$costoverruncount,
		"SAVINGPROJECTS"=>$savingscount,
		"TIMEOVERRUNPROJECTS"=>$timeoverruncount,
		"FILEINPROCESSPROJECTS"=>$fileinprocessprojects,
		"PROJECTSWITHOUTWKST"=>$projectswithoutwkst,*/
		//"ZWCOMPPROJECTS"=>$zwcompprojects,
	);

	
	
	$bitParser->assign($labelValues);
	$bitParser->assign($_SESSION['ACCESSINFO']['Dashboard']);
	$middleContents = $bitParser->Parse(TEMPLATE . $showFile , $middleValues);
?>