<!doctype html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8" /> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-68992631-1', 'auto'); ga('send', 'pageview'); </script> <?php TemplateServer::css(); TemplateServer::js(); ?> </head>
private static function buildTemplate($template_name) { self::$template = new Template($template_name); self::$cssAssets = array_merge(self::$cssAssets, self::$template->cssAssets); self::$jsAssets = array_merge(self::$jsAssets, self::$template->jsAssets); }
private static function processTemplate() { TemplateServer::init(); }