HTML and CSS Reference
<a href=" http://cptr.me/UkMSmn">Source Code (on GitHub)</a>
There's nothing of note in the footer markup; the header, however, introduces our first bit of markup that
requires variable data. Let's start by creating the markup and then deal with setting the variables in the next section.
Create a new file called header.inc.php and save it in system/inc/ with the following markup inside
(variables are in bold):
<meta charset="utf-8" />
<title> <?php echo $title; ?> </title>
<!-- Fonts via fonts.com -->
<!-- Main site styles -->
<link rel="stylesheet" href=" <?php echo $css_path; ?> " />
A live feedback system for classes, presentations, and conferences.
This markup sets the HTML5 doctype and basic metadata, uses a variable to set the title of the page, and then
loads the font stylesheet (from Fonts.com). The site stylesheet location is stored in a variable because its location
needs to be determined relative to the app's installation to avoid a broken URI.
Because the app shares common header markup at the top of every page, this is also included.