if (in_array($style['background-size'], array('length', 'percentage'))) { $style['background-size'] = ThemeOption::getOption('footer_top_background_image_size_2'); } } ?> <div class="theme-footer-top theme-clear-fix"<?php echo ThemeHelper::createStyleAttribute($style); ?> > <div class="theme-main <?php echo $layout; ?> "> <?php $WidgetArea->create($widgetAreaData, true); ?> </div> </div> <?php } if (ThemeOption::getGlobalOption($post, 'footer_bottom_enable') == 1) { $content = ThemeOption::getOption('footer_bottom_content'); if ($Validation->isNotEmpty($content)) { ?> <div class="theme-footer-bottom theme-clear-fix"> <div class="theme-main theme-clear-fix"> <?php echo do_shortcode($content); ?>
<?php echo $Page->displayHeader($fable_parentPost->post); $template = $Page->getCurrentTemplate(); if ($template == 'main.php') { ?> <div class="theme-page-content theme-clear-fix"> <?php } else { $WidgetArea = new ThemeWidgetArea(); $widgetAreaData = $WidgetArea->getWidgetAreaByPost($fable_parentPost->post, true, true); $class = $WidgetArea->getWidgetAreaCSSClass($widgetAreaData); ?> <div class="theme-page-content theme-clear-fix theme-main <?php echo $class; ?> "> <?php if ($widgetAreaData['location'] == 1) { ?> <div class="theme-column-left"><?php $WidgetArea->create($widgetAreaData); ?> </div> <div class="theme-column-right"> <?php } elseif ($widgetAreaData['location'] == 2) { ?> <div class="theme-column-left"> <?php } }