<?php
function joomlaposition_15() {
    $document = JFactory::getDocument();
    $view = $document->view;
    $isPreview  = $GLOBALS['theme_settings']['is_preview'];
    if (isset($GLOBALS['isModuleContentExists']) && false == $GLOBALS['isModuleContentExists'])
        $GLOBALS['isModuleContentExists'] = $view->containsModules('breadcrumbs') ? true : false;
?>
    <?php if ($isPreview || $view->containsModules('breadcrumbs')) : ?>

    <?php if ($isPreview && !$view->containsModules('breadcrumbs')) : ?>
    <!-- empty::begin -->
    <?php endif; ?>
    <div class=" bd-joomlaposition-15 clearfix" <?php echo buildDataPositionAttr('breadcrumbs'); ?>>
        <?php echo $view->position('breadcrumbs', 'block%joomlaposition_block_15', '15'); ?>
    </div>
    <?php if ($isPreview && !$view->containsModules('breadcrumbs')) : ?>
    <!-- empty::end -->
    <?php endif; ?>
    <?php endif; ?>
<?php
}