Example #1
0
    // Cache miss, we have to generate:
    // --------------------- PAGE LEVEL CACHING SUPPORT ---------------------
    // This is the main template; it may be used to display very different things.
    // Do inits depending on current $disp:
    skin_init($disp);
    // Add CSS:
    require_css('basic_styles.css', 'rsc_url');
    // the REAL basic styles
    require_css('basic.css', 'rsc_url');
    // Basic styles
    require_css('blog_base.css', 'rsc_url');
    // Default styles for the blog navigation
    require_css('item_base.css', 'rsc_url');
    // Default styles for the post CONTENT
    require_css('fp02.css', 'rsc_url');
    add_js_for_toolbar();
    // Registers all the javascripts needed by the toolbar menu
    // Functions to work with AJAX response data
    require_js('#jquery#', 'rsc_url');
    require_js('#jqueryUI#', 'rsc_url');
    require_js('ajax.js', 'rsc_url');
    headers_content_mightcache('text/html');
    // In most situations, you do NOT want to cache dynamic content!
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php 
    locale_lang();
    ?>
" lang="<?php 
    locale_lang();
    ?>
Example #2
0
 *
 * For a quick explanation of b2evo 2.0 skins, please start here:
 * {@link http://b2evolution.net/man/skin-structure}
 *
 * This is meant to be included in a page template.
 * Note: This is also included in the popup: do not include site navigation!
 *
 * @package evoskins
 */
if (!defined('EVO_MAIN_INIT')) {
    die('Please, do not access this page directly.');
}
global $xmlsrv_url;
$params = array_merge(array('auto_pilot' => 'seo_title'), $params);
require_css('style.css', 'relative');
add_js_for_toolbar('blog');
// Registers all the javascripts needed by the toolbar menu
init_bubbletip_js('blog');
// Add jQuery bubbletip plugin
require_js('ajax.js', 'blog');
// Functions to work with AJAX response data
// CSS for IE9
add_headline('<!--[if IE 9 ]>');
require_css('ie9.css', 'rsc_url');
add_headline('<![endif]-->');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php 
locale_lang();
?>
" lang="<?php