Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- defined('_JEXEC') or die;
- $app = JFactory::getApplication();
- $user = JFactory::getUser();
- $doc = JFactory::getDocument();
- $this->setGenerator(null);
- $this->setHtml5(true);
- $params = $app->getTemplate(true)->params;
- $option = $app->input->getCmd('option', '');
- $view = $app->input->getCmd('view', '');
- $layout = $app->input->getCmd('layout', '');
- $task = $app->input->getCmd('task', '');
- $itemid = $app->input->getCmd('Itemid', '');
- $sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8');
- // Add template js
- JHtml::_('script', 'template.js', array('version' => 'auto', 'relative' => true));
- // Add Stylesheets
- $doc->addStyleSheetVersion($this->baseurl . '/templates/' . $this->template . '/css/bootstrap.css');
- $doc->addStyleSheetVersion($this->baseurl . '/templates/' . $this->template . '/css/template.css');
- $doc->addStyleSheetVersion('http://use.fontawesome.com/releases/v5.12.1/css/all.css');
- // add javascript
- $doc->addScriptVersion($this->baseurl . '/templates/' . $this->template . '/js/bootstrap.js', 'text/javascript', false, false, true);
- $doc->addScriptVersion($this->baseurl . '/templates/' . $this->template . '/js/script.js', 'text/javascript', false, false, true);
- ?>
- <!DOCTYPE html>
- <html lang="<?php echo $this->language; ?>">
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <jdoc:include type="head" />
- </head>
- <body>
- <header class="container">
- <div class="row">
- <div class="col-4 bg-primary">
- <jdoc:include type="modules" name="logo" style="xhtml" />
- </div>
- <div class="col bg-danger">
- <jdoc:include type="modules" name="menu" style="xhtml" />
- </div>
- </div>
- </header>
- <?php if ($this->countModules('banner')) : ?>
- <div class="jumbotron jumbotron-fluid">
- <div class="container">
- <div class="row">
- <div class="col">
- <jdoc:include type="modules" name="banner" style="none" />
- </div>
- </div>
- </div>
- </div>
- <?php endif; ?>
- <jdoc:include type="component" />
- <footer>
- <!-- <div class="jumbotron jumbotron-fluid"> -->
- <div class="container">
- <div class="row">
- <div class="col-4 bg-primary">
- <jdoc:include type="modules" name="footer-gauche" style="" />
- </div>
- <div class="col-4 bg-danger">
- <jdoc:include type="modules" name="footer-milieu" style="xhtml" />
- </div>
- <div class="col-4 bg-primary">
- <jdoc:include type="modules" name="footer-droite" style="xhtml" />
- </div>
- </div>
- <div class="row">
- <div class="col-12">
- <jdoc:include type="modules" name="Copyright" style="xhtml" />
- </div>
- </div>
- </div>
- <!-- </div> -->
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement