<?php
$_site = require_once getenv("SITELOADNAME");
$S = new SiteClass($_site);
$S->banner = "<h1>Header</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
define('HEAD_I_VERSION', "head.i.php-1.0.1");
if(!class_exists('dbPdo')) {
header("location://https://YOUR_DOMAIN/NotAuthorized.php?site=YOUR_DOMAIN&page=/head.i.php");
}
return <<<EOF
<head>
<!-- YOUR_SITE/includes/head.i.php -->
\$h->title
\$h->base
\$h->viewport
\$h->charset
\$h->copyright
\$h->author
\$h->desc
\$h->keywords
\$h->meta
\$h->canonical
\$h->favicon
\$h->defaultCss
\$h->cssLink
\$h->link
\$h->jQuery
\$h->trackerStr
\$h->extra
\$h->script
\$h->inlineScript
\$h->css
</head>
EOF;
</pre>
<hr>
$bottom
EOF;
|