示例#1
0
    } else {
        $stl = 'styles/style_orange.css';
        if (session_getvalue('current_style') != '') {
            $stl = 'styles/style_' . session_getvalue('current_style') . '.css';
        }
        include $stl;
    }
}
?>
</style>
<style type="text/css" media="print"><?php 
if (file_exists("extensions/print.css")) {
    include "extensions/print.css";
}
?>
</style>
<?php 
echo cache_getvalue("finalhead");
cache_setvalue("finalhead", "");
?>
</head>
<body class=backbody><?php 
echo cache_getvalue("body");
cache_setvalue("body", "");
echo $context;
echo cache_getvalue("afterbody");
cache_setvalue("afterbody", "");
?>
</body>
</html>
示例#2
0
    include cache_getvalue("load_in_template");
}
cache_addvalue("body", ob_get_contents());
ob_end_clean();
if (cache_getvalue("load_in_css") != "") {
    ob_start();
    ?>
<style>
	<?php 
    include cache_getvalue("load_in_css");
    ?>
	</style>
	<?php 
    cache_addvalue("finalhead", ob_get_contents());
    ob_end_clean();
}
global $mycheader;
global $mycbody;
if ($mycheader != "") {
    cache_addvalue("finalhead", $mycheader);
}
if ($mycbody != "") {
    $myb = str_replace("[body]", cache_getvalue("body"), $mycbody);
    cache_setvalue("body", $myb);
}
//html
if (file_exists("extensions/justhtml.php")) {
    include "extensions/justhtml.php";
} else {
    include "design/justhtml.php";
}
示例#3
0
文件: temp.php 项目: jawedkhan/rorca
<h1>Template</h1>

<p>aici de poate insera tarifarul</p>

<?php 
echo cache_getvalue("body");
cache_setvalue("body", "");
?>