scriptz-team

DEiONCUBE

Dec 28th, 2011
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 26.58 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. *    
  5. *      _____ _____ _ _____ _____         _____ _____ _____ _____
  6. *  ___|     | __  |_|  _  |_   _|___ ___|_   _|   __|  _  |     |
  7. * |_ -|   --|    -| |   __| | | |- _|___| | | |   __|     | | | |
  8. * |___|_____|__|__|_|__|    |_| |___|     |_| |_____|__|__|_|_|_|
  9. * |s C R i P T z - T E A M . i N F O|
  10. *
  11. * This file was created by sCRiPTz-TEAM.iNFO [DEiONCUBE TEAM]
  12. * @ IonCube & Zend & NuSphere DeCoder
  13. *
  14. * @    Version             :    1.0.0.3
  15. * @    Author              :    sCRiPTz-TEAM.iNFO
  16. * @    Released            :    26-December-2011
  17. * @    Official site       :    http://sCRiPTz-TEAM.iNFO
  18. *
  19. */
  20.  
  21. if ( get_class( $this ) != "PHPKD_VBLVB" || !defined( "PHPKD_VBLVB" ) )
  22. {
  23.     echo "Prohibited Access!";
  24.     exit( );
  25. }
  26. foreach ( $initparams as $key => $value )
  27. {
  28.     if ( !$value )
  29.     {
  30.         continue;
  31.     }
  32.     switch ( $key )
  33.     {
  34.     case "vbphrase" :
  35.         $this->vbphrase = $value;
  36.         break;
  37.     case "hooks" :
  38.         $this->hooks = array(
  39.             "admin_options_print" => TRUE,
  40.             "admin_options_processing" => TRUE,
  41.             "editpost_update_process" => TRUE,
  42.             "newpost_process" => TRUE
  43.         );
  44.         break;
  45.     case "hosts" :
  46.         $rawhosts = array(
  47.             "HOSTS1_2SHARED_COM" => array( "bitfield" => 1, "active" => 1, "status" => "alive", "urlmatch" => "2shared\\.com\\/file\\/[0-9]+/[0-9a-z]+", "contentmatch" => "javascript:startDownload" ),
  48.             "HOSTS1_4SHARED_COM" => array( "bitfield" => 2, "active" => 1, "status" => "alive", "urlmatch" => "4shared\\.com\\/(file|video|audio|photo|document|get)(\\/[0-9]+)?\\/[0-9a-z]+", "contentmatch" => "(fileNameTextSpan|downloadDelayTimeSec)" ),
  49.             "HOSTS1_9Q9Q_NET" => array( "bitfield" => 4, "active" => 1, "status" => "alive", "urlmatch" => "9q9q\\.net\\/Download\\/[0-9]+", "contentmatch" => "ReportAbuse" ),
  50.             "HOSTS1_ADRIVE_COM" => array( "bitfield" => 8, "active" => 1, "status" => "alive", "urlmatch" => "adrive\\.com\\/public\\/[0-9a-z]+", "contentmatch" => "(download\\.adrive\\.com\\/public\\/view\\/|Public File Busy)" ),
  51.             "HOSTS1_ARABSH_COM" => array( "bitfield" => 16, "active" => 1, "status" => "alive", "urlmatch" => "arabsh\\.com\\/[0-9a-z]+", "contentmatch" => "(file_slot|download1info)" ),
  52.             "HOSTS1_AXIFILE_COM" => array( "bitfield" => 32, "active" => 1, "status" => "alive", "urlmatch" => "axifile\\.com\\/\\?[0-9]+", "contentmatch" => "mydownload\\.php\\?", "urlsearch" => "@com\\?@i", "urlreplace" => "com/?" ),
  53.             "HOSTS1_BADONGO_COM" => array( "bitfield" => 64, "active" => 1, "status" => "alive", "urlmatch" => "badongo\\.com\\/([a-z]{2}\\/)?(file|vid)\\/[0-9]+", "contentmatch" => "(fileBoxMenu|fileBoxDLink)", "urlsearch" => "@com\\/([a-z]{2}\\/)?(file|vid)\\/@i", "urlreplace" => "com/en/\\2/" ),
  54.             "HOSTS1_BITROAD_NET" => array( "bitfield" => 128, "active" => 1, "status" => "alive", "urlmatch" => "bitroad\\.net\\/download\\/[0-9a-z]+\\/", "contentmatch" => "download3\\.php" ),
  55.             "HOSTS1_BOX_NET" => array( "bitfield" => 256, "active" => 1, "status" => "alive", "urlmatch" => "box\\.net\\/shared\\/[0-9a-z]+", "contentmatch" => "box_download_shared_file" ),
  56.             "HOSTS1_COCOSHARE_CC" => array( "bitfield" => 512, "active" => 1, "status" => "dead", "urlmatch" => "cocoshare\\.cc\\/[0-9]+\\/" ),
  57.             "HOSTS1_CRAZYUPLOAD_COM" => array( "bitfield" => 1024, "active" => 1, "status" => "alive", "urlmatch" => "crazyupload\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  58.             "HOSTS1_DEPOSITFILES_COM" => array( "bitfield" => 2048, "active" => 1, "status" => "alive", "urlmatch" => "depositfiles\\.com\\/([a-z]{2}\\/)?files\\/[0-9a-z]+", "contentmatch" => "gateway_result|show_gold_offer", "urlsearch" => "@com\\/([a-z]{2}\\/)?files\\/@i", "urlreplace" => "com/en/files/" ),
  59.             "HOSTS1_DIVSHARE_COM" => array( "bitfield" => 4096, "active" => 1, "status" => "alive", "urlmatch" => "divshare\\.com\\/download\\/?[0-9-]+", "contentmatch" => "file_name" ),
  60.             "HOSTS1_DIVXDEN_COM" => array( "bitfield" => 8192, "active" => 1, "status" => "alive", "urlmatch" => "divxden\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  61.             "HOSTS1_DUALSHARE_COM" => array( "bitfield" => 16384, "active" => 1, "status" => "dead", "urlmatch" => "dualshare\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  62.             "HOSTS1_DUCKLOAD_COM" => array( "bitfield" => 32768, "active" => 1, "status" => "alive", "urlmatch" => "duckload\\.com\\/download\\/[0-9]+", "contentmatch" => "index\\.php\\?Modul=download" ),
  63.             "HOSTS1_EARTHFILEZ_COM" => array( "bitfield" => 65536, "active" => 1, "status" => "alive", "urlmatch" => "earthfilez\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  64.             "HOSTS1_EASY_SHARE_COM" => array( "bitfield" => 131072, "active" => 1, "status" => "alive", "urlmatch" => "easy-share\\.com\\/[0-9]+", "contentmatch" => "wcontent" ),
  65.             "HOSTS1_EGOSHARE_COM" => array( "bitfield" => 262144, "active" => 1, "status" => "alive", "urlmatch" => "egoshare\\.com\\/download.php\\?id=[0-9a-z]+", "contentmatch" => "download\\.php" ),
  66.             "HOSTS1_ENTERUPLOAD_COM" => array( "bitfield" => 524288, "active" => 1, "status" => "alive", "urlmatch" => "enterupload\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  67.             "HOSTS1_EVILSHARE_COM" => array( "bitfield" => 1048576, "active" => 1, "status" => "alive", "urlmatch" => "evilshare\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  68.             "HOSTS1_FILE2BOX_COM" => array( "bitfield" => 2097152, "active" => 1, "status" => "alive", "urlmatch" => "file2box\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  69.             "HOSTS1_FILEBASE_TO" => array( "bitfield" => 4194304, "active" => 1, "status" => "alive", "urlmatch" => "filebase\\.to\\/files\\/[0-9]+", "contentmatch" => "(dl_free|dl_premium)" ),
  70.             "HOSTS1_FILEBOX_COM" => array( "bitfield" => 8388608, "active" => 1, "status" => "dead", "urlmatch" => "filebox\\.com\\/[0-9a-z]+", "contentmatch" => "splash_filedInfo" ),
  71.             "HOSTS1_FILEDIP_COM" => array( "bitfield" => 16777216, "active" => 1, "status" => "dead", "urlmatch" => "filedip\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  72.             "HOSTS1_FILEDROPPER_COM" => array( "bitfield" => 33554432, "active" => 1, "status" => "alive", "urlmatch" => "filedropper\\.com\\/[0-9a-z_-]+", "contentmatch" => "\\/processing\\/filedownload\\.php\\?id=" ),
  73.             "HOSTS1_FILEFACTORY_COM" => array( "bitfield" => 67108864, "active" => 1, "status" => "alive", "urlmatch" => "filefactory\\.com\\/file\\/[0-9a-z]+", "contentmatch" => "metadata" ),
  74.             "HOSTS1_FILEFLYER_COM" => array( "bitfield" => 134217728, "active" => 1, "status" => "alive", "urlmatch" => "fileflyer\\.com\\/view\\/[0-9a-z]+", "contentmatch" => "(td_filename|td_filesize)" ),
  75.             "HOSTS1_FILEFRONT_COM" => array( "bitfield" => 268435456, "active" => 1, "status" => "alive", "urlmatch" => "filefront\\.com\\/[0-9]+", "contentmatch" => "fileinfotable" ),
  76.             "HOSTS1_FILEMOJO_COM" => array( "bitfield" => 536870912, "active" => 1, "status" => "dead", "urlmatch" => "filemojo\\.com\\/downloads\\/[0-9a-z_-]+", "contentmatch" => "spnDownload" ),
  77.             "HOSTS2_FILERAMA_COM" => array( "bitfield" => 1, "active" => 1, "status" => "dead", "urlmatch" => "filerama\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  78.             "HOSTS2_FILESERVER_CC" => array( "bitfield" => 2, "active" => 1, "status" => "alive", "urlmatch" => "fileserver\\.cc\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  79.             "HOSTS2_FILESOVERMILES_COM" => array( "bitfield" => 4, "active" => 1, "status" => "alive", "urlmatch" => "filesovermiles\\.com\\/[0-9a-z]+", "contentmatch" => "fileinfo" ),
  80.             "HOSTS2_FILESPLASH_COM" => array( "bitfield" => 8, "active" => 1, "status" => "alive", "urlmatch" => "filesplash\\.com\\/[0-9a-z]+", "contentmatch" => "file_slot" ),
  81.             "HOSTS2_FILES_TO" => array( "bitfield" => 16, "active" => 1, "status" => "alive", "urlmatch" => "files\\.to\\/get\\/[0-9]+\\/[0-9a-z]+", "contentmatch" => "downloadname" ),
  82.             "HOSTS2_FLYUPLOAD_COM" => array( "bitfield" => 32, "active" => 1, "status" => "dead", "urlmatch" => "flyupload\\.com\\/get\\?fid=[0-9]+" ),
  83.             "HOSTS2_GIGASIZE_COM" => array( "bitfield" => 64, "active" => 1, "status" => "alive", "urlmatch" => "gigasize\\.com\\/get\\.php\\?d=[0-9a-z]+", "contentmatch" => "dldcontent" ),
  84.             "HOSTS2_HOSTUJE_NET" => array( "bitfield" => 128, "active" => 1, "status" => "alive", "urlmatch" => "hostuje\\.net\\/file\\.php\\?id=[0-9a-z]+", "contentmatch" => "obraz\\.php" ),
  85.             "HOSTS2_HOTFILE_COM" => array( "bitfield" => 256, "active" => 1, "status" => "alive", "urlmatch" => "hotfile\\.com\\/dl\\/[0-9]+\\/[0-9a-z]+", "contentmatch" => "downloading" ),
  86.             "HOSTS2_HULKSHARE_COM" => array( "bitfield" => 512, "active" => 1, "status" => "alive", "urlmatch" => "hulkshare\\.com\\/[0-9a-z]+", "contentmatch" => "file_slot" ),
  87.             "HOSTS2_IFILE_IT" => array( "bitfield" => 1024, "active" => 0, "status" => "dead", "urlmatch" => "ifile\\.it\\/[0-9a-z]+", "contentmatch" => "req_btn" ),
  88.             "HOSTS2_IFOLDER_RU" => array( "bitfield" => 2048, "active" => 1, "status" => "alive", "urlmatch" => "ifolder\\.ru\\/[0-9]+", "contentmatch" => "confirmed_number" ),
  89.             "HOSTS2_JUMBOFILES_COM" => array( "bitfield" => 4096, "active" => 1, "status" => "alive", "urlmatch" => "jumbofiles\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  90.             "HOSTS2_LETITBIT_NET" => array( "bitfield" => 8192, "active" => 1, "status" => "alive", "urlmatch" => "letitbit\\.net\\/download\\/[0-9]+\\.[0-9a-z]+\\/[0-9a-z_-]+", "contentmatch" => "download4\\.php" ),
  91.             "HOSTS2_LOAD_TO" => array( "bitfield" => 16384, "active" => 1, "status" => "alive", "urlmatch" => "load\\.to\\/[0-9a-z]+", "contentmatch" => "download_table" ),
  92.             "HOSTS2_LOOMBO_COM" => array( "bitfield" => 32768, "active" => 1, "status" => "alive", "urlmatch" => "loombo\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  93.             "HOSTS2_M5ZN_COM" => array( "bitfield" => 65536, "active" => 1, "status" => "alive", "urlmatch" => "m5zn\\.com\\/files-[0-9a-z]+", "contentmatch" => "download_code" ),
  94.             "HOSTS2_MEDIAFIRE_COM" => array( "bitfield" => 131072, "active" => 1, "status" => "alive", "urlmatch" => "mediafire\\.com\\/(download\\.php)?\\?[0-9a-z]+", "contentmatch" => "download_file_title", "urlsearch" => "@download\\.php@i", "urlreplace" => "" ),
  95.             "HOSTS2_MEGASHARE_COM" => array( "bitfield" => 262144, "active" => 0, "status" => "dead", "urlmatch" => "megashare\\.com\\/[0-9]+", "contentmatch" => "(PremDz|FreePremDz|FreeDz)" ),
  96.             "HOSTS2_MEGAUPLOAD_COM" => array( "bitfield" => 524288, "active" => 1, "status" => "alive", "urlmatch" => "megaupload\\.com\\/\\?d=[0-9a-z]+(&setlang=[a-z]{2}\\/)?", "contentmatch" => "(javascript:checkcaptcha|All download slots assigned to your country)", "urlsearch" => "@&setlang=[a-z]{2}@i", "urlreplace" => "&setlang=en", "downmatch" => "temporary access restriction is in place" ),
  97.             "HOSTS2_MIDUPLOAD_COM" => array( "bitfield" => 1048576, "active" => 0, "status" => "dead", "urlmatch" => "midupload\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  98.             "HOSTS2_MLFAT4ARAB_COM" => array( "bitfield" => 2097152, "active" => 1, "status" => "alive", "urlmatch" => "mlfat4arab\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  99.             "HOSTS2_MOIDISK_RU" => array( "bitfield" => 4194304, "active" => 1, "status" => "alive", "urlmatch" => "moidisk\\.ru\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  100.             "HOSTS2_MOMUPLOAD_COM" => array( "bitfield" => 8388608, "active" => 1, "status" => "dead", "urlmatch" => "momupload\\.com\\/files\\/" ),
  101.             "HOSTS2_MY2SHARE_COM" => array( "bitfield" => 16777216, "active" => 1, "status" => "alive", "urlmatch" => "my2share\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  102.             "HOSTS2_NETLOAD_IN" => array( "bitfield" => 33554432, "active" => 1, "status" => "alive", "urlmatch" => "netload\\.in\\/datei[0-9a-z]+", "contentmatch" => "dl_first_file_download", "urlsearch" => "@&lang=[a-zA-Z]{2}@i", "urlreplace" => "&lang=en" ),
  103.             "HOSTS2_ONLINE_SHARING_NET" => array( "bitfield" => 67108864, "active" => 1, "status" => "dead", "urlmatch" => "online-sharing\\.net\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  104.             "HOSTS2_PRODDL_COM" => array( "bitfield" => 134217728, "active" => 1, "status" => "alive", "urlmatch" => "proddl\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  105.             "HOSTS2_PRZEKLEJ_PL" => array( "bitfield" => 268435456, "active" => 1, "status" => "alive", "urlmatch" => "przeklej\\.pl\\/plik\\/[0-9a-z_-]+", "contentmatch" => "download-file" ),
  106.             "HOSTS2_PRZESLIJ_NET" => array( "bitfield" => 536870912, "active" => 1, "status" => "alive", "urlmatch" => "przeslij\\.net\\/download\\.php\\?file=[0-9a-z_-]+", "contentmatch" => "countdown" ),
  107.             "HOSTS3_QUICKUPLOAD_NET" => array( "bitfield" => 1, "active" => 1, "status" => "alive", "urlmatch" => "quickupload\\.net\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  108.             "HOSTS3_RAPIDSHARE_COM" => array( "bitfield" => 2, "active" => 1, "status" => "alive", "urlmatch" => "rapidshare\\.com\\/files\\/[0-9]+\\/[0-9a-z_-]+", "contentmatch" => "downloadlink" ),
  109.             "HOSTS3_RAPIDSHARE_DE" => array( "bitfield" => 4, "active" => 1, "status" => "dead", "urlmatch" => "rapidshare\\.de\\/files\\/[0-9]+\\/[0-9a-z_-]+", "contentmatch" => "dl\\.start" ),
  110.             "HOSTS3_RNBLOAD_COM" => array( "bitfield" => 8, "active" => 1, "status" => "alive", "urlmatch" => "rnbload\\.com\\/file\\/[0-9]+", "contentmatch" => "downloadfile" ),
  111.             "HOSTS3_SAVEFILE_COM" => array( "bitfield" => 16, "active" => 1, "status" => "dead", "urlmatch" => "savefile\\.com\\/files\\/" ),
  112.             "HOSTS3_SENDSPACE_COM" => array( "bitfield" => 32, "active" => 1, "status" => "alive", "urlmatch" => "sendspace\\.com\\/file\\/[0-9a-z]+", "contentmatch" => "REGULAR DOWNLOAD" ),
  113.             "HOSTS3_SENDUIT_COM" => array( "bitfield" => 64, "active" => 1, "status" => "alive", "urlmatch" => "senduit\\.com\\/[0-9a-z]+", "contentmatch" => "\\/file\\/" ),
  114.             "HOSTS3_SPEEDYSHARE_COM" => array( "bitfield" => 128, "active" => 1, "status" => "alive", "urlmatch" => "speedyshare\\.com\\/files\\/[0-9]+\\/[0-9a-z_-]+", "contentmatch" => "\\/download\\/" ),
  115.             "HOSTS3_STORAGE_TO" => array( "bitfield" => 256, "active" => 1, "status" => "alive", "urlmatch" => "storage\\.to\\/get\\/[0-9a-z]+", "contentmatch" => "download_container", "urlsearch" => "@\\?language=[a-zA-Z]{2}@i", "urlreplace" => "?language=en" ),
  116.             "HOSTS3_SUPERFASTFILE_COM" => array( "bitfield" => 512, "active" => 1, "status" => "alive", "urlmatch" => "superfastfile\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  117.             "HOSTS3_TERADEPOT_COM" => array( "bitfield" => 1024, "active" => 1, "status" => "alive", "urlmatch" => "teradepot\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  118.             "HOSTS3_TRANSFERBIGFILES_COM" => array( "bitfield" => 2048, "active" => 1, "status" => "alive", "urlmatch" => "transferbigfiles\\.com\\/[0-9a-z-]+\\?", "contentmatch" => "downFileList" ),
  119.             "HOSTS3_TURBOUPLOAD_COM" => array( "bitfield" => 4096, "active" => 1, "status" => "alive", "urlmatch" => "turboupload\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  120.             "HOSTS3_UPFORDOWN_COM" => array( "bitfield" => 8192, "active" => 1, "status" => "alive", "urlmatch" => "upfordown\\.com\\/public\\/pdownload\\/[0-9]+\\/[0-9a-z_-]+", "contentmatch" => "divDLStart" ),
  121.             "HOSTS3_UPLOADED_TO" => array( "bitfield" => 16384, "active" => 1, "status" => "alive", "urlmatch" => "(uploaded\\.to|ul\\.to)\\/(\\?id=|file\\/)?[0-9a-z]+", "contentmatch" => "(download_form|inputActive)" ),
  122.             "HOSTS3_UPLOADING_COM" => array( "bitfield" => 32768, "active" => 1, "status" => "alive", "urlmatch" => "uploading\\.com\\/files\\/[0-9a-z]+", "contentmatch" => "downloadform", "downmatch" => "Service Not Available" ),
  123.             "HOSTS3_UPLOADPALACE_COM" => array( "bitfield" => 65536, "active" => 1, "status" => "dead", "urlmatch" => "uploadpalace\\.com\\/[a-zA-Z]{2}\\/file\\/[0-9]+\\/" ),
  124.             "HOSTS3_USAUPLOAD_NET" => array( "bitfield" => 131072, "active" => 1, "status" => "dead", "urlmatch" => "usaupload\\.net\\/d\\/" ),
  125.             "HOSTS3_USERSHARE_NET" => array( "bitfield" => 262144, "active" => 1, "status" => "alive", "urlmatch" => "usershare\\.net\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  126.             "HOSTS3_USEUPLOAD_COM" => array( "bitfield" => 524288, "active" => 1, "status" => "alive", "urlmatch" => "useupload\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  127.             "HOSTS3_VIP_FILE_COM" => array( "bitfield" => 1048576, "active" => 1, "status" => "alive", "urlmatch" => "vip-file\\.com\\/download\\/[0-9]+\\.[0-9a-z]+\\/[0-9a-z_-]+", "contentmatch" => "(getfreelink|sms\\/check\\.php)" ),
  128.             "HOSTS3_X7_TO" => array( "bitfield" => 2097152, "active" => 1, "status" => "alive", "urlmatch" => "x7\\.to\\/[0-9a-z]+", "contentmatch" => "requestTicket" ),
  129.             "HOSTS3_XINONY_COM" => array( "bitfield" => 4194304, "active" => 1, "status" => "alive", "urlmatch" => "xinony\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  130.             "HOSTS3_YOUSENDIT_COM" => array( "bitfield" => 8388608, "active" => 1, "status" => "alive", "urlmatch" => "yousendit\\.com\\/((download\\/|transfer\\.php\\?action=batch_download&batch_id=)[0-9a-z]+|transfer\\.php\\?action=batch_download&send_id=[0-9]+&email=[0-9a-z]+)", "contentmatch" => "download-button" ),
  131.             "HOSTS3_ZIDDU_COM" => array( "bitfield" => 16777216, "active" => 1, "status" => "alive", "urlmatch" => "ziddu\\.com\\/download\\/[0-9]+", "contentmatch" => "downloads\\.ziddu\\.com\\/downloadfile" ),
  132.             "HOSTS3_ZIPPYSHARE_COM" => array( "bitfield" => 33554432, "active" => 1, "status" => "alive", "urlmatch" => "zippyshare\\.com\\/(v\\/[0-9]+\\/file.html|view.jsp\\?locale=[a-zA-Z]{2}&key=[0-9]+)", "contentmatch" => "wait", "urlsearch" => "@view.jsp\\?locale=[a-zA-Z]{2}@i", "urlreplace" => "view.jsp?locale=en" ),
  133.             "HOSTS3_ZOMGUPLOAD_COM" => array( "bitfield" => 67108864, "active" => 1, "status" => "alive", "urlmatch" => "zomgupload\\.com\\/[0-9a-z]+", "contentmatch" => "(download1|download2)" ),
  134.             "HOSTS3_ZSHARE_NET" => array( "bitfield" => 134217728, "active" => 1, "status" => "alive", "urlmatch" => "zshare\\.net\\/(download|audio|video)\\/[0-9a-z]+", "contentmatch" => "download\\.gif" )
  135.         );
  136.         foreach ( $rawhosts as $key => $value )
  137.         {
  138.             if ( !$value['active'] )
  139.             {
  140.                 continue;
  141.             }
  142.             $switch = substr( $key, 0, 6 );
  143.             switch ( $switch )
  144.             {
  145.             case "HOSTS1" :
  146.                 if ( $this->registry->options['phpkd_vblvb_hosts'] & $value['bitfield'] )
  147.                 {
  148.                     $this->hosts[] = array(
  149.                         "urlmatch" => $value['urlmatch'],
  150.                         "active" => $value['active'],
  151.                         "status" => $value['status'],
  152.                         "contentmatch" => $value['contentmatch'],
  153.                         "urlsearch" => $value['urlsearch'],
  154.                         "urlreplace" => $value['urlreplace']
  155.                     );
  156.                 }
  157.                 break;
  158.             case "HOSTS2" :
  159.                 if ( $this->registry->options['phpkd_vblvb_hosts2'] & $value['bitfield'] )
  160.                 {
  161.                     $this->hosts[] = array(
  162.                         "urlmatch" => $value['urlmatch'],
  163.                         "active" => $value['active'],
  164.                         "status" => $value['status'],
  165.                         "contentmatch" => $value['contentmatch'],
  166.                         "urlsearch" => $value['urlsearch'],
  167.                         "urlreplace" => $value['urlreplace']
  168.                     );
  169.                 }
  170.                 break;
  171.             case "HOSTS3" :
  172.                 if ( $this->registry->options['phpkd_vblvb_hosts3'] & $value['bitfield'] )
  173.                 {
  174.                     break;
  175.                 }
  176.                 $this->hosts[] = array(
  177.                     "urlmatch" => $value['urlmatch'],
  178.                     "active" => $value['active'],
  179.                     "status" => $value['status'],
  180.                     "contentmatch" => $value['contentmatch'],
  181.                     "urlsearch" => $value['urlsearch'],
  182.                     "urlreplace" => $value['urlreplace']
  183.                 );
  184.             }
  185.         }
  186.         break;
  187.     case "masks" :
  188.         $rawmasks = array(
  189.             "anonym.to" => array( "bitfield" => 1, "urlmatch" => "#^(http)\\:\\/\\/(www\\.)?anonym\\.to\\/\\?#i" ),
  190.             "lix.in" => array( "bitfield" => 2, "urlmatch" => "#^(http)\\:\\/\\/(www\\.)?lix\\.in\\/#i" ),
  191.             "linkbucks.com" => array( "bitfield" => 4, "urlmatch" => "#^(http)\\:\\/\\/(www\\.)?linkbucks\\.com\\/link\\/#i" ),
  192.             "rapidshare.com" => array( "bitfield" => 8, "urlmatch" => "#rapidshare\\.com\\/users\\/#i" )
  193.         );
  194.         foreach ( $rawmasks as $key => $value )
  195.         {
  196.             if ( $this->registry->options['phpkd_vblvb_masks'] & $value['bitfield'] )
  197.             {
  198.                 $this->masks[$key] = $value['urlmatch'];
  199.             }
  200.         }
  201.         break;
  202.     case "staff_reports" :
  203.         $rawrprts = array(
  204.             "RPRTS_PM" => array( "bitfield" => 1 ),
  205.             "RPRTS_EMAIL" => array( "bitfield" => 2 ),
  206.             "RPRTS_THREAD" => array( "bitfield" => 4 ),
  207.             "RPRTS_REPLY" => array( "bitfield" => 8 )
  208.         );
  209.         foreach ( $rawrprts as $key => $value )
  210.         {
  211.             if ( $this->registry->options['phpkd_vblvb_rprts'] & $value['bitfield'] )
  212.             {
  213.                 $this->staff_reports[$key] = $value['bitfield'];
  214.             }
  215.         }
  216.         break;
  217.     case "user_reports" :
  218.         $rawrprtu = array(
  219.             "RPRTU_PM" => array( "bitfield" => 1 ),
  220.             "RPRTU_EMAIL" => array( "bitfield" => 2 )
  221.         );
  222.         foreach ( $rawrprtu as $key => $value )
  223.         {
  224.             if ( $this->registry->options['phpkd_vblvb_rprtu'] & $value['bitfield'] )
  225.             {
  226.                 $this->user_reports[$key] = $value['bitfield'];
  227.             }
  228.         }
  229.         break;
  230.         switch ( $key )
  231.         {
  232.         case "punishments" :
  233.             $rawpunishments = array(
  234.                 "PUNISH_MODERATE" => array( "bitfield" => 1 ),
  235.                 "PUNISH_CLOSE" => array( "bitfield" => 2 ),
  236.                 "PUNISH_MOVE" => array( "bitfield" => 4 )
  237.             );
  238.             foreach ( $rawpunishments as $key => $value )
  239.             {
  240.                 if ( $this->registry->options['phpkd_vblvb_punish'] & $value['bitfield'] )
  241.                 {
  242.                     $this->punishments[] = $key;
  243.                 }
  244.             }
  245.             break;
  246.         case "protocols" :
  247.             $rawprotocols = array(
  248.                 "HTTP" => array( "bitfield" => 1 ),
  249.                 "HTTPS" => array( "bitfield" => 2 ),
  250.                 "FTP" => array( "bitfield" => 4 )
  251.             );
  252.             foreach ( $rawprotocols as $key => $value )
  253.             {
  254.                 if ( $this->registry->options['phpkd_vblvb_protocols'] & $value['bitfield'] )
  255.                 {
  256.                     $this->protocols[] = $key;
  257.                 }
  258.             }
  259.             break;
  260.         case "threadmodes" :
  261.             $rawthreadmodes = array(
  262.                 "OPENED" => array( "bitfield" => 1 ),
  263.                 "CLOSED" => array( "bitfield" => 2 ),
  264.                 "MODERATED" => array( "bitfield" => 4 ),
  265.                 "STICKY" => array( "bitfield" => 8 ),
  266.                 "DELETED" => array( "bitfield" => 16 ),
  267.                 "REDIRECTED" => array( "bitfield" => 16 )
  268.             );
  269.             foreach ( $rawthreadmodes as $key => $value )
  270.             {
  271.                 if ( $this->registry->options['phpkd_vblvb_threadmodes'] & $value['bitfield'] )
  272.                 {
  273.                     $this->threadmodes[] = $key;
  274.                 }
  275.             }
  276.             break;
  277.         case "postmodes" :
  278.             $rawpostmodes = array(
  279.                 "OPENED" => array( "bitfield" => 1 ),
  280.                 "MODERATED" => array( "bitfield" => 2 ),
  281.                 "DELETED" => array( "bitfield" => 4 )
  282.             );
  283.             foreach ( $rawpostmodes as $key => $value )
  284.             {
  285.                 if ( $this->registry->options['phpkd_vblvb_postmodes'] & $value['bitfield'] )
  286.                 {
  287.                     $this->postmodes[] = $key;
  288.                 }
  289.             }
  290.             break;
  291.         case "bbcodes" :
  292.         }
  293.         $rawbbcodes = array(
  294.             "BASIC" => array( "bitfield" => 1, "open" => "\\[b|\\[i|\\[u", "close" => "\\[/b|\\[/i|\\[/u" ),
  295.             "COLOR" => array( "bitfield" => 2, "open" => "\\[color|\\[highlight", "close" => "\\[/color|\\[/highlight" ),
  296.             "SIZE" => array( "bitfield" => 4, "open" => "\\[size", "close" => "\\[/size" ),
  297.             "FONT" => array( "bitfield" => 8, "open" => "\\[font", "close" => "\\[/font" ),
  298.             "ALIGN" => array( "bitfield" => 16, "open" => "\\[left|\\[center|\\[right|\\[indent|\\[align", "close" => "\\[/left|\\[/center|\\[/right|\\[/indent|\\[/align" ),
  299.             "LIST" => array( "bitfield" => 32, "open" => "\\[\\*" ),
  300.             "LINK" => array( "bitfield" => 64 ),
  301.             "CODE" => array( "bitfield" => 128, "open" => "\\[code", "close" => "\\[/code" ),
  302.             "PHP" => array( "bitfield" => 256, "open" => "\\[php", "close" => "\\[/php" ),
  303.             "HTML" => array( "bitfield" => 512, "open" => "\\[html", "close" => "\\[/html" ),
  304.             "QUOTE" => array( "bitfield" => 1024, "open" => "\\[quote", "close" => "\\[/quote" ),
  305.             "HIDE" => array( "bitfield" => 2048, "open" => "\\[hide", "close" => "\\[/hide" ),
  306.             "CHARGE" => array( "bitfield" => 4096, "open" => "\\[charge", "close" => "\\[/charge" )
  307.         );
  308.         foreach ( $rawbbcodes as $key => $value )
  309.         {
  310.             if ( $this->registry->options['phpkd_vblvb_bbcodes'] & $value['bitfield'] )
  311.             {
  312.                 $this->bbcodes[$key] = array(
  313.                     "open" => $value['open'],
  314.                     "close" => $value['close']
  315.                 );
  316.             }
  317.         }
  318.         break;
  319.         break;
  320.     }
  321. }
  322. ?>
Add Comment
Please, Sign In to add comment