Advertisement
Guest User

Untitled

a guest
Aug 12th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 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. ob_start();
  15. @session_start();
  16. @header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
  17. define('_TEXEC', 1);
  18. define('TPATH_BASE', dirname(__FILE__));
  19. define('DS', DIRECTORY_SEPARATOR);
  20. require_once TPATH_BASE . DS . 'assets' . DS . 'libraries' . DS . 'defines.php';
  21. require_once TPATH_BASE . DS . 'assets' . DS . 'libraries' . DS . 'configuration.php';
  22.  
  23. if (isset($currency) && $currency != '') {
  24. $_SESSION['sess_currency'] = $currency;
  25. } else {
  26. $sql1 = "SELECT * FROM `currency` WHERE `eDefault` = 'Yes' AND `eStatus` = 'Active' ";
  27. $db_currency_mst = $obj->MySQLSelect($sql1);
  28. $_SESSION['sess_currency'] = $db_currency_mst[0]['vName'];
  29. $_SESSION['sess_currency_smybol'] = $db_currency_mst[0]['vSymbol'];
  30. }
  31.  
  32. $lang = (isset($_REQUEST['lang']) ? $_REQUEST['lang'] : '');
  33.  
  34. if (isset($lang) && $lang != '') {
  35. $_SESSION['sess_lang'] = $lang;
  36. $sql1 = "select vTitle, vCode, vCurrencyCode, eDefault,eDirectionCode from language_master where vCode = '" . $_SESSION['sess_lang'] . "' limit 0,1";
  37. $db_lng_mst1 = $obj->MySQLSelect($sql1);
  38. $_SESSION['eDirectionCode'] = $db_lng_mst1[0]['eDirectionCode'];
  39. $posturi = $_SERVER['HTTP_REFERER'];
  40. header('Location:' . $posturi);
  41.  
  42. exit();
  43. }
  44.  
  45. if (!isset($_SESSION['sess_lang'])) {
  46. $sql = "select vTitle, vCode, vCurrencyCode, eDefault,eDirectionCode from language_master where eDefault='Yes' limit 0,1";
  47. $db_lng_mst = $obj->MySQLSelect($sql);
  48. $_SESSION['sess_lang'] = $db_lng_mst[0]['vCode'];
  49. $_SESSION['eDirectionCode'] = $db_lng_mst[0]['eDirectionCode'];
  50. }
  51.  
  52. $APP_TYPE = 'Delivery';
  53. define('APP_TYPE', $APP_TYPE);
  54. $REFERRAL_SCHEME_ENABLE = 'Yes';
  55. define('REFERRAL_SCHEME_ENABLE', $REFERRAL_SCHEME_ENABLE);
  56. $WALLET_ENABLE = 'Yes';
  57. define('WALLET_ENABLE', $WALLET_ENABLE);
  58. $parent_ufx_catid = '0';
  59. include_once 'common_inc.php';
  60.  
  61. if ($_SERVER['HTTP_HOST'] == 'usentdelivery.com' || $_SERVER['HTTP_HOST'] == 'www.usentdelivery.com' || $_SERVER['HTTP_HOST'] == 'beta.usentdelivery.com') {
  62. } else {
  63. exit();
  64. }
  65.  
  66. class Memory_Object_Cache
  67. {
  68. public $cache = array();
  69. public $cache_hits = 0;
  70. public $cache_misses = 0;
  71. public $global_groups = array();
  72. public $ride_prefix = null;
  73.  
  74. public function add($key_val_val, $data, $group = 'default', $kill_me = 0)
  75. {
  76. if (Memory_suspend_cache_addition()) {
  77. return false;
  78. }
  79.  
  80. if (empty($group)) {
  81. $group = 'default';
  82. }
  83.  
  84. $id = $key_val_val;
  85.  
  86. if ($this->multisite && !isset($this->global_groups[$group])) {
  87. $id = $this->ride_prefix . $key_val_val;
  88. }
  89.  
  90. if ($this->_exists($id, $group)) {
  91. .....................................................................
  92. .............................................
  93. ................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement