ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/vidoe.top/code/ |
<?php class web_service{ function web_service() { global $CORE; switch ($CORE->input['code']) { default: $this -> goHome(); break; } } function goHome(){ global $DB,$memcache; $key_phimle = md5('phim-le-moi'."SELECT id,title_vi,title_en,title_other,img,chatluong,ngonngu,namphathanh FROM gtdesign_phim WHERE (hinhthuc = 'movie' OR hinhthuc = 'in-theaters') AND status=1 ORDER BY time DESC LIMIT 0,10".$_SESSION['lang']); // Unique Words $cache_result_phimle = $memcache->get($key_phimle); // Memcached object if($cache_result_phimle){ $list_phimle = $cache_result_phimle; }else { $q_phimle = $DB->query("SELECT id,title_vi,title_en,title_other,img,chatluong,ngonngu,namphathanh FROM gtdesign_phim WHERE (hinhthuc = 'movie' OR hinhthuc = 'in-theaters') AND status=1 AND linkphim LIKE '%123vid.net.com.vn%' ORDER BY time DESC LIMIT 0,10 "); while ($r_phimle = $DB->fetch_row($q_phimle)) { if ($_SESSION['lang'] != 'vi') { $r_phimle['title_vi'] = $r_phimle['title_en']; $r_phimle['title_en'] = $r_phimle['title_other']; } $list_phimle[] = $r_phimle; $memcache->set($key_phimle, $list_phimle, MEMCACHE_COMPRESSED, 1200); } } print_r($list_phimle); exit(); } }//end class // Run class $run = new web_service(); ?>