Home >Backend Development >PHP Tutorial >Sina PHP framework pure version 1.1 (with beautiful waterfall flow template)

Sina PHP framework pure version 1.1 (with beautiful waterfall flow template)

WBOY
WBOYOriginal
2016-07-25 09:06:37877browse
Sina PHP framework pure version 1.1 (with beautiful waterfall flow template)
Demo address
What is called in the template is
Video data from 56.net open platform. .
1. Includes ad-free off-site player;

  1. if( !$trip = $mm->get($key_trip)){
  2. $trip = $this->con->hotVideo(27);
  3. if($trip){
  4. $ mm->set($key_trip, $trip);
  5. }
  6. }
  7. $trip = json_decode($trip, true);
  8. if( !$fun = $mm->get($key_fun)){
  9. $fun = $this->con->hotVideo(4);
  10. if($fun){
  11. $mm->set($key_fun, $fun);
  12. }
  13. }
  14. $fun = json_decode ($fun, true);
  15. TPL::assign('hot', $hot);
  16. TPL::assign('ent', $ent);
  17. TPL::assign('ori', $ori);
  18. TPL::assign('mtv', $mtv);
  19. TPL::assign('sport', $trip);
  20. TPL::assign('game', $fun);
  21. TPL::display('index ');
Copy code
Sina PHP framework pure version 1.1 (with beautiful waterfall flow template)


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn