���� 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/proxy/logs/curl22/ |
<?php error_reporting(0); if(isset($_POST['submitbt'])) { include 'libraries/simple_html_dom.php'; $url = trim($_POST['body']); $content = file_get_contents('http://localhost/test/curl22/run.php?url='.$url); $html = str_get_html($content); $detail = array(); $detail['basic_link'] = $url; $detail['title1'] = $html->find('span.title-1',0)->plaintext; $detail['title2'] = $html->find('span.title-2',0)->plaintext; $detail['year'] = $html->find('span.title-year',0)->plaintext; $detail['plot'] = $html->find('div#film-content p',0)->plaintext; //link phim $link_xem = $html->find('ul.btn-block li a',1)->href; $link_xem = str_replace(array('./',' '),array('http://anime47.com/','-'),$link_xem); $content2 = file_get_contents('http://localhost/test/curl22/run2.php?url='.$link_xem); $html2 = str_get_html($content2); $server = array(); $content5 = $html2->find('div.server div.episodes',0)->innertext; $content6 = $html2->find('div.server div.episodes',1)->innertext; $content7 = $html2->find('div.server div.episodes',2)->innertext; $html5 = str_get_html($content5); foreach ($html5->find('a') as $val){ $server[] = str_replace(' ','-',$val->href); } $detail['linkphim_vietsub'] = implode('@', $server); $detail['sotap'] = count($server); if(!empty($content6)){ $html6 = str_get_html($content6); foreach ($html6->find('a') as $val){ $server2[] = str_replace(' ','-',$val->href); } $detail['linkphim_tm'] = implode('@', $server2); } if(!empty($content7)){ $html7 = str_get_html($content7); foreach ($html7->find('a') as $val){ $server3[] = str_replace(' ','-',$val->href); } $detail['linkphim_lt'] = implode('@', $server3); } echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Doom document</title> </head> <body> <div class="boxnhac6"> <form method="post" id="create" name="create"> <table width="100%" border="0" cellspacing="4" cellpadding="4"> <tr> <td width="20%"><span class="WhiteText">Tên 1:</span></td> <td align="left" width="80%"> <input type="text" value="'.trim(utf8_decode($detail['title1'])).'" style="width: 500px;"> </td> </tr> <tr> <td width="20%"><span class="WhiteText">Tên 2:</span></td> <td align="left" width="80%"> <input type="text" value="'.trim(utf8_decode($detail['title2'])).'" style="width: 500px;"> </td> </tr> <tr> <td width="20%"><span class="WhiteText">Year:</span></td> <td align="left" width="80%"> <input type="text" value="'.$detail['year'].'"> </td> </tr> <tr> <td width="20%"><span class="WhiteText">Plot:</span></td> <td align="left" width="80%"> <textarea style="width: 500px; height: 100px;">'.trim(utf8_decode($detail['plot'])).'</textarea> </td> </tr> <tr> <td width="20%"><span class="WhiteText">Số tập :</span></td> <td align="left" width="80%"> <input type="text" value="'.$detail['sotap'].'"> </td> </tr> <tr> <td width="20%"><span class="WhiteText">Server 1 :</span></td> <td align="left" width="80%"> <textarea style="width: 500px; height: 100px;">'.$detail['linkphim_vietsub'].'</textarea> </td> </tr> <tr> <td width="20%"><span class="WhiteText">Server 1 :</span></td> <td align="left" width="80%"> <textarea style="width: 500px; height: 100px;">'.$detail['linkphim_tm'].'</textarea> </td> </tr> <tr> <td width="20%"><span class="WhiteText">Server 1 :</span></td> <td align="left" width="80%"> <textarea style="width: 500px; height: 100px;">'.$detail['linkphim_lt'].'</textarea> </td> </tr> </table> </form> </div> <div style="text-align:center;"><a href="anime47.php">Back</a></div> </body> </html>'; exit(); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Doom document</title> </head> <body> <div class="boxnhac6"> <span style="color:#FFFFFF"> <h2> Phim19.Com</h2></span> <span>Những ô có dấu <span>*</span> là yêu cầu nhập</span> </div> <div class="boxnhac6"> <form action="anime47.php" method="post" id="create" name="create"> <table width="100%" border="0" cellspacing="4" cellpadding="4"> <tr> <td width="20%"><span class="WhiteText">body :</span></td> <td align="left" width="80%"> <textarea style="width: 500px; height: 100px;" name="body"><?php if(isset($url)) echo $url;?></textarea> </td> </tr> <tr> <td> </td> <td align="center" id="txt_error" style="color:#FF0000;"> </td> </tr> <tr> <td> </td> <td align="right"> <input type="hidden" name="submitbt" id="submitbt" value="1" /> <input type="submit" name="submit2" id="submit2" value="Cập nhật" class="button" /> </td> </tr> </table> </form> </div> </body> </html>