ÿØÿà 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/netphim/include/block/ |
<?php $code = $CORE->input['code'] ?? ''; $smarty->assign('icon_website_16_16',$INFO['home_url'].$arr_option['icon_website_16_16']); $smarty->assign('icon_website_180_180',$INFO['home_url'].$arr_option['icon_website_180_180']); $key_genres = md5("SELECT name,slug FROM tb_genres WHERE `name` is not null ORDER BY name"); $list_genres=array(); if($memcache->get($key_genres)){ $list_genres = $memcache->get($key_genres); }else { $q_genres = $DB->query("SELECT `name`,`slug` FROM tb_genres WHERE `name` is not null ORDER BY name"); while ($r_genres = $DB->fetch_row($q_genres)) { $list_genres[] = $r_genres; } $memcache->set($key_genres,$list_genres,MEMCACHE_COMPRESSED,86400); } $smarty->assign('list_genres',$list_genres); $key_country = md5("SELECT name,slug FROM tb_country ORDER BY name"); $list_country=array(); if($memcache->get($key_country)){ $list_country = $memcache->get($key_country); }else { $q_country = $DB->query("SELECT name,slug FROM tb_country ORDER BY name"); while ($r_country = $DB->fetch_row($q_country)) { if (!empty($r_country['slug'])) { $list_country[] = $r_country; } } $memcache->set($key_country,$list_country,MEMCACHE_COMPRESSED,86400); } $smarty->assign('list_country',$list_country); ?>