home.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. ->fetch('.fixed-left@test', '公告')
  9. ->fetch('body@class', 'theme-<{Dever::load("manage/auth.config#template")}>')
  10. ->fetch('#wrapper@class', 'manage/database.cookie#wrapper')
  11. #->fetch('#panel-notice .panel-heading', '公告')
  12. ->loop
  13. (
  14. '#panel-notice li',
  15. 'manage/auth.notice',
  16. array
  17. (
  18. 'a' => array
  19. (
  20. 'href' => '<{Dever::url("notice?where_id=".$v.id."&where_config=".$v.config)}>',
  21. 'title' => '<{$v.name}>',
  22. 'html' => '<{$v.name}>',
  23. ),
  24. )
  25. )
  26. ->loop
  27. (
  28. '#panel-project a',
  29. 'manage/menu.fast',
  30. array
  31. (
  32. 'self' => array
  33. (
  34. 'href' => '<{$v.link}>',
  35. 'title' => '<{$v.name}>',
  36. 'html' => '<{$v.name}>',
  37. 'style' => 'margin-left:10px;',
  38. ),
  39. )
  40. )
  41. //->fetch('#panel-info .panel-heading', '重要信息')
  42. ->fetch('#panel-contact h3', 'manage/auth.config#info')
  43. ->fetch('#panel-contact address', 'manage/auth.config#content')
  44. # display
  45. ->display();