$TplContent->set("ExecTime", ProcessingTime($StartExec)); $TplFooter->set("CookieConfirmation", CookiesAccepted($CookieUri)); $TplFooter->set("Fluid", $Fluid); //header('content-type:text/plain;charset=utf-8'); //$ko_scripts = ko_scripts(); //var_dump($ko_scripts->get()); //$TplHeader->printVars(); //exit; //print_r($KO_Registered_WidgetsHTML); exit; /* fetch templates and parse them -------------------------------------------------------------*/ $Body = $TplContent->fetch(); foreach($ko_styles->get() as $S) $IncludeCSS[] = $S; fo $TplContent->set("ExecTime", ProcessingTime($StartExec)); $TplFooter->set("CookieConfirmation", CookiesAccepted($CookieUri)); $TplFooter->set("Fluid", $Fluid); //header('content-type:text/plain;charset=utf-8'); //$ko_scripts = ko_scripts(); //var_dump($ko_scripts->get()); //$TplHeader->printVars(); //exit; //print_r($KO_Registered_WidgetsHTML); exit; /* fetch templates and parse them -------------------------------------------------------------*/ $Body = $TplContent->fetch(); foreach($ko_styles->get() as $S) $IncludeCSS[] = $S; foreach($ko_scripts->get() as $S) $IncludeJS[] = $S; //echo sprintf('
%s', print_r($IncludeJS, true)); $TplHeader->set("IncludeCSS", array_unique($IncludeCSS)); $TplFooter->set("__CDNs", $__CDNs); $TplFooter->set("__VersionHash", $__VersionHash); $TplFooter->set("__AbsPath", $__AbsPath); $TplFooter->set("__AdmPath", $__AdmPath); $TplFooter->set("__AbsUrl", $__AbsUrl); $TplFooter->set("__SkinPath", $__SkinPath); $TplFooter->set("__Self", $__Self); $TplFooter->set("ExternalJS", $ExternalJS); $TplFooter->set("IncludeJS", array_unique($IncludeJS)); $TplFooter->set("RemoteJS", array_unique($RemoteJS)); $TplFooter->set("jsFunc", $jsFunc); $TplFooter->set("onLoadJS", $onLoadJS); $Header = $TplHeader->fetch(); $Footer = $TplFooter->fetch(); echo $Header; echo $Body; echo $Footer; /* don't ever forget to close dbms connection... -------------------------------------------------------------*/ if(isset($mysql)){ mysql_close($mysql); unset($mysql); } exit;