<?php
$_site = require_once getenv("SITELOADNAME");
$S = new SiteClass($_site);
$S->banner = "<h1>Footer</h1>";
$S->msg2 = "<br>Contact me <a href='mailto:bartonphillips@gmail.com'>bartonphillips@gmail.com</a>";
$S->css =<<<EOF
@media (max-width: 700px) {
pre {
font-size: 12px;
white-space: pre-wrap;
overflow-wrap: break-word; /* wrap only when needed */
}
}
EOF;
[$top, $bottom] = $S->getPageTopBottom();
echo <<<EOF
$top
<hr>
<pre>
<?php
// bottom area
if(!class_exists('dbPdo')) {
header("location://https://YOUR_DOMAIN/NotAuthorized.php?site=YOUR_DOMAIN&page=footer.i.php");
}
return <<<EOF
<footer>
<!-- YOUR_DOMAIN/includes/footer.i.php -->
\$f->aboutwebsite
<div id="address">
<address>
\$f->copyright
\$f->address
\$f->emailAddress
</address>
</div>
\$f->msg
\$f->msg1
\$f->counterWigget
\$f->lastmod
\$f->msg2
</footer>
</div> <!-- Ending for <div id="content". See banner.i.php -->
\$f->geo
\$f->extra
\$f->script
\$f->inlineScript
</body>
</html>
EOF;
</pre>
<hr>
$bottom
EOF;
|