Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <meta http-equiv='refresh' content='1'>
- <!-- xml version="1.0" encoding="utf-8" -->
- <?php
- //set_time_limit(0);
- echo "<center><font color=red size=4><b>Please don't close this page!</b></font></center>";
- //Include acc
- include_once('config.php');
- include_once('segundos.php');
- include_once('functions.php');
- $cboxurl = $cbox_url."&sec=main";
- echo $cboxurl;
- $a = file_get_contents($cboxurl);
- $matches = explode('<tr id=', $a);
- for($i=2; $i<15; $i++) {
- $mess = $matches[$i];
- //Get ID User
- preg_match('%"(.*)">%U', $mess, $id);
- $id_user = $id[1];
- //Get User Name
- preg_match('%<b class="(.*)">(.*)</b>%U', $mess, $mem);
- $name = $mem[2];
- //Get Chat
- preg_match('%</b>:(.*)</td></tr>%U', $mess, $chat);
- $chat = $chat[1];
- preg_match('%<span style="(.*)"><b>(.*)</b></span></b>:%U', $mess, $mem) || preg_match('%<b class="(.*)">(.*)</b>%U', $mess, $mem) ;
- $name = $mem[2];
- $name = str_replace('Vip ', "", $name);
- $name = str_replace('<img src="http://imageshack.us/a/img819/7052/ariel03.jpg" border="0">', "", $name);
- $name = str_replace('<img src="http://img831.imageshack.us/img831/8503/ghostrider8miniatura.gif">', "", $name);
- $name = str_replace('<img src="http://2aek.com/inventory/emoticons2/108.gif" border="0">', "", $name);
- //Get Chat
- preg_match('%</b>:(.*)</td></tr>%U', $mess, $chat);
- $chat = $chat[1];
- //Replace Filtred users v.1
- $chat = str_replace("<span style=\"text-shadow: 0 0 0.5em #000000, 0 0 0.5em #000000, 0 0 0.5em #000000, 0 0 0.5em #000000, 0 0 0.5em #000000; color:#00FF00; background-image: url(http://i39.tinypic.com/2zqx5jd.jpg)\"><b>", "", $chat);
- $chat = str_replace("<SPAN STYLE=\"text-shadow: 0 0 0.5em blue, 0 0 0.5em blue, 0 0 0.5em blue, 0 0 0.5em blue, 0 0 0.5em blue; color:#00FF00; background-image: url(http://i39.tinypic.com/2zqx5jd.jpg)\"><b>", "", $chat);
- //Get Date
- preg_match('%<div class="(.*)">%U', $mess, $dc);
- preg_match('%<div class="'.$dc[1].'">(.*)</div>%U', $mess, $date);
- $date = $date[1];
- $user_file = "user/".$name.".txt";
- //Check BlackList
- if (Check_BlackList($blacklist, $name)==true || strcmp($name, $Bot_Name)==0); //Neu la Bot, Black list
- else { //Neu khong phai la Bot
- //Kiem tra post cua user co chua link down hay ko?
- $link = explode('<a href="', $chat);
- $link = explode('"', $link[1]);
- $link = $link[0];
- if ($link!='') { //Neu co chua' link down
- $link_data = str_replace('|',"_", $link);
- $link = str_replace('%7C','|', $link);
- if (Check_Support($bot_support, $link)==true) {
- if (file_exists($user_file)) {
- //Check link da duoc get chua
- $check = Check_Link($link_data, $user_file, $date);
- if ($check==true);
- else {
- // Check good_link
- if (count(explode($good_link, $chat))==1 && Check_Manager($manager, $name)==false && Check_Admin($adminlist, $name)==false || strcmp($min, $name)==0 || strcmp($mod, $name)==0) {
- if ($bot_start==true) post_cbox("@".$name." ".$check_mess);
- //Luu link xuong
- $log = fopen($user_file,"a",1);
- $data = $date.'-'.$link_data.'|';
- fwrite($log, $data);
- fclose($log);
- return;
- }
- if (Check_Post($user_file, $date)==true && Check_Manager($manager, $name)==false && Check_Admin($adminlist, $name)==false || strcmp($min, $name)==0 || strcmp($mod, $name)==0) { //Neu post chua du X phut
- $mess = '@'.$name.' ==>[center][color=green][b] Seu download é limitado por[/b][/color][color=red][b] '.$limit_link.' MIN[/b][/color] :pf [color=green][b] Your download is limited by [/b][/color][color=red][b] '.$limit_link.' MIN [/b][/color][/center] ';
- if ($bot_start==true) post_cbox($mess);
- //Luu link xuong
- $log = fopen($user_file,"a",1);
- $data = $date.'-'.$link_data.'|';
- fwrite($log, $data);
- fclose($log);
- return;
- } else {
- if ($bot_start==true) {
- if (count(explode('turbobit', $link))>1)
- $entry1 = Get_Link_Host($link, $turbo[0], $turbo[1]);
- elseif (count(explode('rapidshare', $link))>1)
- $entry1 = Get_Link_Host($link, $rs[0], $rs[1]);
- elseif (count(explode('hotfile', $link))>1)
- $entry1 = Get_Link_Host($link, $hf[0], $hf[1]);
- elseif (count(explode('oboom', $link))>1)
- $entry1 = Get_Link_Host($link, $boom[0], $boom[1]);
- elseif (count(explode('filefactory', $link))>1)
- $entry1 = Get_Link_Host($link, $ff[0], $ff[1]);
- elseif (count(explode('depositfiles', $link))>1)
- $entry1 = Get_Link_Host($link, $df[0], $df[1]);
- elseif (count(explode('netload', $link))>1)
- $entry1 = Get_Link_Host($link, $nl[0], $nl[1]);
- elseif (count(explode('rapidgator', $link))>1)
- $entry1 = Get_Link_Host($link, $rpg[0], $rpg[1]);
- elseif (count(explode('uploading', $link))>1)
- $entry1 = Get_Link_Host($link, $uld[0], $uld[1]);
- elseif (count(explode('uploaded', $link))>1)
- $entry1 = Get_Link_Host($link, $ult[0], $ult[1]);
- elseif (count(explode('megashares', $link))>1)
- $entry1 = Get_Link_Host($link, $mgs[0], $mgs[1]);
- elseif (count(explode('bitshare', $link))>1)
- $entry1 = Get_Link_Host($link, $bs[0], $bs[1]);
- elseif (count(explode('gigasize', $link))>1)
- $entry1 = Get_Link_Host($link, $ggs[0], $ggs[1]);
- elseif (count(explode('enterupload', $link))>1)
- $entry1 = Get_Link_Host($link, $eul[0], $eul[1]);
- elseif (count(explode('ryushare', $link))>1)
- $entry1 = Get_Link_Host($link, $ryu[0], $ryu[1]);
- elseif (count(explode('duckload', $link))>1)
- $entry1 = Get_Link_Host($link, $dkl[0], $dkl[1]);
- elseif (count(explode('mediafire', $link))>1)
- //$entry1 = Get_Link_Host($link, $mf[0], $mf[1]);
- $entry1 = Get_MF($link);
- elseif (count(explode('extabit', $link))>1)
- $entry1 = Get_Link_Host($link, $ex[0], $ex[1]);
- elseif (count(explode('filepost', $link))>1)
- $entry1 = Get_Link_Host($link, $fp[0], $fp[1]);
- elseif (count(explode('freakshare', $link))>1)
- $entry1 = Get_Link_Host($link, $frs[0], $frs[1]);
- elseif (count(explode('jumbofiles', $link))>1)
- $svq='jumbofiles';
- //$entry1 = Get_Link_Host($link, $jb[0], $jb[1]);
- $entry1 = Get_JUM($link);
- if (strcmp($entry1,"")!=0) {
- $mess='@'.$name.' [b][color=orange]==►[/color][/b] '.$entry1.' '.$svq;
- post_cbox($mess);
- }
- }
- //Luu link xuong
- $log = fopen($user_file, "a", 1);
- $data = $date.'-'.$link_data.'|';
- fwrite($log, $data);
- fclose($log);
- }
- }
- }
- else {
- {
- if (count(explode($good_link, $chat))==1 && Check_Manager($manager, $name)==false && Check_Admin($adminlist, $name)==false || strcmp($min, $name)==0 || strcmp($mod, $name)==0) {
- if ($bot_start==true) post_cbox("@".$name." ".$check_mess);
- //Luu link xuong
- $log = fopen($user_file,"a",1);
- $data = $date.'-'.$link_data.'|';
- fwrite($log, $data);
- fclose($log);
- return;
- }
- if ($bot_start==true) {
- if (count(explode('turbobit', $link))>1 )
- $entry1 = Get_Link_Host($link, $turbo[0], $turbo[1]);
- elseif (count(explode('rapidshare', $link))>1)
- $entry1 = Get_Link_Host($link, $rs[0], $rs[1]);
- elseif (count(explode('hotfile', $link))>1)
- $entry1 = Get_Link_Host($link, $hf[0], $hf[1]);
- elseif (count(explode('oboom', $link))>1)
- $entry1 = Get_Link_Host($link, $boom[0], $boom[1]);
- elseif (count(explode('filefactory', $link))>1)
- $entry1 = Get_Link_Host($link, $ff[0], $ff[1]);
- elseif (count(explode('depositfiles', $link))>1)
- $entry1 = Get_Link_Host($link, $df[0], $df[1]);
- elseif (count(explode('netload', $link))>1)
- $entry1 = Get_Link_Host($link, $nl[0], $nl[1]);
- elseif (count(explode('rapidgator', $link))>1)
- $entry1 = Get_Link_Host($link, $rpg[0], $rpg[1]);
- elseif (count(explode('uploading', $link))>1)
- $entry1 = Get_Link_Host($link, $uld[0], $uld[1]);
- elseif (count(explode('uploaded', $link))>1)
- $entry1 = Get_Link_Host($link, $ult[0], $ult[1]);
- elseif (count(explode('megashares', $link))>1)
- $entry1 = Get_Link_Host($link, $mgs[0], $mgs[1]);
- elseif (count(explode('bitshare', $link))>1)
- $entry1 = Get_Link_Host($link, $bs[0], $bs[1]);
- elseif (count(explode('gigasize', $link))>1)
- $entry1 = Get_Link_Host($link, $ggs[0], $ggs[1]);
- elseif (count(explode('enterupload', $link))>1)
- $entry1 = Get_Link_Host($link, $eul[0], $eul[1]);
- elseif (count(explode('ryushare', $link))>1)
- $entry1 = Get_Link_Host($link, $ryu[0], $ryu[1]);
- elseif (count(explode('duckload', $link))>1)
- $entry1 = Get_Link_Host($link, $dkl[0], $dkl[1]);
- elseif (count(explode('mediafire', $link))>1)
- //$entry1 = Get_Link_Host($link, $mf[0], $mf[1]);
- $entry1 = Get_MF($link);
- elseif (count(explode('extabit', $link))>1)
- $entry1 = Get_Link_Host($link, $ex[0], $ex[1]);
- elseif (count(explode('filepost', $link))>1)
- $entry1 = Get_Link_Host($link, $fp[0], $fp[1]);
- elseif (count(explode('freakshare', $link))>1)
- $entry1 = Get_Link_Host($link, $frs[0], $frs[1]);
- elseif (count(explode('jumbofiles', $link))>1)
- $svq='jumbofiles';
- //$entry1 = Get_Link_Host($link, $jb[0], $jb[1]);
- $entry1 = Get_JUM($link);
- if (strcmp($entry1,"")!=0) {
- $mess='@'.$name.' [b][color=orange]==►[/color][/b] '.$entry1.' '.$svq;
- post_cbox($mess);
- }
- }
- //Luu file + time
- $log = fopen($user_file,"w");
- $data = $date.'-'.$link_data.'|';
- fwrite($log, $data);
- fclose($log);
- }
- }
- }
- }
- else { //Chat chit ^^, commmand
- include_once('chat.php');
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement