Heim  >  Artikel  >  Backend-Entwicklung  >  英雄联盟资料库

英雄联盟资料库

WBOY
WBOYOriginal
2016-07-25 09:01:412183Durchsuche
一个游戏资料库,查看英雄技能等等的,其实是小偷程序,目的是简化web页面,方便手机查看,英雄资料来自多玩英雄联盟资料库 效果看http://vwap.com.nu 源码说明在我的小站http://wapxz.tk/v/download.php?id=1030
  1. header("Content-Type: text/html; charset=utf-8");date_default_timezone_set("Asia/Shanghai");
  2. function li($p)
  3. {
  4. $l=file_get_contents("http://lol.duowan.com/s/heroes.html");
  5. preg_match_all('!
  6. (.*).*(.*).*!suU',$l,$list);
  7. $ay=ceil(count($list[1])/30);
  8. if($p==NULL){$p=1;}
  9. if($p$ay){die('error');}
  10. $sta=30*($p-1);
  11. $end=30*$p;
  12. for($p2=$sta;$p2{$ys=$p2%3;$m=$list[1][$p2];
  13. if($ys==2){$hh="
    ";}else{$hh="| ";}
  14. if($m!=NULL)
  15. {$l2=$l2."".$list[3][$p2]."".$hh;
  16. }
  17. }
  18. $l2=$l2."
    ";
  19. for($dy=1;$dy{if($dy!=$p)
  20. {$l2=$l2." ".$dy." ";}
  21. else
  22. {$l2=$l2." ".$dy." ";}
  23. }
  24. $time=date("Y.m.d H:i");
  25. $l2="英雄联盟—资料库|WAP在线
    英雄联盟—资料库
    ".$l2." [ ".$p." / ".$ay."]
为易首页.留言反馈 .相关说明
Time: ".$time."
Powered by Vst93
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn