コード例 #1
0
ファイル: index.php プロジェクト: schappaughc/iitmapas
    $page->page = '{content}';
}
// Allow Addons/Functions to pass back custom jscript.
global $jscript, $jscript_last;
$jscript = '';
$jscript_last = '';
//Load Content
$page->replace_tags(array('content'));
//Replace Permission tags first
$page->replace_permission_tags();
$page->replace_urls();
$page->replace_meta_template_tags();
$page->auto_replace_tags();
// Load js last to make sure all custom js was added
$page->replace_tags(array('load_js', 'load_js_last'));
//Replace Languages
$page->replace_lang_template_tags();
$page->replace_css_template_tags();
$page->output_page();
$conn->Close();
// Close Buffer
$buffer = ob_get_contents();
ob_end_clean();
echo $buffer;
// Display TIme
$end_time = $misc->getmicrotime();
$render_time = sprintf('%.3f', $end_time - $start_time);
if (isset($_GET['popup']) && $_GET['popup'] == 'blank') {
} else {
    echo '<!-- This page was generated in ' . $render_time . ' seconds -->';
}