| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?php
- /**
- * FecShop file.
- *
- * @link http://www.fecshop.com/
- * @copyright Copyright (c) 2016 FecShop Software LLC
- * @license http://www.fecshop.com/license/
- */
- ?>
- <?php
- $jsOptions = [
- # js config 1
- [
- 'options' => [
- 'position' => 'POS_END',
- // 'condition'=> 'lt IE 9',
- ],
- 'js' =>[
- 'js/vendor/modernizr-2.8.3.min.js',
- 'js/vendor/jquery.min.js',
- 'js/popper.min.js',
- 'js/bootstrap.min.js',
- 'js/plugins.js',
- 'js/main.js',
- 'js/js.js',
- ],
- ],
- ];
- # css config
- $cssOptions = [
- # css config 1.
- [
- 'css' =>[
- 'css/bootstrap.min.css',
- 'css/font-awesome.min.css',
- 'css/ionicons.min.css',
- 'css/plugins.css',
- 'css/helper.css',
- 'css/main.css',
- 'css/fec.css',
- ],
- ],
- ];
- \Yii::$service->page->asset->jsOptions = \yii\helpers\ArrayHelper::merge($jsOptions, \Yii::$service->page->asset->jsOptions);
- \Yii::$service->page->asset->cssOptions = \yii\helpers\ArrayHelper::merge($cssOptions, \Yii::$service->page->asset->cssOptions);
- \Yii::$service->page->asset->register($this);
- ?>
- <?php $this->beginPage() ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html class="no-js" xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?= $currentLangCode = Yii::$service->store->currentLangCode; ?>" lang="<?= $currentLangCode ?>">
- <head>
- <?= Yii::$service->page->widget->render('base/head',$this); ?>
- </head>
- <body>
- <?= Yii::$service->page->widget->render('base/beforeContent',$this); ?>
- <?php $this->beginBody() ?>
- <div class="header-container header-sticky">
- <?= Yii::$service->page->widget->render('base/header',$this); ?>
- <?= Yii::$service->page->widget->render('base/menu',$this); ?>
- </div>
- <div class="main-container">
- <?= $content; ?>
- </div>
- <div class="footer-container">
- <?= Yii::$service->page->widget->render('base/footer',$this); ?>
- </div>
- <?= Yii::$service->page->widget->render('base/trace',$this); ?>
- <?= Yii::$service->page->widget->render('base/scroll',$this); ?>
- <?php $this->endBody() ?>
- </body>
- </html>
- <?php $this->endPage() ?>
|