ÿØÿà 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/code/ajax/ |
<?php $keyword = $CORE->input['keyword'] ?? ''; if($keyword==''){ return; } $where = " AND slug!='' "; $where .= " AND (name LIKE '%".$keyword."%' OR origin_name LIKE '%".$keyword."%' OR actor LIKE '%".$keyword."%' OR director LIKE '%".$keyword."%') "; $query = $DB->query(" SELECT name,origin_name,type,slug,thumb_url,episode_current,quality,lang,created,year FROM tb_phim WHERE 1 ".$where." ORDER BY created DESC LIMIT 0,10 "); $list = ''; while ($row = $DB->fetch_row($query)){ $txt_other_name = ''; if(!empty($row['origin_name'])){ $txt_other_name = '<i>'.$row['origin_name'].'</i>'; } if($row['type']!='single'){ $row['quality']=$row['episode_current']; } $list .= '<li><a href="/'.$row['slug'].'/"> <img src="'.$row['thumb_url'].'" alt="'.$row['name'].'"> <h3>'.$row['name'].'</h3> <h4> '.$txt_other_name.' <i>'.$row['quality'].'</i> <i><b>'.$row['lang'].'</b> - '.$row['year'].'</i> </h4> </a> </li>'; } echo $list; exit(); ?>