function Get_Standard_Bottom_Section_HTML() { $HTML = ""; //$HTML .= Get_File_Contents("static_html/stfc_footer.html"); $HTML .= "</div>"; // empty div so that page container is // correct size // end page container $HTML .= "</div>"; $HTML .= Get_File_Contents(__DIR__ . "/../../static_html/standard_footer.html"); return $HTML; }
function Get_Static_Page_Contents($Page_Name) { require_once __DIR__ . '/components/Draw_Components/draw_page_components.php'; $htmlDir = __DIR__ . "/static_html"; $Available_Static_Pages = Get_Directory_Contents($htmlDir); if (!isset($Available_Static_Pages[$Page_Name])) { return ""; } $HTML = Get_File_Contents($htmlDir . "/" . $Page_Name); return $HTML; }