diff --git a/main.php b/main.php deleted file mode 100644 index 337d425c..00000000 --- a/main.php +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - - showMetaTitle(); ?> - showMetaDescription(); ?> - showMetaType(); ?> - showMetaImage(); ?> - showFavicon(); ?> - showVendor(); ?> - - - - - -showStyle(); ?> -showBar(); ?> -showNotification(); ?> -getData(['theme', 'menu', 'position']) === 'body-first' || $this->getData(['theme', 'menu', 'position']) === 'top' ): ?> - - - -getData(['theme', 'header', 'position']) === 'body'): ?> - - getData(['theme','header','linkHome'])){ - echo "" ;} ?> - -
- getData(['theme', 'header', 'textHide']) === false - // Affiche toujours le titre de la bannière pour l'édition du thème - OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header') - ): ?> -
- getData(['config', 'title']); ?> -
- -
- getData(['theme','header','linkHome'])){echo "
";} - ?> - - -getData(['theme', 'menu', 'position']) === 'body-second'): ?> - - - - -
- getData(['theme', 'menu', 'position']) === 'site-first'): ?> - - - - getData(['theme', 'header', 'position']) === 'site' - // Affiche toujours la bannière pour l'édition du thème - OR ( - $this->getData(['theme', 'header', 'position']) === 'hide' - AND $this->getUrl(0) === 'theme' - ) - ): ?> - - getData(['theme','header','linkHome'])){ - echo "" ;} ?> -
getData(['theme', 'header', 'position']) === 'hide'): ?>class="displayNone"> - getData(['theme', 'header', 'textHide']) === false - // Affiche toujours le titre de la bannière pour l'édition du thème - OR ($this->getUrl(0) === 'theme' AND $this->getUrl(1) === 'header') - ): ?> -
- getData(['config', 'title']); ?> -
- -
- getData(['theme','header','linkHome'])){echo "
";} ?> - - getData(['theme', 'menu', 'position']) === 'site-second' - // Affiche toujours le menu pour l'édition du thème - OR ( - $this->getData(['theme', 'menu', 'position']) === 'hide' - AND $this->getUrl(0) === 'theme' - ) - ): ?> - - - - -
- 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]; - } - if (sizeof($blocks) === 1 || - ($this->getData(['page', $this->getUrl(2), 'moduleId']) == '' && - $this->getUrl(1) == 'config') - ) { - ?>showContent();?> -
-
- getData(['page',$this->getData(['page',$this->getUrl(0),'barLeft']),'content']); - ?>
-
showContent(); ?>
-
- getData(['page',$this->getData(['page',$this->getUrl(0),'barRight']),'content']); - ?>
-
- -
- - getData(['theme', 'footer', 'position']) === 'site' - // Affiche toujours le pied de page pour l'édition du thème - OR ( - $this->getData(['theme', 'footer', 'position']) === 'hide' - AND $this->getUrl(0) === 'theme' - ) - ): ?> - - - - -
-getData(['theme', 'footer', 'position']) === 'body'): ?> - - - - -
-showAnalytics(); ?> -showScript(); ?> - -