12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
-
- $view
- ->fetch('title', 'main/data.config#name')
- ->fetch('.main-menu__logo img@src', 'main/data.config#logo')
- ->fetch('.main-menu__logo img@alt', 'main/data.config#name')
- ->fetch('.main-menu__logo a@href', 'main/data.config#link')
- ->fetch(array('.header-top__info_text--big', 1), 'main/data.config#phone')
- ->fetch(array('.header-top__info_text--big', 2), 'main/data.config#email')
- ->fetch(array('.header-top__info_text--big', 3), 'main/data.config#address')
- ->fetch(array('.facebook@href', 0), 'main/data.config#facebook')
- ->fetch(array('.twitter@href', 0), 'main/data.config#twitter')
- ->fetch(array('.linkedin@href', 0), 'main/data.config#linkedin')
- ->fetch(array('.instagram@href', 0), 'main/data.config#instagram')
- ->fetch(array('.facebook@href', 1), 'main/data.config#facebook')
- ->fetch(array('.twitter@href', 1), 'main/data.config#twitter')
- ->fetch(array('.linkedin@href', 1), 'main/data.config#linkedin')
- ->fetch(array('.instagram@href', 1), 'main/data.config#instagram')
- ->fetch('.header-top__info_time@style', 'display:none')
- ->fetch('.pinterest@style', 'display:none')
- ->loop
- (
- '.main-menu__nav li',
- 'main/data.menu',
- array
- (
- 'a' => array
- (
- 'html' => '$v.name',
- 'href' => '$v.link',
- ),
- 'class' => '$v.class',
- 'ul' => array
- (
- 'style' => 'display:none',
- ),
- )
- )
- ;
|