Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. <?php
  2. /*
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.5.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 22.06.2018
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. include 'setting.php';
  15.  
  16. if (!function_exists('get')) {
  17. function get($url)
  18. {
  19. $data = curl_init();
  20. curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);
  21. curl_setopt($data, CURLOPT_URL, $url);
  22. curl_setopt($data, CURLOPT_USERAGENT, 'Mozilla/5.0 (Symbian/3; Series60/5.2 NokiaE7-00/012.002; Profile/MIDP-2.1 Configuration/CLDC-1.1) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.2.7.3 3gpp-gba');
  23. curl_setopt($data, CURLOPT_TIMEOUT, 15);
  24. $reivall = curl_exec($data);
  25. curl_close($data);
  26.  
  27. return $reivall;
  28. }
  29. }
  30.  
  31. if (!function_exists('cut')) {
  32. function cut($content, $start, $end)
  33. {
  34. if ($content && $start && $end) {
  35. $r = explode($start, $content);
  36.  
  37. if (isset($r[1])) {
  38. $r = explode($end, $r[1]);
  39.  
  40. return $r[0];
  41. }
  42.  
  43. return '';
  44. }
  45. }
  46. }
  47.  
  48. if (!function_exists('ytime')) {
  49. function ytime($youtube_time)
  50. {
  51. $start = new DateTime('@0');
  52. $start->add(new DateInterval($youtube_time));
  53.  
  54. if (8 < strlen($youtube_time)) {
  55. return $start->format('g:i:s');
  56. }
  57.  
  58. return $start->format('i:s');
  59. }
  60. }
  61.  
  62. $a = rand(1, count($yt_api));
  63. $key = $yt_api[$a];
  64. function ytindex($q, $cc, $perpage)
  65. {
  66. if (!$perpage) {
  67. $perpage = 20;
  68. }
  69.  
  70. if ($q) {
  71. $q = str_replace(' ', '+', $q);
  72. $u = get('https://m.youtube.com/results?search_query=' . $q . '+-channel+-playlist&hl=en&gl=' . $cc);
  73. .....................................................................
  74. .....................................
  75. .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement