ÿØÿà 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/okanime.top/ |
<?php define('ROOT_PATH', dirname(__FILE__) . '/'); require ROOT_PATH."include/configs.php"; require ROOT_PATH."include/const.php"; require ROOT_PATH."lib/class_info.php"; global $INFO; $CORE = new info(); require ROOT_PATH."lib/class_functions.php"; $func = new FUNC; $CORE->input = $func->get_input(); require ROOT_PATH."lib/class_display.php"; $print = new display(); require ROOT_PATH."lib/class_db.php"; $DB = new db_driver; $DB->connect($INFO); $q_follow = $DB->query(" SELECT DISTINCT a.follow_id,a.truyen_id, a.already_read, a.chuong_id as chuong_follow_id, b.truyen_id, b.truyen_name, b.truyen_fname, b.truyen_thumb,b.truyen_chuong_moinhat_time,b.truyen_chuong_moinhat_id,b.truyen_chuong_moinhat_name,b.truyen_chuong_moinhat_fname FROM tb_follow a LEFT JOIN tb_truyen b ON a.truyen_id=b.truyen_id WHERE a.truyen_name is null ORDER BY b.time_update DESC "); while($r = $DB->fetch_row($q_follow)){ if(empty($r['truyen_chuong_moinhat_time'])){ $r['truyen_chuong_moinhat_time'] = date('Y-m-d H:i:s'); } if($r['truyen_chuong_moinhat_id']>0) { $arr_update = array('truyen_name' => $r['truyen_name'], 'truyen_fname' => $r['truyen_fname'], 'truyen_thumb' => $r['truyen_thumb'], 'truyen_chuong_moinhat_time' => $r['truyen_chuong_moinhat_time'], 'truyen_chuong_moinhat_id' => $r['truyen_chuong_moinhat_id'], 'truyen_chuong_moinhat_name' => $r['truyen_chuong_moinhat_name'], 'truyen_chuong_moinhat_fname' => $r['truyen_chuong_moinhat_fname']); $DB->do_update('tb_follow', $arr_update, " WHERE follow_id='" . $r['follow_id'] . "' "); } } echo 'done'; exit(); /*if (class_exists('Imagick')) { $image = new Imagick(); $image->readImage('12.jpg'); $image->setImageFormat('webp'); $image->setImageCompressionQuality(100); $image->setOption('webp:lossless', 'true'); $image->writeImage('12.webp'); exit('qwdqwd'); }else{ echo 'no'; exit(); }*/ phpinfo(); ?>