コード例 #1
0
ファイル: main.php プロジェクト: rb2/MaxSite-CMS
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" -->
コード例 #2
0
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 
コード例 #3
0
<?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;
}
コード例 #4
0
<?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');