function pa_end_of_page_ob_filter($html) { // if headers not sent yet, and we don't have a content type specified, send text/html; charset=UTF-8 if (!headers_sent()) { $ct_sent = FALSE; foreach (headers_list() as $hdr) { if (preg_match("/^Content-Type:/", $hdr)) { $ct_sent = TRUE; } } if (!$ct_sent) { header("Content-Type: text/html; charset=UTF-8"); } } // work out timing global $pa_page_render_start; $duration = microtime(TRUE) - $pa_page_render_start; $eop_text = sprintf("[%.2f s]", $duration); global $debug_show_svn_version; if ($debug_show_svn_version) { $svn_text = get_svn_version(); $eop_text .= " [{$svn_text}]"; } $eop_text .= " " . PA::$remote_ip; // now drop timing and anything else we want to show at the bottom of the page return str_replace("<!--**timing**-->", $eop_text, $html); }
<!-- ./col --> </div> <!-- /.row --> <hr/> <ul class="list-unstyled"> <li class="pull-right"><a href="#top">Back to top</a></li> <!-- <li><a href="./help/#api">API</a></li> <li><a href="./help/#support">Support</a></li> <li><a href="./vod.php" onclick="pageTracker._link(this.href); return false;"><?php echo __("VOD"); ?> </a></li> --> </ul> <p>The <a href="https://github.com/Cyberspace-Networks/CoreSystem" rel="nofollow">CoreSystem</a> <?php echo get_svn_version(); ?> is maintained by <a href="http://www.cyberspace-networks.com" rel="nofollow">Cyberspace-Networks</a>. Contact us at <a href="mailto:contact@cyberspace-networks.com">contact@cyberspace-networks.com</a>.</p> <p>Code released under the <a href="https://github.com/Cyberspace-Networks/CoreSystem/blob/master/LICENSE">GNU GENERAL PUBLIC LICENSE</a>.</p> <p>Theme based on <a href="http://getbootstrap.com" rel="nofollow">Bootstrap</a>, <a href="https://github.com/thomaspark/bootswatch">Bootswatch</a> and <a href="http://almsaeedstudio.com">AdminLTE</a>. Icons from <a href="http://fortawesome.github.io/Font-Awesome/" rel="nofollow">Font Awesome</a>. Web fonts from <a href="http://www.google.com/webfonts" rel="nofollow">Google</a>.</p> <p><?php echo sprintf(__("© %s Cyberspace-Networks"), date('Y')); ?> </p> </div> </div> </footer>