course_view.php 585 B

1234567891011121314151617181920
  1. <?php
  2. $view
  3. ->set('name', 'course')
  4. ->import('inc/head')
  5. ->fetch(array('.news a', 0), '<{Dever::load("main/content.getMenuName", "course")}>')
  6. ->fetch(array('.news a@href', 0), '<{Dever::url("course", "main")}>')
  7. ->fetch(array('.news span', 0), 'main/content.getCourse#name')
  8. ->fetch(array('h1', 0), 'main/content.getCourse#name')
  9. ->fetch(array('.pushtime span', 0), 'main/content.getCourse#date')
  10. ->fetch(array('.introTop', 0), 'main/content.getCourse#desc')
  11. ->fetch(array('.content', 0), 'main/content.getCourse#content')
  12. ->import('inc/foot')
  13. ->display();