view.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. $view
  3. ->set('$title', 'Dever::load("forum/posts.info#name")')
  4. ->set('Dever::setInput("model_page", 3)')
  5. ->set('$up', 'Dever::load("forum/posts-addView", array("where_id" => Dever::input("id")))')
  6. ->fetch('#dever_title', '<{Dever::load("forum/posts.info#name")}>')
  7. ->fetch('#dever_cate@href', '<{Dever::load("forum/posts.info#cate_link")}>')
  8. ->fetch('#dever_cate', '<{Dever::load("forum/posts.info#cate_name")}>')
  9. ->fetch('#dever_user@href', '<{Dever::load("forum/posts.info#user_link")}>')
  10. ->fetch('#dever_user', '<{Dever::load("forum/posts.info#user_name")}>')
  11. ->fetch('#dever_user_show@style', '<{Dever::load("forum/posts.info#user_name") ? "" : "display:none;"}>')
  12. ->fetch('#dever_time', '<{Dever::load("forum/posts.info#time")}>')
  13. ->fetch('#dever_time@title', '<{Dever::load("forum/posts.info#cdate")}>')
  14. ->fetch('#dever_essence@style', '<{Dever::load("forum/posts.info#essence")}>')
  15. ->fetch('#dever_top@style', '<{Dever::load("forum/posts.info#top")}>')
  16. ->fetch('#dever_content', '<{Dever::load("forum/posts.info#content")}>')
  17. ->fetch('#dever_view', '<{Dever::load("forum/posts.info#num_view")}>')
  18. ->fetch('#dever_user_avatar@src', '<{Dever::load("forum/posts.info#user_avatar")}>')
  19. ->fetch('.avatar@style', '<{Dever::load("forum/posts.info#user_avatar") ? "" : "display:none;"}>')
  20. ->fetch('#dever_user_link@href', '<{Dever::load("forum/posts.info#user_link")}>')
  21. ->fetch('.dever_up@dever-send', '<{Dever::load("forum/vote._token")}>')
  22. ->fetch('.dever_up span', '<{Dever::load("forum/posts.info#num_up")}>')
  23. ->display();