Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.5.0.0
- * @ Author : DeZender
- * @ Release on : 22.06.2018
- * @ Official site : http://DeZender.Net
- *
- */
- ob_start();
- @session_start();
- @header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
- define('_TEXEC', 1);
- define('TPATH_BASE', dirname(__FILE__));
- define('DS', DIRECTORY_SEPARATOR);
- require_once TPATH_BASE . DS . 'assets' . DS . 'libraries' . DS . 'defines.php';
- require_once TPATH_BASE . DS . 'assets' . DS . 'libraries' . DS . 'configuration.php';
- if (isset($currency) && $currency != '') {
- $_SESSION['sess_currency'] = $currency;
- } else {
- $sql1 = "SELECT * FROM `currency` WHERE `eDefault` = 'Yes' AND `eStatus` = 'Active' ";
- $db_currency_mst = $obj->MySQLSelect($sql1);
- $_SESSION['sess_currency'] = $db_currency_mst[0]['vName'];
- $_SESSION['sess_currency_smybol'] = $db_currency_mst[0]['vSymbol'];
- }
- $lang = (isset($_REQUEST['lang']) ? $_REQUEST['lang'] : '');
- if (isset($lang) && $lang != '') {
- $_SESSION['sess_lang'] = $lang;
- $sql1 = "select vTitle, vCode, vCurrencyCode, eDefault,eDirectionCode from language_master where vCode = '" . $_SESSION['sess_lang'] . "' limit 0,1";
- $db_lng_mst1 = $obj->MySQLSelect($sql1);
- $_SESSION['eDirectionCode'] = $db_lng_mst1[0]['eDirectionCode'];
- $posturi = $_SERVER['HTTP_REFERER'];
- header('Location:' . $posturi);
- exit();
- }
- if (!isset($_SESSION['sess_lang'])) {
- $sql = "select vTitle, vCode, vCurrencyCode, eDefault,eDirectionCode from language_master where eDefault='Yes' limit 0,1";
- $db_lng_mst = $obj->MySQLSelect($sql);
- $_SESSION['sess_lang'] = $db_lng_mst[0]['vCode'];
- $_SESSION['eDirectionCode'] = $db_lng_mst[0]['eDirectionCode'];
- }
- $APP_TYPE = 'Delivery';
- define('APP_TYPE', $APP_TYPE);
- $REFERRAL_SCHEME_ENABLE = 'Yes';
- define('REFERRAL_SCHEME_ENABLE', $REFERRAL_SCHEME_ENABLE);
- $WALLET_ENABLE = 'Yes';
- define('WALLET_ENABLE', $WALLET_ENABLE);
- $parent_ufx_catid = '0';
- include_once 'common_inc.php';
- if ($_SERVER['HTTP_HOST'] == 'usentdelivery.com' || $_SERVER['HTTP_HOST'] == 'www.usentdelivery.com' || $_SERVER['HTTP_HOST'] == 'beta.usentdelivery.com') {
- } else {
- exit();
- }
- class Memory_Object_Cache
- {
- public $cache = array();
- public $cache_hits = 0;
- public $cache_misses = 0;
- public $global_groups = array();
- public $ride_prefix = null;
- public function add($key_val_val, $data, $group = 'default', $kill_me = 0)
- {
- if (Memory_suspend_cache_addition()) {
- return false;
- }
- if (empty($group)) {
- $group = 'default';
- }
- $id = $key_val_val;
- if ($this->multisite && !isset($this->global_groups[$group])) {
- $id = $this->ride_prefix . $key_val_val;
- }
- if ($this->_exists($id, $group)) {
- .....................................................................
- .............................................
- ................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement