= 4)) {
if (!strstr($endurl, "admin/") && !strstr($endurl, "postguest.php")) {
if (extension_loaded(zlib)>0) {
if (strstr($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) {
$obgo = true;
ob_start("ob_gzhandler");
}
}
}
}
$style = "";
if ($screen_choice == "fix") $style = "auto"; //for fixed skin 4.6.0
elseif ($screen_choice != "") $style = $screen_choice;
else {
$userstyle = "Portalstyle";
if (isset($_COOKIE[$userstyle])) {$style=$_COOKIE[$userstyle];}
else {$style="auto";}
if (isset($_POST['style'])) {
setcookie($userstyle, $_POST['style'], time()+(365*24*3600));
$style=$_POST['style'];
}
}
$toppage = $site[0];
if (($page[22]) && (!empty($topmess)))
$toppage .= " - ".strip_tags($topmess);
if ($serviz[32] == "on" && $serviz[42] == "on" && FileDBExist(CHEMIN."admin/redac/".$userprefs[1].INCEXT)) {
include(CHEMIN."admin/redac/".$userprefs[1].INCEXT);
}
?>
ATTENTION : site en travaux - CAUTION: work in progress
';
}
if (!empty($page[13])) {
echo "";
?>
";
}
echo $imgtabup;
echo "
";
if (($posbox[30] == "") && ($posbox[31] == "") && ($posbox[32] == "")) {$tabup = ""; $tabcita = "";}
if ($tabup == "on") {htable2("100%");} else {echo $tabup;} // No frame header if no boxes
// ----------entête----------------
if (($posbox[30] != '') || ($posbox[31] != '')) {
if ($posbox[30] != "" && $posbox[31] != "") {
echo '
'."\n";
include(CHEMIN.$posbox[30].INCEXT);
echo '
'."\n";
echo '
'."\n";
include(CHEMIN.$posbox[31].INCEXT);
echo '
'."\n";
}
elseif ($posbox[30] != "" && $posbox[31] == "") {
echo '
'."\n";
include(CHEMIN.$posbox[30].INCEXT);
echo '
'."\n";
}
else {
echo '
'."\n";
include(CHEMIN.$posbox[31].INCEXT);
echo '
'."\n";
}
}
if ($posbox[32]!="") {
include(CHEMIN.$posbox[32].INCEXT);
}
if ($tabcita == "on") btable2(); else echo $tabcita; // Bottom of header box
$tmpstyle = "";
echo "
";
if ($posbox[33] != "" || $posbox[34] != "") {
echo "
\n";
echo '
'."\n";
if ($posbox[33] != "") {
echo '';
include(CHEMIN.$posbox[33].INCEXT);
echo ' | '."\n";
}
if ($posbox[34] != ""){
echo ''."\n";
include(CHEMIN.$posbox[34].INCEXT);
echo ' | '."\n";
}
echo '
'."\n";
echo "
\n";
}
if ($menu_icon != "") {$page[9] = $sav_icon;} // restaure icons for center box
echo '
'."\n";
if ($tabmenu == "on") btable2(); elseif ($tabmenu == "") echo $tabmenu; // Optionnal bottom of header box
if ($tabmenu == "template") include($meskin."template1.inc");
else {
?>
";
include(CHEMIN."inc/boxleft.inc");
echo "";
}
echo "\n";
}
|