'."\n\t\t"; } static function includeLib ($libName) { $args = func_get_args (); $localeJs = 'locale/'. $_SESSION['lang'] .'/js/'. $libName .'.js'; if (file_exists ($localeJs)) self::includeFile ($localeJs); for ($i = 1; $i < count ($args); $i++) self::includeFile ('js/'.$libName.'/'.$args[$i].'.js'); } static function includeCss ($fileName) { echo ''."\n\t\t"; } static function isMobile () { if (self::$isMobile === NULL) { $re = '/(Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone)/i'; self::$isMobile = preg_match ($re, $_SERVER['HTTP_USER_AGENT']); } return self::$isMobile; } } ?>