2.php 376 B

1234567891011121314151617181920212223
  1. <?php
  2. include('title.php');
  3. $view
  4. ->loop
  5. (
  6. '.dever_model_list li',
  7. 'forum/model.posts|model=Dever::input("model")',
  8. array
  9. (
  10. 'a' => array
  11. (
  12. 'href' => '<{Dever::url("forum/view?id=" . $v.id, "main")}>',
  13. 'title' => '<{$v.name}>',
  14. 'html' => '<{Dever::cut($v.name, 15)}>',
  15. ),
  16. )
  17. )
  18. # display
  19. ->display();