<link rel="stylesheet" type="text/css" media="all" href="/css/reset.css" /> <link rel="stylesheet" type="text/css" media="all" href="/css/core.css" /> <link rel="icon" type="image/png" href="/images/favicon.ico"/> <title><?php echo StaticContext::getSiteName() . ' | ' . Response::getInstance()->getPageTitle(); ?> </title> </head> <body> <?php if (isset($processingContent) && $processingContent != -1 && $processingContent != NULL && $processingContent != '') { echo $processingContent; } if ($content == -1) { include 'config/includes/pages/404.php'; } else { //display the page content as extracted from the db echo $content; } ?> <?php if (StaticConfig::getGoogleAnalyticsCode() != NULL) { include 'config/includes/pages/ga.php'; } ?> </body> </html>
<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', '<?php echo StaticConfig::getGoogleAnalyticsCode(); ?> ']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>