Пример #1
0
						<p>
						This site demonstrates my HTML, CSS, and JavaScript skills. 
						This site uses the Bootstrap framework, and it uses PHP to reuse HTML.
						</p>

EOD;
$bottom_html = <<<'EOD'
					<h3 id="technologies">Technologies used to build this site</h3>
					<ul id="techlist">

EOD;
foreach ($tech_imgs as $currILI) {
    $ili = new ImageLI(6, "footer");
    $ili->showLabel(true);
    $ili->setLabel($currILI["label"]);
    $ili->setLink($currILI["link"]);
    $ili->setCssID($currILI["cssID"]);
    $ili->setImageLoc($currILI["imgloc"]);
    $bottom_html .= $ili->listItemMarkup();
}
$bottom_html .= <<<'EOD'

					</ul>

EOD;
include $_SERVER["DOCUMENT_ROOT"] . '/php/main-tmpl.php';
include $_SERVER["DOCUMENT_ROOT"] . '/php/footer-tmpl.php';
$GLOBALS['have_footer'] = true;
include $_SERVER["DOCUMENT_ROOT"] . '/php/html-end-tmpl.php';
$GLOBALS['have_endhtml'] = true;