测试节点
测试节点:(测试时不会下载远程图片)
测试的网址:
GetOne("Select sourcelang,isref From `ek_co_note` where nid='$nid'"); $sourcelang=$corow['sourcelang']; $isref=$corow['isref']; $html = cget($previewurl,$isref); $html = ChangeCode($html,$sourcelang); $title=GetHtmlvalue($html,$match_title,$trim_title); $actor=GetHtmlvalue($html,$match_actor,$trim_actor); $content=GetHtmlvalue($html,$match_content,$trim_content); $pic=GetHtmlvalue($html,$match_pic,$trim_pic); $v_state=GetHtmlvalue($html,$match_state,$trim_state); $v_publishyear=GetHtmlvalue($html,$match_timea,$trim_timea); $v_publisharea=GetHtmlvalue($html,$match_area,$trim_area); $v_pubdate=GetHtmlvalue($html,$match_pubdate,$trim_pubdate); $v_note=GetHtmlvalue($html,$match_note,$trim_note); if($scopeon){$scope=Geturlarray($html,$match_scope,$trim_scope);}else{$scope[0]=$html;} if($serveron==1){$server=Geturlarray($scope,$match_server,$trim_server);}else if($serveron==2){$server[0]=$playfrom;}else{$server=Geturlarray($html,$match_server,$trim_server);} foreach($scope as $sv){ $weburl[]=Geturlarray($sv,$match_weburl,$trim_weburl); } if($uurl){ $playurlarray=$weburl; }else{ $playurlarray=Getplayurlarr($weburl,$match_purl,$trim_purl,$previewurl,$isref,$sourcelang); } //print_r($playurlarray); if($serveron==2 && $playfrom==''){ $geturl=''; foreach($playurlarray as $psv){ $geturltemp=''; foreach($psv as $ppsv){ $geturltemp=$geturltemp.$ppsv.'#'; } $geturltemp=rtrim($geturltemp,'#'); $geturl=$geturl.$geturltemp.'$$$'; } $geturl=rtrim($geturl,'$$$'); }else if($serveron==2 && $playfrom!=''){ $geturl=transferUrlatr($playfrom,$playurlarray); }else{ $geturl=transferUrlarr($server,$playurlarray); } if(!empty($plugin)){ include_once("./coplugins/$plugin.php"); $geturl = call_user_func($plugin,$geturl); } echo "标题:{$title}
"; echo "演员:{$actor}
"; echo "内容:{$content}
"; echo "图片:{$pic}
"; echo "连载状态:{$v_state}
"; echo "发布日期:{$v_publishyear}
"; echo "发布地区:{$v_publisharea}
"; echo "发布时间:{$v_pubdate}
"; echo "影片备注:{$v_pubdate}
"; echo "播放链接:{$geturl}
"; } ?>