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

<footer>

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

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

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

  <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('amaze_footer_information_links_block')->toHtml() ?>
  <div class="footer-column-last">
    <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('amaze_footer_contact_us')->toHtml() ?>
  </div> <!--footer-column-last-->
  <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('amaze_footer_links')->toHtml() ?>
</div> <!--inner-->



<!-- BEGIN SIMPLE FOOTER -->  
          <?php
          break;
      case 'simple' :
      default: ?>
     <div class="inner">
       <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('amaze_logo_brand_block')->toHtml() ?>
       <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('amaze_footer_links')->toHtml() ?>
     </div> <!--inner-->

     <?php  } ?> 

</div> <!--footer-->

</footer>

<div class="orange-slider">
  <div class="text alignleft"><?php echo $this->__('Need Help?') ?></div>
  <div class="icons">
    <a  class="show_hide" id="questionbox-side-phonebutton" href="javascript:void(0)"><i class="icon-phones"></i></a>
    <a class="show_hide1" id="questionbox-side-emailbutton" href="javascript:void(0)"><i style="font-size:20px" class="icon-email"></i></a> 
  </div> <!--icons-->
</div> <!--orange-slider-->

<div id="hideShow" style="text-align:left;display:none">
<div class="right-side-content hidden1">
   <!--Contact Static Block -->
   <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('amaze_rhs_contact_form_block')->toHtml() ?> 
   <a href="javascript:void(0)" id="hideDiv" class="slider-close"></a>
</div> <!--right-side-content hidden1-->
</div> <!--#hideShow-->

<!-- Contact Us Form -->
<?php echo $this->getChildHtml('contactForm') ?>

<script language=javascript type='text/javascript'>

jQuery('.show_hide').click(function(){
            jQuery("#hideShow").show(); 
            jQuery("#hideShow1").hide();
        });

jQuery('.show_hide1').click(function(){
            jQuery("#hideShow1").show();
            jQuery("#hideShow").hide(); 
        });

jQuery('#hideDiv').click(function(){
            jQuery("#hideShow").hide(); 
        });

jQuery('#hideDiv1').click(function(){
            jQuery("#hideShow1").hide(); 
        });

</script>



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