Advertisement
Guest User

Untitled

a guest
Feb 20th, 2021
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 29.08.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. if (substr_count($_SERVER['PHP_SELF'], basename($_SERVER['REQUEST_URI']))) {
  15. exit();
  16. }
  17.  
  18. if (!isset($_GET['data'])) {
  19. exit();
  20. }
  21. else if (empty($_GET['data'])) {
  22. exit();
  23. }
  24.  
  25. if (file_exists('../config.php')) {
  26. require_once '../config.php';
  27. }
  28. else {
  29. exit('Not Found: ../config.php');
  30. }
  31.  
  32. if (file_exists(__DIR__ . '/modules/head_hook.php')) {
  33. require_once __DIR__ . '/modules/head_hook.php';
  34. }
  35.  
  36. if (file_exists(__DIR__ . '/functions/sql_injection_check.php')) {
  37. require_once __DIR__ . '/functions/sql_injection_check.php';
  38. }
  39. else {
  40. exit('Not Found: /functions/sql_injection_check.php');
  41. }
  42.  
  43. $includes = ['classes', 'functions', 'modules'];
  44. $classes = ['database'];
  45. $functions = ['new_functions', 'main_functions', 'other_functions', 'broken_link_detect', 'check_status', 'video_parser', 'load_m3u8', 'load_embed', 'load_source', 'source_parsers', 'adult_source_parsers'];
  46. $modules = ['header'];
  47.  
  48. if (file_exists(__DIR__ . '/modules/load_hook.php')) {
  49. require_once __DIR__ . '/modules/load_hook.php';
  50. }
  51.  
  52. if (count($includes)) {
  53. foreach ($includes as $inc) {
  54. if (count($$inc)) {
  55. foreach ($$inc as $filename) {
  56. if (file_exists(__DIR__ . ('/' . $inc . '/' . $filename . '.php'))) {
  57. require_once __DIR__ . ('/' . $inc . '/' . $filename . '.php');
  58. }
  59. else if (!in_array($filename, ['adult_source_parsers', 'new_functions'])) {
  60. exit('Not Found: /' . $inc . '/' . $filename . '.php');
  61. }
  62. }
  63. }
  64. }
  65. }
  66.  
  67. $webCache = new webCache(DB_CACHE_TIME_01, DB_CACHE_PATH, 'playerSettings');
  68. $settingsCache = $webCache->cache_read();
  69.  
  70. if (!empty($settingsCache)) {
  71. $playerSettings = json_decode($settingsCache, true);
  72. }
  73. else {
  74. $db_settingsCheck = DB::getVar('SELECT COUNT(*) FROM settings;');
  75.  
  76. if (0 < $db_settingsCheck) {
  77. $db_settingsInfo = DB::getRow('SELECT * FROM settings WHERE id = 1;');
  78. $playerSettings = json_decode($db_settingsInfo->strSettings, true);
  79.  
  80. if (isset($playerSettings['dbCache'])) {
  81. $webCache->cache_save($db_settingsInfo->strSettings);
  82. .........................................................................
  83. ...........................................
  84. ....................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement