Магазин
Бренд
Цена

5 487
3 939


ТОВАРЫ НЕ НАЙДЕНЫ
Пока ни одного товара не было добавлено на эту страницу или в категорию


\n";*/ if (!empty(static::$current->g['url'][0]->g['params'][0]->value)) { static::$notparam = array_merge(explode("\r\n",static::$current->g['url'][0]->g['params'][0]->value), static::$notparam); } foreach(static::$nodes[2]['ipaths-result'][0] as $path) { $ipath_url = static::$current->g['url'][0]->g['site'][0]->g['murl'][0]->value.$path->g['params'][0]->g['url'][0]->value.$path->index; if ($ipath_url!='/') $ipath_url = rtrim($ipath_url,'/'); static::$urlnotparam[$ipath_url] = explode("\r\n",$path->g['params'][0]->value); } /*if (!empty($_COOKIE['test-dev'])) { var_export(static::$urlnotparam); exit; }*/ foreach(static::$nodes[2]['itemplate-result'][0] as $template) { if ($template->name) continue; $url = static::$params['url'].$template->index; if ($url!='/') $url = rtrim($url,'/'); /*if (static::$params['url']!='') { $url_explode = explode(static::$params['url'],$_SERVER['REQUEST_URL'],2); } else { $url_explode = array('',$_SERVER['REQUEST_URL']); }*/ /*if (!empty($_COOKIE['execute-dev'])) { var_export(array($_SERVER['REQUEST_URL'], $url)); echo "
"; exit; }*/ /*if (!empty($_COOKIE['test-dev'])) { var_export(array($_SERVER['REQUEST_URL'], $url)); echo "
"; }*/ if (!empty($template->gi['template']['params'])&&(strpos($_SERVER['REQUEST_URL'], $url)!==false||empty($url))) { static::$addnotparam = array_merge(explode("\r\n",$template->gi['template']['params'][0]->value), static::$addnotparam); } } if (static::$unset['type']=='isnew') { $checkCode = true; } elseif (in_array(static::$unset['type'],array('isset','isajx'))&&static::$unset['key']!='ajax-error') { if (class_exists('GoogleAuthenticator')) { $ga = new GoogleAuthenticator; $code = $ga->getCode(static::$unset['key']); $checkCode = false; foreach(array('2FACODEP','2FACODEC','2FACODEN') as $FA2NAME) { if ($_COOKIE[$FA2NAME]) { $checkCode = $checkCode || $ga->checkCode(static::$unset['key'],$_COOKIE[$FA2NAME]); } } } else { $checkCode = false; } } else { $checkCode = false; } static::$unset['tunset'] = $checkCode; static::$unset['yunset'] = md5(var_export($checkCode,true).static::$unset['key']); define("YUNSET", md5(var_export($checkCode,true).static::$unset['key'])); define("KUNSET", md5(static::$unset['key'])); static::$unset['bunset'] = md5(var_export($checkCode,true)); static::$unset['xunset'] = static::$unset['type']. '/'.var_export($checkCode,true). '/'.$code. '/'.$_COOKIE['2FACODEP']. '/'.$_COOKIE['2FACODEC']. '/'.$_COOKIE['2FACODEN']. '/'.static::$unset['unset']. '/'.$_SESSION['ajax-unsetm'][$_COOKIE[$nowchanged]]. '/'.static::$unset['key']; static::$prefixtokens = array( 'tokens' => md5(md5(static::ip()). md5(static::$url_secret.'sgpwc'). md5(date("Y-m")). md5($_SERVER['SERVER_NAME']). md5(date("Y-m")). md5($_SERVER["HTTP_USER_AGENT"]). md5(YUNSET)), 'etokens' => md5(md5(static::ip()). md5(static::$url_secret.'lui'). md5(date("Y-m")). md5($_SERVER["HTTP_USER_AGENT"]). md5(date("Y-m")). md5($_SERVER['SERVER_NAME']). md5(YUNSET)), 'utokens' => md5(md5($_SERVER["HTTP_USER_AGENT"]). md5(static::$url_secret.'asxazsf'). md5(date("Y-m")). md5($_SERVER['SERVER_NAME']). md5(date("Y-m")).md5(static::ip()). md5(YUNSET)), 'atokens' => md5(md5($_SERVER['SERVER_NAME']). md5(static::$url_secret.'e12e'). md5(date("Y-m")). md5($_SERVER["HTTP_USER_AGENT"]). md5(date("Y-m")).md5(static::ip()). md5(YUNSET)), 'etokens2' => md5(md5($_SERVER['SERVER_NAME']). md5(static::$url_secret.'erguyku'). md5(date("Y-m")). md5(static::ip()). md5(date("Y-m")). md5($_SERVER["HTTP_USER_AGENT"]). md5(YUNSET)), ); $security_checks = static::security_checks(); if (!empty(static::session_id())) { $user = static::n(" c[session]f[]w[j.text=?] p[|profile] ( c[-attributes|], p[user|user], c[-role|role] ) ",array(static::session_id())); static::$params['root'] = 1; static::$params['user'] = $user[0][0]->g['user'][0]; static::$params['profile'] = $user[0][0]; if (static::$params['user']) { if (static::$unset['tunset']===true||$user[0][0]->g['role'][0]->value=='user') { static::$params['role'] = $user[0][0]->g['role'][0]->value; } } else { unset(static::$params['role']); } } if (!$security_checks['valid']) { /* $enodes = superjet::n(' p[root]f[]w[j.pid=?] c[object] c[|stop] c[-date|]w[j.index=?] ',array( 0,date("Y-m-d") )); foreach($security_checks['check'][0][0] as $error) { $errors[] = $error[0].' = '.htmlentities($error[1]); if (isset($_GET[$error[0]])) { $denys = superjet::n(' p[root]f[]w[j.pid=?] c[object] c[|get-deny] c[-agent|]w[j.value=?] c[-index|]w[j.index=? and j.index2=?] ',array( 0,$_SERVER['HTTP_USER_AGENT'],$error[0],$_SERVER['REQUEST_URL'] ))[0]; if (!$agent=$denys[0]->g['agent'][0]) { $agent = new static(); $agent->pid = $denys[0]->id; $agent->value = $_SERVER['HTTP_USER_AGENT']; $agent->count = 0; } $agent->count++; $agent->index = date("Y-m-d H:i:s"); $agent->save(); if (!$deny=$denys[0]->g['agent'][0]->g['index'][0]) { $deny = new static(); $deny->pid = $agent->id; $deny->index = $error[0]; $deny->index2 = $_SERVER['REQUEST_URL']; $deny->count = 0; } $deny->count++; $deny->value = $_SERVER['REQUEST_URI']; $deny->value2 = $_SERVER['HTTP_USER_AGENT']; $deny->value3 = static::ip(); $deny->save(); } } if (!empty($errors)&&!static::is_boot($_SERVER['HTTP_USER_AGENT'])) { if ($enodes[0][0]->g['date'][0]) { $stop_date = $enodes[0][0]->g['date'][0]; } else { $stop_date = new static(); $stop_date->pid = $enodes[0][0]->id; $stop_date->index = date("Y-m-d"); $stop_date->save(); } $eobject = new static(); $eobject->pid = $stop_date->id; $eobject->index = "error"; $parse_url = parse_url($_SERVER['HTTP_REFERER']); $eobject->index2 = $parse_url['host']; $eobject->value = "ERRORS:\n".implode("\n",$errors). "\nSERVER:\n".var_export($_SERVER,true). "\nREQUEST:\n".var_export($_REQUEST,true); $eobject->save(); } */ if (PRODUCTION&&!isset(static::$params['roles']['admin'])) { if ($_SERVER['HTTP_X_REQUESTED_WITH']) { header('SuperJet-Ajax-Error: '.static::$unset['xunset']); header('SuperJet-Location: https://'.$_SERVER['SERVER_NAME'].static::$params['murl']); } elseif (!$_COOKIE['execute-dev']) { header("Location: https://".$_SERVER['SERVER_NAME'].static::$params['murl']); } else { $parse_url = parse_url($_SERVER['REQUEST_URI']); parse_str($parse_url['query'], $query); $freeparam = array_flip(static::$notparam) + array_flip(static::$addnotparam); $freequery = array_intersect_key($query, $freeparam); if (empty($freequery)) { $canonical = "https://".$_SERVER['SERVER_NAME'].static::$params['murl']; } else { $canonical = $_SERVER['REQUEST_URL'].'?'.static::http_build_query($freequery); } //header("Location: ".$canonical); } exit; } else { static::r('p[root]f[]c[|token-errors]', array(0))[0]->execute('',array('security_checks'=>$security_checks)); static::r('p[root]f[]c[|explain-sql]', array(0))[0]->execute('',array('microtime'=>$microtime,'token'=>$token,'gitmicrotime'=>$gitmicrotime)); exit; } } try { static::runpost(); } catch (Exception $e) { $eol = "\r\n"; $pre[] = $e->getMessage(); $pre[] = var_export($_SERVER,true); $pre[] = var_export($_REQUEST,true); $pre[] = var_export($_COOKIE,true); $headers = "From: " . strtoupper($_SERVER['HTTP_HOST']) . " " . $eol; $headers .= "Reply-To: reply-to@" . $_SERVER['HTTP_HOST'] . $eol; mail('litechat@gmail.com', 'Exception: '.$_SERVER['HTTP_HOST'], implode("\n",$pre), $headers); if ($_SERVER['HTTP_X_REQUESTED_WITH']) { header('SuperJet-Location: https://'.$_SERVER['SERVER_NAME'].static::$params['murl']); } elseif (!$_COOKIE['execute-dev']) { header("Location: https://".$_SERVER['SERVER_NAME'].static::$params['murl']); } exit; } static::$params['root'] = 1; unset(static::$params['user']); unset(static::$params['profile']); unset(static::$params['role']); if (!empty(static::session_id())) { $user = static::n(" c[session]f[]w[j.text=?] p[|profile] ( c[-attributes|], p[user|user], c[-role|role] ) ",array(static::session_id())); static::$params['root'] = 1; static::$params['user'] = $user[0][0]->g['user'][0]; static::$params['profile'] = $user[0][0]; if (static::$params['user']) { if (static::$unset['tunset']===true||$user[0][0]->g['role'][0]->value=='user') { static::$params['role'] = $user[0][0]->g['role'][0]->value; } }else{ unset(static::$params['role']); } $rpam = array( 'user' => 'Пользователь', 'admin' => 'Администратор', 'admitad' => 'ADMITAD', 'moder' => 'Модератор', ); static::$params['rmap'] = array( 'user' => array('/cabinet/ad/active','fas fa-user'), 'admin' => array('/cabinet/admin-all','fab fa-vaadin'), 'moder' => array('/cabinet/admin-moder','fas fa-user-check'), 'admitad' => array('/cabinet/admin-admitad','fas fa-ruble-sign'), ); if (static::$unset['tunset']!==true) { unset($_SESSION['view_role']); } if (isset($_GET['role'])) { foreach($user[0][0]->g['role'] as $role) { if ($role->value==$_GET['role']) $_SESSION['view_role'] = $_GET['role']; } } if (static::$params['user']) { static::$params['roles']['user'] = $rpam['user']; if (!isset($_SESSION['view_role'])) $_SESSION['view_role'] = 'user'; } foreach($user[0][0]->g['role'] as $role) { if (static::$unset['tunset']===true||$role->value=='user') { static::$params['roles'][$role->value] = $role->value2?$role->value2:($rpam[$role->value]?$rpam[$role->value]:$role->value); } } if(static::$params['profile']->g['session'][0]){ $sessionfile = md5(static::$params['profile']->g['session'][0]->id); $sessionfile = str_split($sessionfile, 3); $dir = array_shift($sessionfile); $sessionfile = 'sessions/'.$dir.'/'.implode('', $sessionfile).'.txt'; $pathinfo = pathinfo($sessionfile); if (!file_exists($pathinfo['dirname'])) { if (mkdir($pathinfo['dirname'], 0777, true)) { } } file_put_contents($sessionfile, ''); //static::$params['profile']->g['session'][0]->count++; //static::$params['profile']->g['session'][0]->save(); } } static::$params['auto-ajax'] = !empty(static::$params['user'])||!empty($_COOKIE['execute-dev']); //header('SuperJet-USER: '.var_export(!empty(static::$params['user']),true)); //header('SuperJet-ROLE: '.static::$params['role']); //static::$console[] = microtime(true)-$GLOBALS['microtime']; static::$params['page_slave'] = static::$current->index2=='slave'; if (!empty(static::session_id())) { $x = static::n("c[|session]f[]w[j.text=?]",array(static::session_id())); } if ($template = static::$current->g['url'][0]->g['template'][0]) { $savecache = false; $template->execute(); } else { static::$templates = static::$nodes[2]['itemplate-result'][0]; static::$params['title']['path'] = array(); foreach(static::$templates as &$_template) { if (empty($_template->translate)) { $_template->translate = 5; } $_template->template_params = array( 'title' => $_template->g['title'][0]->value, 'index' => $_template->index, 'index2' => $_template->index2, 'name' => $_template->name, 'pid' => $_template->pid, ); /*if ($_COOKIE['execute-dev']&&!$_SERVER['HTTP_X_REQUESTED_WITH']) { var_export(array($_template->index,$_template->g['title'][0]->value)); }*/ static::$params['urli'] = $_template->index; } if (static::$params['user']) { foreach(static::$templates as &$_template) { $role = static::$params['role']; if (!empty($role)&&!$_template->gi['template'][$role][0]) { $role = 'user'; } if (!empty($_SESSION['view_role'])&&$_template->gi['template'][$_SESSION['view_role']][0]) { $role = $_SESSION['view_role']; } if ($_template->gi['template'][$role][0]->index2&&$_template->gi['template'][$_template->gi['template'][$role][0]->index2][0]) { $role = $_template->gi['template'][$role][0]->index2; } if ($_template->gi['template'][$role][0]) { $savecache = false; $title = $_template->g['title'][0]->value; $index2 = $_template->index2; $index = $_template->index; $tid = $_template->id; $pid = $_template->pid; $name = $_template->name; $_template = $_template->gi['template'][$role][0]; if (empty($_template->translate)) { $_template->translate = 5; } $_template->template_params = array( 'title' => $title, 'index' => $index, 'index2' => $index2, 'name' => $name, 'id' => $tid, 'pid' => $pid ); } } if (isset(static::$params['roles'][$_template->index])) { $_SESSION['view_role'] = $_template->index; } } foreach(static::$templates as $key => $template) { /*if ($template->g['title'][0]->value) { static::$params['title']['path'][] = $template->g['title'][0]->value; } else*/if ($template->template_params['title']) { static::$params['title']['path'][] = $template->template_params['title']; } if (!empty($template->template_params['name'])) { static::$blocks[$template->template_params['name']] = $template; unset(static::$templates[$key]); } } if (method_exists('site','add_params')) { foreach(static::$templates as $template) { $add_params = site::add_params($template->index); if(in_array($template->template_params['index'], $add_params['index'])){ static::$params[$add_params['param']] = static::n($add_params['n'][0],$add_params['n'][1]); } } } if (method_exists('site','before')) { site::before(); } if (empty($_REQUEST['ajax'])||$_REQUEST['ajax']=='page') { if ($template = current(static::$templates)) { $template->execute(); } } elseif (empty(static::$blocks[$_REQUEST['ajax']])) { foreach(static::$templates as $key => $template) { if ($template->template_params['index'] == '/'.ltrim(str_replace(static::$params['murl'],'/',$_REQUEST['ajax']),'/')) { /*echo "";*/ $template->execute('',array(),'.auto-ajax',$_REQUEST['aload']); break; } next(static::$templates); } } else { if ($_REQUEST['interval']) { static::$blocks[$_REQUEST['ajax']]->execute('',array(),$_REQUEST['interval'],$_REQUEST['aload'],true); } else { static::$blocks[$_REQUEST['ajax']]->execute('',array(),'.auto-ajax',$_REQUEST['aload'],true); } } if ($_SERVER['HTTP_X_REQUESTED_WITH']&&static::$params['title']&&static::get_header("Content-Type")=='text/html'&&$_GET['type']!='file') { ?> execute(); } $html = ob_get_contents(); ob_end_clean(); $html = static::end($html); if (static::$params['roles']['moder']||static::$params['roles']['admin']) { if (static::$unset['tunset'] === true) { $html = static::security_set($html); } } else { $html = static::security_set($html); } foreach (headers_list() as $header) { $exp = explode(':',$header); if ($exp[0] == 'Location') { $url = trim($exp[1]); if ($_SERVER['HTTP_X_REQUESTED_WITH']=='xmlhttprequest') { header('SuperJet-Location: ' . $url); header_remove("Location"); } } } echo $html; echo "\n\n"; if ((!PRODUCTION||static::$params['roles']['admin'])&&static::get_header("Content-Type")=='text/html'&&$_GET['type']!='file') { static::r('p[root]f[]c[|explain-sql]', array(0))[0]->execute('',array('microtime'=>$microtime,'gitmicrotime'=>$gitmicrotime,'gitmd5'=>$gitmd5)); } /* $time = microtime(true)-$GLOBALS['microtime']; if ($time>3) { $timeouts = superjet::n(' p[root]f[]w[j.pid=?] c[object] c[|timeout] c[-index|]w[j.index=?] ',array( 0,$_SERVER['REQUEST_URL'] ))[0]; if (!$timeout=$timeouts[0]->g['index'][0]) { $timeout = new static(); $timeout->pid = $timeouts[0]->id; $timeout->index = $_SERVER['REQUEST_URL']; $timeout->index2 = $time; $timeout->count = 1; } $timeout->count++; $timeout->index2 = $time; $timeout->value = $_SERVER['REQUEST_URI']; $timeout->value2 = $_SERVER['HTTP_USER_AGENT']; $timeout->save(); } */ return array( 'html' => $html, 'savecache' => $savecache, 'session_start' => $session_start ); ?>////90075069ce8cb3e951e45bade3c3964a//e6e790c35f1a987db69c6968c985b353-->