add_css_file("/xsltemplates/xhtml/css/default.css"); $pb->add_css_file("/xsltemplates/xhtml/cssmenubuilder/css/stylesheet.css"); $pb->add_css_file($jqueryroot."css/custom-theme/jquery-ui-1.8.17.custom.css"); $pb->add_js_file($jqueryroot."js/jquery-1.7.1.min.js"); $pb->add_js_file($jqueryroot."js/jquery-ui-1.8.17.custom.min.js"); $pb->add_js_file($jqueryroot."slides.min.jquery.js"); $pb->generate_html_head($pageTitle, $pageDescription, $keywords); // Headers and menus $pb->generate_html_site_menu(); } //$pb->generate_html_user_menu($_SERVER['PHP_SELF'], $_SESSION['signedIn']); //$pb->generate_html_user_menu($_SERVER['PHP_SELF'], true); // Body /* start coding here */ // place all get requests into the post vars. if (!empty($_GET)){ $pb->add_body_item('formcontent', $_GET); } if (!empty($_POST)){ $pb->add_body_item('formcontent', $_POST); } if (controller::$templateType != 'json'){ $includefile = $_SERVER['DOCUMENT_ROOT'].'/'.INCLUDE_FOLDER.'/'.controller::$templatePHPinclude; } else { $includefile = $_SERVER['DOCUMENT_ROOT'].'/'.AJAX_PATH.'/'.controller::$templatePHPinclude; } if (file_exists($includefile)) { include $includefile; } /* end coding here */ // Footer if (controller::$templateType == 'xhtml'){ $pb->generate_html_footer_menu(); $pb->generate_html_footer_copyright(); $pb->generate_html_footer_disclaimer(); } $myXML = $pb->generate_page_xml(); if (!empty(controller::$templateType)){ $tt=controller::$templateType; } else { $tt='xhtml'; } if (!empty(controller::$templateName)){ $tn=controller::$templateName; } else { $tn='index.xsl'; } $xsldoc = "./xsltemplates/$tt/$tn"; $xslt = new XSLTransform(); $xslt->Debug = DEBUG; $xslt->XSLDoc = $xsldoc; $xslt->XMLDoc = $myXML; $xslt->transform_xml(); ?>