if (file_exists(getinfo('template_dir') . 'custom/footer_components.php')) { require getinfo('template_dir') . 'custom/footer_components.php'; } else { if ($fn = get_component_fn('default_footer_component1', 'footer-copyright.php')) { require $fn; } if ($fn = get_component_fn('default_footer_component2', 'footer-statistic.php')) { require $fn; } if ($fn = get_component_fn('default_footer_component3')) { require $fn; } if ($fn = get_component_fn('default_footer_component4')) { require $fn; } if ($fn = get_component_fn('default_footer_component5')) { require $fn; } } if (function_exists('ushka')) { echo ushka('footer-end'); } if (file_exists(getinfo('template_dir') . 'custom/footer-end.php')) { require getinfo('template_dir') . 'custom/footer-end.php'; } ?> </div><!-- div class="footer-wrap" --> </div><!-- div class="footer" --> </div><!-- div class="all-wrap" --> </div><!-- div class="all" -->
if ($fn = mso_fe('custom/footer_components.php')) { require $fn; } else { if ($fn = get_component_fn('footer_component1', 'footer-copy-stat')) { require $fn; } if ($fn = get_component_fn('footer_component2')) { require $fn; } if ($fn = get_component_fn('footer_component3')) { require $fn; } if ($fn = get_component_fn('footer_component4')) { require $fn; } if ($fn = get_component_fn('footer_component5')) { require $fn; } } if (function_exists('ushka')) { echo ushka('footer-end'); } if ($fn = mso_fe('custom/footer-end.php')) { require $fn; } ?> </div></div><!-- /div.footer-wrap /div.footer --> </div></div><!-- /div.all-wrap /div.all --> <?php
<?php if (!defined('BASEPATH')) { exit('No direct script access allowed'); } // компоненты подвала // см. _header_components.php if ($fn = get_component_fn('default_footer_component1', 'footer-copyright.php')) { require $fn; } if ($fn = get_component_fn('default_footer_component2', 'footer-statistic.php')) { require $fn; }
<?php if (!defined('BASEPATH')) { exit('No direct script access allowed'); } // компоненты шапки if ($fn = get_component_fn('default_header_component1', 'logo-links.php')) { require $fn; } if ($fn = get_component_fn('default_header_component2', 'menu.php')) { require $fn; } if ($fn = get_component_fn('default_header_component3', 'image-slider.php')) { require $fn; } /* // либо явное подключение, без возможности выбора в админ-панели // нужно в my_options.ini скрыть опции БЛОКИ // [Первый блок шапки] // [Второй блок шапки] // [Третий блок шапки] // [Четвёртый блок шапки] // [Пятый блок шапки] // [Первый блок подвала] // [Второй блок подвала] // [Третий блок подвала] // [Четвёртый блок подвала] // [Пятый блок подвала] require(getinfo('template_dir') . 'components/logo-links.php'); require(getinfo('template_dir') . 'components/menu.php'); require(getinfo('template_dir') . 'components/image-slider.php');