'.PHP_EOL;
//if ('1' == $ar_back['fl_back']) {
if (('0' == $ar_back['fl_back']) && ($ar_frame['edge_sx'] != '')) {
$html_body .= ' | '.PHP_EOL;
} else {
$html_body .= ' | '.PHP_EOL;
}
$html_body .= ''.PHP_EOL;
// menu principale
switch ($menupos) {
case 'admin':
if ($fl_debug) echo '
************** menu admin **************
';
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
// testa e menu rapido
$html_body .= head($ar_head);
// NO menu principale
//$html_body .= topmenu($ar_menu,$cap);
// barra colorata
$blu = '';
if (isset($_SESSION[$web]['blu'])) $blu = $_SESSION[$web]['blu'];
if ('1' == $_SESSION[$web]['super']) $blu .= ' (web-admin)';
$html_body .= blubar($ar_bar, $blu);
// feedback ultima operazione
$html_body .= feedback($web,$_SESSION[$web]['lan']);
// NO nastro scorrevole
//$html_body .= nastro($page_cod,$ar_bar['color']);
$html_body .= ' | '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
// *************************
// CONTENITORE
// (default 938px)
$html_body .= $html_core[2];
// ********************
$html_body .= ' | '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
// copyright
$html_body .= copyright($ar_foot,$copyright_col);
$html_body .= ' | '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
break;
// ***************
// top menu
// ***************
case 'top':
if ($fl_debug) echo '
************** menu top **************
';
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
// testa e menu rapido
$html_body .= head($ar_head);
// menu principale TOP
$html_body .= menutop($ar_menu,$cap);
// barra colorata
$blu = '';
if (isset($_SESSION[$web]['blu'])) $blu = $_SESSION[$web]['blu'];
if (isset($_SESSION[$web]['super'])) {
if ('1' == $_SESSION[$web]['super']) $blu .= ' (web-admin)';
}
$html_body .= blubar($ar_bar, $blu);
// feedback ultima operazione
$html_body .= feedback($web,$_SESSION[$web]['lan']);
// nastro scorrevole
$boxgnd_col = '#ffffff';
if (isset($ar_layout['boxgnd_col'])) {
if ($ar_layout['boxgnd_col'] != '') $boxgnd_col = strtolower($ar_layout['boxgnd_col']);
}
$html_body .= nastro($page_cod,$ar_bar['color'],$boxgnd_col);
$html_body .= ' | '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
// *************************
// CONTENITORE
// (default 938px)
//$html_body .= feedback($web, $_SESSION[$web]['lan']);
$html_body .= $html_core[2];
// ********************
$html_body .= ' | '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
// copyright
$html_body .= copyright($ar_foot,$copyright_col);
$html_body .= ' | '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
break;
case 'side':
// ***************
// side menu
// ***************
if ($fl_debug) echo '
************** menu side **************
';
// dimensione colonna menu
$larghezza = $ar_menu['knapp_width'] + $ar_menu['knapp_clear'];
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
// testa e menu rapido
$html_body .= head($ar_head);
// barra colorata
$blu = '';
if (isset($_SESSION[$web]['blu'])) $blu = $_SESSION[$web]['blu'];
if ('1' == $_SESSION[$web]['super']) $blu .= ' (web-admin)';
$html_body .= blubar($ar_bar, $blu);
// feedback ultima operazione
$html_body .= feedback($web,$_SESSION[$web]['lan']);
// nastro scorrevole
$boxgnd_col = '#ffffff';
if (isset($ar_layout['boxgnd_col'])) {
if ($ar_layout['boxgnd_col'] != '') $boxgnd_col = strtolower($ar_layout['boxgnd_col']);
}
$html_body .= nastro($page_cod,$ar_bar['color'],$boxgnd_col);
$html_body .= ' | '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
$html_body .= ''.PHP_EOL;
// inserisco eventuale padding-left con valore da $ar_back['padding']
$html_body .= ''.PHP_EOL;
// menu principale SIDE
$html_body .= menuside($ar_menu,$cap);
$html_body .= ' | '.PHP_EOL;
$html_body .= ''.PHP_EOL;
// *************************
// CONTENITORE
// (default 938px - $larghezza)
//$html_body .= feedback($web, $_SESSION[$web]['lan']);
$html_body .= $html_core[2];
// ********************
$html_body .= ' | '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
$html_body .= ''.PHP_EOL;
$html_body .= ''.PHP_EOL;
// copyright
$html_body .= copyright($ar_foot,$copyright_col);
$html_body .= ' | '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
$html_body .= ' '.PHP_EOL;
break;
}
$html_body .= ' | '.PHP_EOL;
// if ('1' == $ar_back['fl_back']) {
if (('0' == $ar_back['fl_back']) && ($ar_frame['edge_dx'] != '')) {
$html_body .= 'G | '.PHP_EOL;
} else {
$html_body .= ' | '.PHP_EOL;
}
$html_body .= '
'.PHP_EOL;
if ('1' == $ar_back['back_serif']) {
if ($fl_debug) echo '