foot.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. $view
  3. ->fetch('.footer-widget img@src', 'main/data.config#logo')
  4. ->fetch('.footer-widget__text_paragraph', 'main/data.config#desc')
  5. ->fetch(array('.footer__copyright_text', 0), 'main/data.config#foot')
  6. ->fetch(array('.footer-widget__title_heading', 0), 'main/data.config#name_1')
  7. ->fetch(array('.footer-widget__title_heading', 1), 'main/data.config#name_2')
  8. ->fetch(array('.footer-widget__title_heading', 2), 'main/data.config#name_3')
  9. ->loop
  10. (
  11. '.m1 li',
  12. 'main/data.contact',
  13. array
  14. (
  15. 'a' => array
  16. (
  17. 'html' => '$v',
  18. 'href' => 'javascript:;',
  19. ),
  20. )
  21. )
  22. ->loop
  23. (
  24. '.m2 li',
  25. 'main/data.menu_foot',
  26. array
  27. (
  28. 'a' => array
  29. (
  30. 'html' => '$v.name',
  31. 'href' => '$v.link',
  32. ),
  33. )
  34. )
  35. ->loop
  36. (
  37. '.m3 li',
  38. 'main/data.menu_foot_2',
  39. array
  40. (
  41. 'a' => array
  42. (
  43. 'html' => '$v.name',
  44. 'href' => '$v.link',
  45. ),
  46. )
  47. )
  48. ;