<?php $footer_type = Mage::getStoreConfig('roltasettings/roltasettings_appearance/footer'); ?>

<footer class="footer <?php echo $footer_type;?>">

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('rolta_logo_brand_block')->toHtml() ?>
<!-- BEGIN INFORMATIVE FOOTER -->  
  <?php switch ($footer_type) {
      case 'informative' :
          ?>
          <!-- BEGIN FOOTER CONTAINER -->  
<div class="footer-container">

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('rolta_footer_information_links_block')->toHtml() ?>

<div class="footer-column-4">
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('rolta_footer_contacts')->toHtml() ?>
</div><!--footer-column-4-->
</div> <!--footer-container-->
    <!-- BEGIN FOOTER-BOTTOM-LINK -->  
<div class="footer-bottom-link">
       <?php if (Mage::getStoreConfig('roltasettings/roltasettings_social/social_link')) { ?>
<ul class="link">

  <?php if (Mage::getStoreConfig('roltasettings/roltasettings_social/facebook_social_link')) {  ?>
          <li class="fb"><a  target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/facebook_social_link_path') ?>" title="<?php echo $this->__('Facebook');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/twitter_social_link')) {
        ?>
  <li class="tw"><a target="_blank" rel="nofollow"  href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/twitter_social_link_path') ?>" title="<?php echo $this->__('Twitter');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/googleplus_social_link')) {
        ?>
   <li class="googleplus"><a target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/googleplus_social_link_path') ?>" title="<?php echo $this->__('GooglePlus');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/rss_social_link')) {
        ?>
  <li class="rss"><a target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/rss_social_link_path') ?>" title="<?php echo $this->__('RSS');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/pinterest_social_link')) {
        ?>
  <li class="pintrest"><a target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/pinterest_social_link_path') ?>" title="<?php echo $this->__('PInterest');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/linkedin_social_link')) {
        ?>
   <li class="linkedin"><a  target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/linkedin_social_link_path') ?>" title="<?php echo $this->__('Linkedin');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/youtube_social_link')) {
        ?>
  <li class="youtube"><a target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/youtube_social_link_path') ?>" title="<?php echo $this->__('Youtube');?>"></a></li>
        <?php } ?>
</ul>
  <?php } ?>
   
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('rolta_footer_payment_block')->toHtml() ?>

</div><!--footer-bottom-link-->

<!-- BEGIN SIMPLE FOOTER -->  
          <?php
          break;
      case 'simple' :
      default: ?>
      <!-- BEGIN FOOTER BOTTOM LINK -->  
     <div class="footer-bottom-link">


       <?php if (Mage::getStoreConfig('roltasettings/roltasettings_social/social_link')) { ?>
<ul class="link">
  <?php if (Mage::getStoreConfig('roltasettings/roltasettings_social/facebook_social_link')) { ?>
          <li class="fb"><a  target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/facebook_social_link_path') ?>" title="<?php echo $this->__('Facebook');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/twitter_social_link')) {
        ?>
          <li class="tw"><a target="_blank" rel="nofollow"  href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/twitter_social_link_path') ?>" title="<?php echo $this->__('Twitter');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/googleplus_social_link')) {
        ?>
          <li class="googleplus"><a target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/googleplus_social_link_path') ?>" title="<?php echo $this->__('GooglePlus');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/rss_social_link')) {
        ?>
          <li class="rss"><a target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/rss_social_link_path') ?>" title="<?php echo $this->__('RSS');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/pinterest_social_link')) {
        ?>
          <li class="pintrest"><a target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/pinterest_social_link_path') ?>" title="<?php echo $this->__('PInterest');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/linkedin_social_link')) {
        ?>
          <li class="linkedin"><a  target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/linkedin_social_link_path') ?>" title="<?php echo $this->__('Linkedin');?>"></a></li>
        <?php } 
              if (Mage::getStoreConfig('roltasettings/roltasettings_social/youtube_social_link')) {
        ?>
          <li class="youtube"><a target="_blank" rel="nofollow" href="<?php echo Mage::getStoreConfig('roltasettings/roltasettings_social/youtube_social_link_path') ?>" title="<?php echo $this->__('Youtube');?>"></a></li>
        <?php } ?>
  <?php } ?>
    

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('rolta_footer_payment_block')->toHtml() ?>
<!-- BEGIN FOOTER TOP LINKS -->  
<div class="footer-top-link">
<?php echo $this->getChildHtml('footer_links'); ?>   
</div> <!--footer-top-link-->

</div><!--footer-bottom-link-->


     <?php     
  }
  ?> 

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('rolta_footer_links')->toHtml() ?>  
</footer> <!--footer-->


<?php if (Mage::getStoreConfig('roltasettings/roltasettings_footer/footer_google_analytics')): ?>
<?php echo Mage::getStoreConfig('roltasettings/roltasettings_footer/footer_google_analytics_path') ?>       
<?php endif; ?>
