<?php
$jmfang= 'https://www.360kan.com'.$_GET['play'];
$like=fileget2($jmfang,5);
$likezz="#<li  title='(.*?)' class='w-newfigure w-newfigure-(.*?)'><a href='(.*?)'#"; 
$likeimg="#<li  title='(.*?)' class='w-newfigure w-newfigure-(.*?)'><a href='(.*?)'  class='js-link'><div class='w-newfigure-imglink g-playicon js-playicon'> <img src='(.*?)' data-src='(.*?)' alt='(.*?)'  />#"; 
preg_match_all($likezz, $like,$likearr); 
preg_match_all($likeimg, $like,$likearr1); 
$likename=$likearr1[1]; 
$likeurl=$likearr1[3]; 
$likeimg=$likearr1[5]; 
if(count($likename) == 0){
  $likedm1="#<li class='g-clear'([\s\S]*?)</li>#"; 
  preg_match_all($likedm1, $like,$likedmwy1); 
  $likedm2="#<img src=\"(.*?)\" data-src='(.*?)'>#"; 
  $likedm3="#<p class='title'><a href='(.*?)' data-index=(.*?)>(.*?)</a></p>#"; 
  preg_match_all($likedm2, $like,$likedmwy2); 
  preg_match_all($likedm3, $like,$likedmwy3);
  $likename=$likedmwy3[3]; 
  $likeurl=$likedmwy3[1]; 
  $likeimg=$likedmwy2[2]; 
}
$i=0;
foreach ($likename as $ks=>$vs){
if ($i<12){
$chuandi='../../vod'.$likeurl[$ks];
echo "<li class='col-md-6 col-sm-4 col-xs-3";
if ($i>=6){
echo ' hidden-lg hidden-md';
}
echo "'>
<div class='stui-vodlist__box stui-vodlist__bg'>
<a title='$vs' class='stui-vodlist__thumb lazyload' href='$chuandi' data-original='$likeimg[$ks]'>
<span class='play hidden-xs'></span>
</a>
<div class='stui-vodlist__detail active'>
<h4 class='title text-overflow'>
<a title='$vs' href='$chuandi'>$vs</a>
</h4>
</div>
</div>
</li>";
$i ++;}
}?>