showMetaTitle(); ?> showMetaDescription(); ?> showMetaType(); ?> showMetaImage(); ?> showFavicon(); ?> showVendor(); ?> showAnalytics(); ?> showStyle(); ?> showNotification(); ?>
getData(['page',$this->getUrl(0),'block'])); // Initialiser $blockleft=$blockright=""; switch (sizeof($blocks)) { case 1 : // une colonne $content = 'col'. $blocks[0] ; break; case 2 : // 2 blocks if ($blocks[0] < $blocks[1]) { // détermine la position de la colonne $blockleft = 'col'. $blocks[0]; $content = 'col'. $blocks[1] ; } else { $content = 'col' . $blocks[0]; $blockright = 'col' . $blocks[1]; } break; case 3 : // 3 blocks $blockleft = 'col' . $blocks[0]; $content = 'col' . $blocks[1]; $blockright = 'col' . $blocks[2]; } // Page pleine pour la configuration des modules et l'édition des pages sauf l'affichae d'un article de blog $pattern = ['config','edit','add','comment','data']; if ((sizeof($blocks) === 1 || in_array($this->getUrl(1),$pattern) ) ) { // Pleine page en mode configuration $layout->showContent(); if (file_exists(self::DATA_DIR . 'body.inc.html')) { include(self::DATA_DIR . 'body.inc.html'); } } else { ?>
showBarContentLeft(); ?>
showContent(); if (file_exists(self::DATA_DIR . 'body.inc.html')) { include(self::DATA_DIR . 'body.inc.html'); } ?>
showBarContentRight(); ?>
showScript();?>