'; if (isset($CSSs)) { $tmpCSSs = is_array($CSSs) ? $CSSs : array($CSSs); for ($tmpCSSsCounter = 0; $tmpCSSsCounter < count($tmpCSSs); $tmpCSSsCounter++) { $toPrint = sprintf($cssLink, base_url($tmpCSSs[$tmpCSSsCounter])).PHP_EOL; if ($tmpCSSsCounter > 0) $toPrint = "\t\t".$toPrint; echo $toPrint; } } } /** * Generates tags for the javascripts you want to include, the parameter could by a string or an array of strings */ function _generateJSsInclude($JSs) { $jsInclude = ''; if (isset($JSs)) { $tmpJSs = is_array($JSs) ? $JSs : array($JSs); for ($tmpJSsCounter = 0; $tmpJSsCounter < count($tmpJSs); $tmpJSsCounter++) { $toPrint = sprintf($jsInclude, base_url($tmpJSs[$tmpJSsCounter])).PHP_EOL; if ($tmpJSsCounter > 0) $toPrint = "\t\t".$toPrint; echo $toPrint; } } } ?> <?php _printTitle($title); ?>