Advertisement
Guest User

Untitled

a guest
Dec 10th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.80 KB | None | 0 0
  1. <? if (!CSite::InDir("/catalog/") && !CSite::InDir("/brands/") && $APPLICATION->GetCurPage() != "/index.php" && $APPLICATION->GetCurPage() != "/" && !CSite::InDir("/incident/")) : ?>
  2.                 <? $APPLICATION->AddBufferContent(function (){
  3.                     global $APPLICATION;
  4.                     if($APPLICATION->GetDirProperty('SHOW_LEFT_MENU', 'Y') == 'Y') :
  5.                         ob_start();
  6.                     ?>
  7.                 <div class="row page-container <?=$APPLICATION->GetProperty("pageContainerClass")?>">
  8.                     <div class="container_16">
  9.                         <?=$APPLICATION->GetViewContent('showLeftMenu');?>
  10.                         <? return ob_get_clean();
  11.                     endif;
  12.                     return '';
  13.                 });?>
  14.             <? endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement