agreement.php 628 B

123456789101112131415161718192021222324
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. ->set('name', 'agreement')
  9. ->set('title', 'main/view.page#name')
  10. ->import('inc/head')
  11. # 定义名称
  12. ->fetch('body@t', '1')
  13. ->fetch('.tit h2', 'main/view.page#name')
  14. ->fetch(array('.main section', 1), 'main/view.page#content')
  15. ->fetch(array('script@src', 1), Dever::assets('global.js'))
  16. ->fetch(array('script@src', 2), Dever::assets('<{(isset($name) ? $name : "index")}>.js', 'js'))
  17. # display
  18. ->display();