PageContent["pagetmpl"].".html" ); //include sepcial ObjectTables for ($i=0;$iObjectTables);$i++){ $object_table = $pagedata->ObjectTables[$i]; //lang dependent might be $object_tmpl_filename = C_TMPL_FOLDER.$object_table."_".$pagedata->PageContent["lang"].".html"; if (!file_exists($object_tmpl_filename)) $object_tmpl_filename = C_TMPL_FOLDER.$object_table.".html"; $tpl->assignInclude( $object_table, $object_tmpl_filename ); } $tpl->prepare(); //get page fields from tmplparm db $pagedata->getTmplFields(); $pagedata->SetTmplFolders(); // Page Main data // $tpl->assign( "page_title", ($pagedata->PageContent["title_long"]=="")?($pagedata->PageContent["title"]):($pagedata->PageContent["title_long"])); if ($pagedata->PageContent["top_img1"]!="") $tpl->assign( "head_img", "PageContent["top_img1"]."\" border=0>" ); // cENTEREX specific field by Alex else $tpl->assign( "head_img", " " ); $tpl->assign( "page_html", $pagedata->PageContent["html"] ) ; $tpl->assign( "page_keywords", $pagedata->PageContent["keywords"] ); $tpl->assign( "page_fullpath", $pagedata->getPagePath() ); $tpl->assign( "page_date", $pagedata->getCurrentDate() ); $tpl->assign( "page_id", $pagedata->PageContent["id"] ); $tpl->assign( "page_lang", $pagedata->PageContent["lang"] ); $tpl->assign( "virs", $pagedata->PageContent["title_long"] ); // SAMS only!!! //include('sams_header.php'); //special functions for this web include(C_CLASS_FOLDER.'class.pagedata.spec.php'); $pagedataSpec = new pagedataSpec; $pagedataSpec->pagespecfunc(); // call page spec functions: display top picture; galeriees etc //Now Menus $pagedata->DisplayPageMenus(); // Datums ++ // Stat Log $tpl->printToScreen(); //Page end free FreeResources(); ?>