uawdijnntqw1x1x1
IP : 18.117.90.244
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
b24.axolotl.ru
/
.
/
public_html
/
bitrix
/
modules
/
landing
/
admin
/
view.php
/
/
<?php if ( isset($_GET['template']) && preg_match('/^[a-z0-9_]+$/i', $_GET['template']) ) { define('SITE_TEMPLATE_ID', $_GET['template']); } else { define('SITE_TEMPLATE_ID', 'landing24'); } if ( isset($_GET['site']) && preg_match('/^[a-z0-9_]+$/i', $_GET['site']) ) { define('SITE_ID', $_GET['site']); } define('B24CONNECTOR_SKIP', true); require($_SERVER['DOCUMENT_ROOT'] . '/bitrix/header.php'); use \Bitrix\Main\Application; use \Bitrix\Main\Localization\Loc; use \Bitrix\Landing\Landing; /** @var \CMain $APPLICATION */ /** @var array $arResult */ /** @var array $arParams */ \Bitrix\Main\Loader::includeModule('landing'); // vars $request = Application::getInstance()->getContext()->getRequest(); $application = \Bitrix\Landing\Manager::getApplication(); $designBlockId = $request->get('design_block'); $site = $request->get('site'); $template = $request->get('template'); $landingId = $request->get('id'); define('SMN_SITE_ID', $site); // check rights if ($application->getGroupRight('landing') < 'W') { $application->authForm(Loc::getMessage('ACCESS_DENIED')); } // redirect from frame if ($request->get('IFRAME') == 'N') { $context = \Bitrix\Main\Application::getInstance()->getContext(); $request = $context->getRequest(); $redirect = new \Bitrix\Main\Web\Uri($request->getRequestUri()); $redirect->deleteParams(array( 'IFRAME' )); ?> <script type="text/javascript"> window.top.location.href = "<?= \CUtil::JSEscape($redirect->getUri());?>"; </script> <? include $_SERVER['DOCUMENT_ROOT'] . '/bitrix/components/bitrix/landing.start/templates/.default/slider_header.php'; \CMain::finalActions(); die(); } // get info about site $res = Landing::getList(array( 'select' => array( 'ID', 'SITE_ID', 'SITE_TYPE' => 'SITE.TYPE' ), 'filter' => array( 'ID' => $landingId, 'CHECK_PERMISSIONS' => 'N' ) )); if ($landing = $res->fetch()) { // paths $mainPage = 'landing_site.php?lang=' . LANGUAGE_ID . '&site=' . $site; $mainPageLogo = 'landing_site.php?lang=' . LANGUAGE_ID . '&logo&site=' . $site; $landingsPage = 'landing_site.php?lang=' . LANGUAGE_ID . '&siteId=#site_show#' . ($site ? '&site=' . $site : ''); $editPage = $landingsPage . '&cmp=landing_edit&id=#landing_edit#'; $designPage = $landingsPage . '&cmp=landing_edit&id=#landing_edit#&componentTemplate=design'; $designPage .= ($template ? '&template=' . $template : ''); $editSite = $landingsPage . '&cmp=site_edit'; $editSite .= ($template ? '&template=' . $template : ''); $designSite = $landingsPage . '&cmp=site_edit&componentTemplate=design'; $designSite .= ($template ? '&template=' . $template : ''); $settings = $landingsPage . '&cmp=landing_settings&siteId=#site_show#&id=#landing_edit#'; $viewPage ='landing_view.php?lang=' . LANGUAGE_ID . '&id=#landing_edit#'. ($site ? '&site=' . $site : ''); $viewPage .= ($template ? '&template=' . $template : ''); $replace = array( '#site_show#' => $landing['SITE_ID'], '#landing_edit#' => $landing['ID'] ); if ($designBlockId) { $APPLICATION->includeComponent( 'bitrix:landing.landing_designblock', '.default', array( 'TYPE' => 'SMN', 'SITE_ID' => $landing['SITE_ID'], 'LANDING_ID' => $landingId, 'BLOCK_ID' => $designBlockId ), false ); } else { $APPLICATION->IncludeComponent( 'bitrix:landing.landing_view', '.default', array( 'TYPE' => 'SMN', 'SITE_ID' => $landing['SITE_ID'], 'LANDING_ID' => $landingId, 'PAGE_URL_LANDINGS' => str_replace(array_keys($replace), $replace, $landingsPage), 'PAGE_URL_LANDING_EDIT' => str_replace(array_keys($replace), $replace, $editPage), 'PAGE_URL_SITE_EDIT' => str_replace(array_keys($replace), $replace, $editSite), 'PAGE_URL_LANDING_DESIGN' => str_replace(array_keys($replace), $replace, $designPage), 'PAGE_URL_LANDING_SETTINGS' => str_replace(array_keys($replace), $replace, $settings), 'PAGE_URL_URL_SITES' => $mainPageLogo, 'PARAMS' => array( 'sef_url' => array( 'landing_settings' => $settings, 'landing_edit' => $editPage, 'landing_view' => $viewPage, 'landing_design' => $designPage, 'site_show' => $landingsPage, 'site_edit' => str_replace('#site_show#', '#site_edit#', $editSite), 'site_design' => str_replace('#site_show#', '#site_edit#', $designSite), ) ) ), false ); } } require($_SERVER['DOCUMENT_ROOT'] . '/bitrix/footer.php');
/var/www/axolotl/data/www/b24.axolotl.ru/./public_html/bitrix/modules/landing/admin/view.php