I need to add footer information to several html pages that includes the contact details. The details can vary by customers location and there is a table that contains the information for each location. I am looking for a solution similar to an include file, but that can works on html.
The footer will include static information and dynamic information. They dynamic information can change from time to time and I would prefer one location where I can update this and have it update on all pages. Sample footer code would look as follows
Copyright 2014 - 2015 CompanyName. All Rights Reserved <-Static
if locationtable.locationfield = "US" then <- Dynamic section
Phone: phonetable.phone1field
else if locationtable.locationfield = "CA" then
Phone: phonetable.phone2field
The footer will include static information and dynamic information. They dynamic information can change from time to time and I would prefer one location where I can update this and have it update on all pages. Sample footer code would look as follows
Copyright 2014 - 2015 CompanyName. All Rights Reserved <-Static
if locationtable.locationfield = "US" then <- Dynamic section
Phone: phonetable.phone1field
else if locationtable.locationfield = "CA" then
Phone: phonetable.phone2field