Beispiel #1
0
if ($fn = mso_fe('main/blocks/main-start.php')) {
    require $fn;
}
?>

		<div class="content flex-order2 flex-order1-tablet w70 w100-tablet pad20">
			<?php 
if ($fn = mso_fe('main/blocks/content.php')) {
    require $fn;
}
?>
		</div>
		
		<div class="sidebar flex-order1 w30 w100-tablet pad20 flex-tablet-phone flex-wrap-tablet-phone">
			<?php 
mso_show_sidebar('1');
?>
		</div>

		<?php 
if ($fn = mso_fe('main/blocks/main-end.php')) {
    require $fn;
}
?>

	</div>

	<?php 
if ($fn = mso_fe('main/blocks/footer-pre.php')) {
    require $fn;
}
Beispiel #2
0
             } elseif (isset($UNIT['html']) and trim($UNIT['html'])) {
                 echo trim($UNIT['html']);
             } elseif (isset($UNIT['require']) and trim($UNIT['require'])) {
                 if ($fn = mso_fe(trim($UNIT['require']))) {
                     require $fn;
                 }
             } elseif (isset($UNIT['ushka']) and trim($UNIT['ushka']) and function_exists('ushka')) {
                 echo ushka(trim($UNIT['ushka']));
             } elseif (isset($UNIT['component']) and trim($UNIT['component'])) {
                 if ($_fn = mso_fe('components/' . trim($UNIT['component']) . '/' . trim($UNIT['component']) . '.php')) {
                     require $_fn;
                 }
             } elseif (isset($UNIT['option_key'], $UNIT['option_type'], $UNIT['option_default']) and trim($UNIT['option_key']) and trim($UNIT['option_type']) and trim($UNIT['option_default'])) {
                 echo mso_get_option(trim($UNIT['option_key']), trim($UNIT['option_type']), trim($UNIT['option_default']));
             } elseif (isset($UNIT['sidebar']) and trim($UNIT['sidebar'])) {
                 mso_show_sidebar($UNIT['sidebar']);
             }
         }
     }
 } else {
     // блоки рубрик на главной
     if (mso_get_option('home_cat_block', 'templates', '0')) {
         // обычный вывод
         if (mso_get_option('home_full_text', 'templates', '1')) {
             if ($fn = mso_find_ts_file('type/home/units/home-cat-block-full.php')) {
                 require $fn;
             }
         } else {
             if ($fn = mso_find_ts_file('type/home/units/home-cat-block-list.php')) {
                 require $fn;
             }
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
echo '<div class="footer-3-sidebars"><div class="wrap">';
echo NR . '<div class="footer-sidebar1 w33 left"><div class="wrap">';
mso_show_sidebar('3');
echo '</div></div>' . NR;
echo NR . '<div class="footer-sidebar2 w33 left"><div class="wrap">';
mso_show_sidebar('4');
echo '</div></div>' . NR;
echo NR . '<div class="footer-sidebar3 w33 left"><div class="wrap">';
mso_show_sidebar('5');
echo '</div></div>' . NR;
echo '<div class="clearfix"></div></div></div><!-- /div.footer-3-sidebars -->';
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
echo '<div class="footer-5-sidebars"><div class="wrap">';
echo NR . '<div class="footer-sidebar1 w20 left"><div class="wrap">';
mso_show_sidebar('3');
echo '</div></div>' . NR;
echo NR . '<div class="footer-sidebar2 w20 left"><div class="wrap">';
mso_show_sidebar('4');
echo '</div></div>' . NR;
echo NR . '<div class="footer-sidebar3 w20 left"><div class="wrap">';
mso_show_sidebar('5');
echo '</div></div>' . NR;
echo NR . '<div class="footer-sidebar4 w20 left"><div class="wrap">';
mso_show_sidebar('6');
echo '</div></div>' . NR;
echo NR . '<div class="footer-sidebar5 w20 left"><div class="wrap">';
mso_show_sidebar('7');
echo '</div></div>' . NR;
echo '<div class="clearfix"></div></div></div><!-- /div.footer-5-sidebars -->';
<?php

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}
echo '<div class="footer-4-sidebars"><div class="wrap">';
echo NR . '<div class="footer-sidebar1 w25 left"><div class="wrap">';
mso_show_sidebar('3');
echo '</div></div>' . NR;
echo NR . '<div class="footer-sidebar2 w25 left"><div class="wrap">';
mso_show_sidebar('4');
echo '</div></div>' . NR;
echo NR . '<div class="footer-sidebar3 w25 left"><div class="wrap">';
mso_show_sidebar('5');
echo '</div></div>' . NR;
echo NR . '<div class="footer-sidebar4 w25 left"><div class="wrap">';
mso_show_sidebar('6');
echo '</div></div>' . NR;
echo '<div class="clearfix"></div></div></div><!-- /div.footer-4-sidebars -->';