zwz-detail.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. $view
  3. ->set('name', 'zwz-detail')
  4. ->set('title', 'main/content.getZwzOne#name')
  5. ->import('inc/head')
  6. ->fetch('body@test', '1')
  7. ->fetch(array('.zwz-logo img@src', 0), 'main/content.getZwzOne#logo')
  8. ->fetch(array('.zwz-logo span', 0), 'main/content.getZwzOne#name')
  9. ->fetch(array('.zwz-info p', 0), 'main/content.getZwzOne#info')
  10. ->fetch(array('.zwz-info a', 0), 'main/content.getZwzOne#site')
  11. ->fetch(array('.zwz-info a@href', 0), 'main/content.getZwzOne#site')
  12. ->loop
  13. (
  14. '.xnrers dl',
  15. 'main/content.getXnrByZwz',
  16. array
  17. (
  18. 'a|0' => array
  19. (
  20. 'href' => '$v.link',
  21. 'title' => '$v.name',
  22. 'img' => array
  23. (
  24. 'src' => '$v.pic',
  25. 'alt' => '$v.name',
  26. ),
  27. ),
  28. 'a|1' => array
  29. (
  30. 'href' => '$v.link',
  31. 'title' => '$v.name',
  32. 'html' => '$v.sname',
  33. ),
  34. 'p' => array
  35. (
  36. 'html' => '$v.info',
  37. ),
  38. )
  39. )
  40. ->import('inc/foot')
  41. ->display();