AlkantarClanX12

Your IP : 216.73.217.128


Current Path : /var/www/clients/client1/web1/web/sites/all/themes/hawell/tpl/
Upload File :
Current File : /var/www/clients/client1/web1/web/sites/all/themes/hawell/tpl/footer.tpl.php

<?php
    if (isset($node->field_footer_style) && !empty($node->field_footer_style))
    {
        $footer_style = $node->field_footer_style['und'][0]['value'];
    } else $footer_style = theme_get_setting('footer_style', 'hawell');
    if (empty($footer_style)) $footer_style = 'footer2';
    $footer_copyright = theme_get_setting('footer_copyright_message', 'hawell');
    $mapid = theme_get_setting('map_icon', 'hawell');
    if (!empty($mapid)) {
        $map_icon = file_create_url(file_load($mapid)->uri);
    } else $map_icon = base_path().path_to_theme().'/images/loc-marker.png';
    if (isset($node->field_header_style) && !empty($node->field_header_style))
    {
      $header_style = $node->field_header_style['und'][0]['value'];
    } elseif(!isset($node) && drupal_is_front_page() === FALSE) {
      $header_style = 'header3';
    } else $header_style = theme_get_setting('header_style', 'hawell');
    if (empty($header_style)) $header_style = 'header1';
    
?>
<!-- FOOTER 2 -->
<?php if ($footer_style == 'footer2') { ?>
<footer id="footer2" class="page-section pt-80 pb-50">
    <div class="container">
    <?php if ($page['footer']): ?>
        <div class="row">
        <?php print render($page['footer']); ?>
        </div>
    <?php endif; ?>    
        <div class="footer-2-copy-cont clearfix">
            <!-- Social Links -->
            <?php if ($page['footer_end_right']): ?>
            <?php print render($page['footer_end_right']); ?>
            <?php endif; ?>
            <!-- Copyright -->
            <?php if (!empty($footer_copyright)): ?>
            <div class="left">
                <?php print $footer_copyright; ?>
            </div>
            <?php endif; ?>
        </div>        
    </div>
</footer>
<?php } elseif ($footer_style == 'footer3') { ?>
<footer id="footer3" class="page-section pt-80 pb-50 footer2-black">
    <div class="container">
    <?php if ($page['footer']): ?>
        <div class="row">
        <?php print render($page['footer']); ?>
        </div>
    <?php endif; ?>    
        <div class="footer-2-copy-cont clearfix">
            <!-- Social Links -->
            <?php if ($page['footer_end_right']): ?>
            <?php print render($page['footer_end_right']); ?>
            <?php endif; ?>
            <!-- Copyright -->
            <?php if (!empty($footer_copyright)): ?>
            <div class="left">
                <?php print $footer_copyright; ?>
            </div>
            <?php endif; ?>
        </div>        
    </div>
</footer>
<?php } elseif ($footer_style == 'footer1') { ?>
<!-- FOOTER 1 -->
<footer id="footer1" class="page-section text-center pt-100-b-80-cont">
    <div class="container">        
        <!-- Social Links -->
        <?php if ($page['footer2']): ?>
            <?php print render($page['footer2']); ?>
        <?php endif; ?>
        <!-- Copyright -->
        <?php if (!empty($footer_copyright)): ?>
        <div class="footer-copy">
            <?php print $footer_copyright; ?>
        </div>
        <?php endif; ?>       
    </div>
</footer>
<?php } ?>
<input type="hidden" value="<?php print $map_icon; ?>" id="map-icon" />
<?php if ($header_style == 'header5') print '</div>'; ?><!-- End side content -->