static function mustache_render($file_path, $data) { if (null == self::$mustache) { if (!class_exists('Mustache')) { require dirname(__FILE__) . '/mustache/Mustache.php'; } self::$mustache = new Mustache(); } return self::$mustache->render(file_get_contents($file_path), $data); }