Example #1
0
$redir = 'no';
/**
 * Let b2evolution handle the query string and load the blog data:
 */
require_once dirname(__FILE__) . '/conf/_config.php';
require_once $inc_path . '_blog_main.inc.php';
// Make sure includes will check in the current folder!
$ads_current_skin_path = dirname(__FILE__) . '/';
# Now, below you'll find the magic template...
// --------------------- PAGE LEVEL CACHING SUPPORT ---------------------
// Note: This is totally optional. General caching must be enabled in Global settings, otherwise this will do nothing.
// Delete this block if you don't care about page level caching. Don't forget to delete the matching section at the end of the page.
load_class('_core/model/_pagecache.class.php', 'PageCache');
$PageCache = new PageCache(NULL);
// Check for cached content & Start caching if needed:
if (!$PageCache->check()) {
    // 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');