コード例 #1
0
ファイル: ofc.php プロジェクト: arribanz/live
//end logic to determine page action *******************************************
//******************************************************************************
//Output page contents
//******************************************************************************
$early_output = ob_get_clean();
// Should be blank unless trouble-shooting.
ob_start();
header('Content-type: text/html; charset=UTF-8');
?>
<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex">
<?php 
echo '<title>' . hsc($config_title . ' - ' . Page_Title()) . '</title>' . "\n";
style_sheet();
Language_and_config_adjusted_styles();
common_scripts();
echo '</head><body>';
Error_reporting_status_and_early_output(0, 0);
//0,0 will only show any early output.
if ($_SESSION['valid']) {
    echo '<div id="main" class="container" >';
} else {
    echo '<div id="main" class="login_page">';
}
Page_Header();
if ($_SESSION['valid'] && $Show_Path) {
    Current_Path_Header();
}
message_box();
コード例 #2
0
function Load_style_sheet()
{
    //*************************************************
    global $CSS_FILE, $message;
    style_sheet();
    //first load built-in defaults
    if (isset($CSS_FILE)) {
        //Check for external file
        echo '<link rel="stylesheet" type="text/css" href="' . URLencode_path($CSS_FILE) . '">';
    }
    Language_and_config_adjusted_styles();
}