foot.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. $view
  3. ->fetch('.widget img@src', 'main/data.config#logo')
  4. ->fetch('.widget p', 'main/data.config#desc')
  5. ->fetch(array('.copyright-bar .col-md-6', 0), 'main/data.config#foot')
  6. ->fetch('.text-right@style', 'display:none')
  7. ->fetch(array('.copyright-bar .col-md-6@class', 0), 'col-md-12')
  8. ->fetch(array('.widgets .col-sm-6@class', 0), 'col-md-6 col-sm-6')
  9. ->fetch(array('.widgets .col-sm-6@class', 1), 'col-md-3 col-sm-6')
  10. ->fetch(array('.widgets .col-sm-6@class', 2), 'col-md-3 col-sm-6')
  11. ->fetch(array('.widgets .col-sm-6@style', 3), 'display:none')
  12. ->fetch('.quick-links .widget-title', 'main/data.config#company_name')
  13. ->fetch('.our-services .widget-title', 'main/data.config#service_name')
  14. ->loop
  15. (
  16. '.quick-links li',
  17. 'main/data.company_foot_list',
  18. array
  19. (
  20. 'a' => array
  21. (
  22. 'html' => '$v.name',
  23. 'href' => '$v.link',
  24. )
  25. )
  26. )
  27. ->loop
  28. (
  29. '.our-services li',
  30. 'main/data.service_foot_list',
  31. array
  32. (
  33. 'a' => array
  34. (
  35. 'html' => '$v.name',
  36. 'href' => '$v.link',
  37. )
  38. )
  39. )
  40. ;